microblaze musl support
* config/microblaze/linux.h (MUSL_DYNAMIC_LINKER): Define. (DYNAMIC_LINKER): Renamed to ... (GLIBC_DYNAMIC_LINKER): This. (SUBTARGET_EXTRA_SPECS): Use GNU_USER_DYNAMIC_LINKER. Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com> From-SVN: r228850
This commit is contained in:
parent
17a44a82ed
commit
9418279db6
|
@ -1,3 +1,11 @@
|
|||
2015-10-15 Gregor Richards <gregor.richards@uwaterloo.ca>
|
||||
Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||||
|
||||
* config/microblaze/linux.h (MUSL_DYNAMIC_LINKER): Define.
|
||||
(DYNAMIC_LINKER): Renamed to ...
|
||||
(GLIBC_DYNAMIC_LINKER): This.
|
||||
(SUBTARGET_EXTRA_SPECS): Use GNU_USER_DYNAMIC_LINKER.
|
||||
|
||||
2015-10-15 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* tree-ssa-reassoc.c (attempt_builtin_copysign): Call
|
||||
|
|
|
@ -28,10 +28,20 @@
|
|||
#undef TLS_NEEDS_GOT
|
||||
#define TLS_NEEDS_GOT 1
|
||||
|
||||
#define DYNAMIC_LINKER "/lib/ld.so.1"
|
||||
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
|
||||
|
||||
#if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
|
||||
#define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:;:el}"
|
||||
#else
|
||||
#define MUSL_DYNAMIC_LINKER_E "%{mlittle-endian:el}"
|
||||
#endif
|
||||
|
||||
#undef MUSL_DYNAMIC_LINKER
|
||||
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-microblaze" MUSL_DYNAMIC_LINKER_E ".so.1"
|
||||
|
||||
#undef SUBTARGET_EXTRA_SPECS
|
||||
#define SUBTARGET_EXTRA_SPECS \
|
||||
{ "dynamic_linker", DYNAMIC_LINKER }
|
||||
{ "dynamic_linker", GNU_USER_DYNAMIC_LINKER }
|
||||
|
||||
#undef LINK_SPEC
|
||||
#define LINK_SPEC "%{shared:-shared} \
|
||||
|
|
Loading…
Reference in New Issue