1From ed098c9068adbfddfe031298ded520fb0a1d117a Mon Sep 17 00:00:00 2001 2From: Mark D Horn <mark.d.horn@intel.com> 3Date: Wed, 13 Jul 2011 16:07:35 -0700 4Subject: Use the correct CRT files with -shared link option 5 6Change-Id: I5f9b28cc3bcf7d3a0ead9777d26b563ff6e82760 7Signed-off-by: Mark D Horn <mark.d.horn@intel.com> 8--- 9 gcc-4.4.3/gcc/config/linux-android.h | 4 ++-- 10 1 files changed, 2 insertions(+), 2 deletions(-) 11 12diff --git a/gcc-4.4.3/gcc/config/linux-android.h b/gcc-4.4.3/gcc/config/linux-android.h 13index 1c8ee50..380c0ca 100644 14--- a/gcc-4.4.3/gcc/config/linux-android.h 15+++ b/gcc-4.4.3/gcc/config/linux-android.h 16@@ -54,7 +54,7 @@ 17 18 #define ANDROID_STARTFILE_SPEC \ 19 "%{!shared:" \ 20- " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s}}" 21+ " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s};: crtbegin_so%O%s}" 22 23 #define ANDROID_ENDFILE_SPEC \ 24- "%{!shared: crtend_android%O%s}" 25+ "%{!shared: crtend_android%O%s;: crtend_so%O%s}" 26-- 271.7.6.rc0 28 29