diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-07-14 08:10:11 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-07-14 08:10:11 -0400 |
commit | e91bc805f49b464294f5f324558fe46552590a3f (patch) | |
tree | 846ada41a9be3636959d83d6630dbb691c49bae2 | |
parent | 1c988fb7c51720e67ca9308dd350ef15314f1cd5 (diff) | |
download | gcc-e91bc805f49b464294f5f324558fe46552590a3f.zip gcc-e91bc805f49b464294f5f324558fe46552590a3f.tar.gz gcc-e91bc805f49b464294f5f324558fe46552590a3f.tar.bz2 |
(LINK_SPEC): Fix last change.
From-SVN: r14438
-rw-r--r-- | gcc/config/m68k/linux.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 6110fc3..0ebc5f1 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 */ |