[PATCH 3/13] aarch64 musl support
authorGregor Richards <gregor.richards@uwaterloo.ca>
Wed, 27 May 2015 16:46:39 +0000 (16:46 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 27 May 2015 16:46:39 +0000 (16:46 +0000)
gcc/Changelog:

2015-05-27  Gregor Richards  <gregor.richards@uwaterloo.ca>
    Szabolcs Nagy  <szabolcs.nagy@arm.com>

* config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define.

Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
From-SVN: r223766

gcc/ChangeLog
gcc/config/aarch64/aarch64-linux.h

index 2dc1f57fb3d3907a5f2e3e7c2c6c4599b7bc168f..b0145285aae27a5f94b8924e69696406ac92d494 100644 (file)
@@ -1,3 +1,8 @@
+2015-05-27  Gregor Richards  <gregor.richards@uwaterloo.ca>
+           Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define.
+
 2015-05-27  Jason Merrill  <jason@redhat.com>
 
        PR bootstrap/66304
index ba7fc3b4d1d6619569359498f6c6b563e73a581b..1600a322b1c58b6b9b3ff1c1f79a79f0e29c4701 100644 (file)
@@ -23,6 +23,9 @@
 
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
 
+#undef MUSL_DYNAMIC_LINKER
+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
+
 #undef  ASAN_CC1_SPEC
 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"