Hi all, this patch fixes bootstrap for my powerpc*-unknown-freebsd* targets. The definition of GNU_USER_DYNAMIC_LINKER was recently moved to linux.h.
But the GNU_USER_DYNAMIC_LINKER is still used in rs6000/sysv4.h. So I add an empty definition with guard to cure the bootstrap issue. Ok for trunk? TIA, Andreas 2018-12-12 Andreas Tobler <andre...@gcc.gnu.org> * config/rs6000/sysv4.h: Add an empty definition for GNU_USER_DYNAMIC_LINKER for all targets which do not include linux.h where GNU_USER_DYNAMIC_LINKER is defined. Index: sysv4.h =================================================================== --- sysv4.h (revision 267063) +++ sysv4.h (working copy) @@ -761,6 +761,9 @@ #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 "" +#endif #define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \ %{rdynamic:-export-dynamic} \ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}"