From b6840fb7da103cb5b722b50e5fc681b573bd8030 Mon Sep 17 00:00:00 2001 From: Gregor Richards Date: Wed, 27 May 2015 16:46:39 +0000 Subject: [PATCH] [PATCH 3/13] aarch64 musl support gcc/Changelog: 2015-05-27 Gregor Richards Szabolcs Nagy * config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define. Co-Authored-By: Szabolcs Nagy From-SVN: r223766 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64-linux.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2dc1f57fb3d..b0145285aae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-27 Gregor Richards + Szabolcs Nagy + + * config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define. + 2015-05-27 Jason Merrill PR bootstrap/66304 diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h index ba7fc3b4d1d..1600a322b1c 100644 --- a/gcc/config/aarch64/aarch64-linux.h +++ b/gcc/config/aarch64/aarch64-linux.h @@ -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}" -- 2.30.2