This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 9/13] x86 musl support
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Gregor Richards <gregor dot richards at uwaterloo dot ca>, Rich Felker <dalias at libc dot org>, Szabolcs Nagy <nsz at port70 dot net>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Fri, 15 May 2015 14:43:25 +0200
- Subject: Re: [PATCH 9/13] x86 musl support
- Authentication-results: sourceware.org; auth=none
- References: <55354A4A dot 4060702 at arm dot com> <55354C0D dot 8030902 at arm dot com> <553E4D2C dot 80400 at arm dot com> <5555E79A dot 6030705 at arm dot com>
On Fri, May 15, 2015 at 2:33 PM, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> On 27/04/15 15:52, Szabolcs Nagy wrote:
>> On 20/04/15 19:57, Szabolcs Nagy wrote:
>>> Set up dynamic linker name for x86.
>>>
>> Patch v2.
>>
>> (undef MUSL_DYNAMIC_LINKER* before defining it).
>
> ping
>
> (now with maintainers in cc)
>
>> gcc/Changelog:
>>
>> 2015-04-27 Gregor Richards <gregor.richards@uwaterloo.ca>
>>
>> * config/i386/linux.h (MUSL_DYNAMIC_LINKER): Define.
>> * config/i386/linux64.h (MUSL_DYNAMIC_LINKER32): Define.
>> (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32): Define.
OK with a small nit below.
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
index a100963..9c47fcb 100644
--- a/gcc/config/i386/linux.h
+++ b/gcc/config/i386/linux.h
@@ -21,3 +21,5 @@ along with GCC; see the file COPYING3. If not see
#define GNU_USER_LINK_EMULATION "elf_i386"
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
Please add vertical space here.
+#undef MUSL_DYNAMIC_LINKER
+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
Thanks,
Uros.