aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-10-23 19:37:13 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-10-23 19:37:13 +0800
commit26d3c43a349e4533600682679f1dc2b00f5c0337 (patch)
treefdbe0511f2a334942b12eaa48498a82e264cef8e /gcc-4.4.3
parent20c5bf758150dcfc13af1fce22e20256d29e150a (diff)
downloadtoolchain_gcc-26d3c43a349e4533600682679f1dc2b00f5c0337.tar.gz
toolchain_gcc-26d3c43a349e4533600682679f1dc2b00f5c0337.tar.bz2
toolchain_gcc-26d3c43a349e4533600682679f1dc2b00f5c0337.zip
Use the correct CRT files with shared link option
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/ gcc/0005-Use-the-correct-CRT-files-with-shared-link-option.patch Change-Id: I6d46e8e7eb8f72b40319694531dd88cf6a327b3f
Diffstat (limited to 'gcc-4.4.3')
-rw-r--r--gcc-4.4.3/gcc/config/linux-android.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.4.3/gcc/config/linux-android.h b/gcc-4.4.3/gcc/config/linux-android.h
index 5ca3858a2..8184bf90f 100644
--- a/gcc-4.4.3/gcc/config/linux-android.h
+++ b/gcc-4.4.3/gcc/config/linux-android.h
@@ -54,7 +54,7 @@
#define ANDROID_STARTFILE_SPEC \
"%{!shared:" \
- " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s}}"
+ " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s};: crtbegin_so%O%s}"
#define ANDROID_ENDFILE_SPEC \
- "%{!shared: crtend_android%O%s}"
+ "%{!shared: crtend_android%O%s;: crtend_so%O%s}"