1 From ed098c9068adbfddfe031298ded520fb0a1d117a Mon Sep 17 00:00:00 2001 2 From: Mark D Horn <mark.d.horn (a] intel.com> 3 Date: Wed, 13 Jul 2011 16:07:35 -0700 4 Subject: Use the correct CRT files with -shared link option 5 6 Change-Id: I5f9b28cc3bcf7d3a0ead9777d26b563ff6e82760 7 Signed-off-by: Mark D Horn <mark.d.horn (a] intel.com> 8 --- 9 gcc-4.4.3/gcc/config/linux-android.h | 4 ++-- 10 1 files changed, 2 insertions(+), 2 deletions(-) 11 12 diff --git a/gcc-4.4.3/gcc/config/linux-android.h b/gcc-4.4.3/gcc/config/linux-android.h 13 index 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 -- 27 1.7.6.rc0 28 29