(LINK_SPEC): Fix last change.

From-SVN: r14438
This commit is contained in:
Richard Kenner 1997-07-14 08:10:11 -04:00
parent 1c988fb7c5
commit e91bc805f4

View File

@ -150,14 +150,14 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#ifdef USE_GNULIBC_1 #ifdef USE_GNULIBC_1
#ifndef LINUX_DEFAULT_ELF #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: \ %{!shared:%{!symbolic: \
%{!static: \ %{!static: \
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
%{!dynamic-linker*:-dynamic-linker /lib/elf/ld-linux.so.1} \ %{!dynamic-linker*:-dynamic-linker /lib/elf/ld-linux.so.1} \
%{!rpath*:-rpath /lib/elf/}} %{static}}}" %{!rpath*:-rpath /lib/elf/}} %{static}}}"
#else #else
#define LINK_SPEC "-m m68kelf %{shared:-shared} %{symbolic:-shared -Bsymbolic} \ #define LINK_SPEC "-m m68kelf %{shared} %{symbolic:-shared -Bsymbolic} \
%{!shared:%{!symbolic: \ %{!shared:%{!symbolic: \
%{!static: \ %{!static: \
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
@ -165,11 +165,12 @@ Boston, MA 02111-1307, USA. */
%{static}}}" %{static}}}"
#endif #endif
#else #else
#define LINK_SPEC "-m m68kelf %{shared:-shared} %{symbolic:-shared -Bsymbolic} \ #define LINK_SPEC "-m m68kelf %{shared} \
%{!shared:%{!symbolic: \ %{!shared: \
%{!static: \ %{!static: \
%{rdynamic:-export-dynamic}} \ %{rdynamic:-export-dynamic} \
%{static}}}" %{!dynamic-linker*:-dynamic-linker /lib/ld.so.1}} \
%{static}}"
#endif #endif
/* For compatibility with linux/a.out */ /* For compatibility with linux/a.out */