1 From: ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
2 Date: Fri, 15 May 2015 13:20:01 +0000 (+0000)
3 Subject: [PATCH 9/13] x86 musl support
4 X-Git-Url: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=5551c8d927c17f60837f15f8dfe46f945ba3fa9c
6 [PATCH 9/13] x86 musl support
8 On behalf of Szabolcs Nagy.
10 2015-05-15 Gregor Richards <gregor.richards@uwaterloo.ca>
12 * config/i386/linux.h (MUSL_DYNAMIC_LINKER): Define.
13 * config/i386/linux64.h (MUSL_DYNAMIC_LINKER32): Define.
14 (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32): Define.
17 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223218 138bc75d-0d04-0410-961f-82ee72b054a4
20 Index: b/gcc/config/i386/linux.h
21 ===================================================================
22 --- a/gcc/config/i386/linux.h
23 +++ b/gcc/config/i386/linux.h
26 #define GNU_USER_LINK_EMULATION "elf_i386"
27 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
29 +#undef MUSL_DYNAMIC_LINKER
30 +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
31 Index: b/gcc/config/i386/linux64.h
32 ===================================================================
33 --- a/gcc/config/i386/linux64.h
34 +++ b/gcc/config/i386/linux64.h
36 #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
37 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
38 #define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2"
40 +#undef MUSL_DYNAMIC_LINKER32
41 +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-i386.so.1"
42 +#undef MUSL_DYNAMIC_LINKER64
43 +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-x86_64.so.1"
44 +#undef MUSL_DYNAMIC_LINKERX32
45 +#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1"