From: Alan Modra Date: Thu, 20 Dec 2018 01:08:14 +0000 (+1030) Subject: [RS6000] Fix non-linux powerpc breakage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59faa32efd1416d7f27ee3798c0c8c94583310de;p=gcc.git [RS6000] Fix non-linux powerpc breakage svn r266496, git commit ab6b1bb456f broke non-linux powerpc builds due to GNU_USER_DYNAMIC_LINKER being undefined. * config/rs6000/sysv4.h (GNU_USER_DYNAMIC_LINKER): Define. From-SVN: r267292 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fcc7bb0e9ff..b1eed3b2c63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-12-20 Alan Modra + + * config/rs6000/sysv4.h (GNU_USER_DYNAMIC_LINKER): Define. + 2018-12-19 Andreas Tobler * config.gcc: Enable TARGET_DEFAULT_ASYNC_UNWIND_TABLES on diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 0d84f4f3f57..598da25269e 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -761,6 +761,10 @@ GNU_USER_TARGET_CC1_SPEC #define MUSL_DYNAMIC_LINKER \ "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1" +#ifndef GNU_USER_DYNAMIC_LINKER +#define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER +#endif + #define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \ %{rdynamic:-export-dynamic} \ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}"