From e91bc805f49b464294f5f324558fe46552590a3f Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 14 Jul 1997 08:10:11 -0400 Subject: [PATCH] (LINK_SPEC): Fix last change. From-SVN: r14438 --- gcc/config/m68k/linux.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 6110fc35a5d..0ebc5f1ca71 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -150,14 +150,14 @@ Boston, MA 02111-1307, USA. */ #undef LINK_SPEC #ifdef USE_GNULIBC_1 #ifndef LINUX_DEFAULT_ELF -#define LINK_SPEC "-m m68kelf %{shared:-shared} %{symbolic:-shared -Bsymbolic} \ +#define LINK_SPEC "-m m68kelf %{shared} %{symbolic:-shared -Bsymbolic} \ %{!shared:%{!symbolic: \ %{!static: \ %{rdynamic:-export-dynamic} \ %{!dynamic-linker*:-dynamic-linker /lib/elf/ld-linux.so.1} \ %{!rpath*:-rpath /lib/elf/}} %{static}}}" #else -#define LINK_SPEC "-m m68kelf %{shared:-shared} %{symbolic:-shared -Bsymbolic} \ +#define LINK_SPEC "-m m68kelf %{shared} %{symbolic:-shared -Bsymbolic} \ %{!shared:%{!symbolic: \ %{!static: \ %{rdynamic:-export-dynamic} \ @@ -165,11 +165,12 @@ Boston, MA 02111-1307, USA. */ %{static}}}" #endif #else -#define LINK_SPEC "-m m68kelf %{shared:-shared} %{symbolic:-shared -Bsymbolic} \ - %{!shared:%{!symbolic: \ +#define LINK_SPEC "-m m68kelf %{shared} \ + %{!shared: \ %{!static: \ - %{rdynamic:-export-dynamic}} \ - %{static}}}" + %{rdynamic:-export-dynamic} \ + %{!dynamic-linker*:-dynamic-linker /lib/ld.so.1}} \ + %{static}}" #endif /* For compatibility with linux/a.out */ -- 2.30.2