diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-11-18 12:00:45 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@gcc.gnu.org> | 2019-11-18 12:00:45 +0000 |
commit | 3d6d8099b639b13760cab58720136a438ff68f0a (patch) | |
tree | 40d83620c7a10aa2d6be6b6534a4552557eb4b38 | |
parent | 342ae9ad5517d74e7b2a87beeea15ac139ada0fe (diff) | |
download | gcc-3d6d8099b639b13760cab58720136a438ff68f0a.zip gcc-3d6d8099b639b13760cab58720136a438ff68f0a.tar.gz gcc-3d6d8099b639b13760cab58720136a438ff68f0a.tar.bz2 |
s390: add musl support
Add the musl dynamic linker names.
gcc/ChangeLog:
2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/s390/linux.h (MUSL_DYNAMIC_LINKER32): Define.
(MUSL_DYNAMIC_LINKER64): Define.
From-SVN: r278397
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/s390/linux.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 846506b..984527e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com> + + * config/s390/linux.h (MUSL_DYNAMIC_LINKER32): Define. + (MUSL_DYNAMIC_LINKER64): Define. + 2019-11-18 Martin Liska <mliska@suse.cz> * dbgcnt.c (dbg_cnt_set_limit_by_name): Provide error diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h index f76986a..5f6b704 100644 --- a/gcc/config/s390/linux.h +++ b/gcc/config/s390/linux.h @@ -75,6 +75,9 @@ along with GCC; see the file COPYING3. If not see #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" #define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" +#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-s390.so.1" +#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-s390x.so.1" + #undef LINK_SPEC #define LINK_SPEC \ "%{m31:-m elf_s390}%{m64:-m elf64_s390} \ |