diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-23 19:37:13 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-23 19:37:13 +0800 |
commit | 26d3c43a349e4533600682679f1dc2b00f5c0337 (patch) | |
tree | fdbe0511f2a334942b12eaa48498a82e264cef8e /gcc-4.4.3 | |
parent | 20c5bf758150dcfc13af1fce22e20256d29e150a (diff) | |
download | toolchain_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.h | 4 |
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}" |