Commit | Line | Data |
---|---|---|
98cc1d7b FF |
1 | From https://github.com/crystax/android-toolchain-gcc-5/commit/1e57465b9b81699ce8eb603dd4794a839a74c635 |
2 | ||
3 | diff -u -r ../gcc-5.3.0/gcc/config/aarch64/aarch64-linux.h ./gcc/config/aarch64/aarch64-linux.h | |
4 | --- ../gcc-5.3.0/gcc/config/aarch64/aarch64-linux.h 2015-07-24 12:00:26.000000000 -0400 | |
5 | +++ ./gcc/config/aarch64/aarch64-linux.h 2016-03-19 21:35:07.467502590 -0400 | |
6 | @@ -23,6 +23,12 @@ | |
7 | ||
8 | #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1" | |
9 | ||
10 | +/* Use /sysystem/bin/linker64 as linker instead of 32-bit /system/bin/linker */ | |
11 | +#ifdef BIONIC_DYNAMIC_LINKER | |
12 | +# undef BIONIC_DYNAMIC_LINKER | |
13 | +#endif | |
14 | +#define BIONIC_DYNAMIC_LINKER "/system/bin/linker64" | |
15 | + | |
16 | #undef ASAN_CC1_SPEC | |
17 | #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" | |
18 |