diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f9d78092b6..920c9180c50 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-02-10 Geoffrey Keating + + * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for + --oformat. + * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise. + Fri Feb 9 15:05:27 2001 Christopher Faylor * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 8b2f59fd3b3..da2f0b7313a 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1161,9 +1161,9 @@ do { \ /* Override the default target of the linker. */ #define LINK_TARGET_SPEC "\ -%{mlittle: -oformat elf32-powerpcle } %{mlittle-endian: -oformat elf32-powerpcle } \ +%{mlittle: --oformat elf32-powerpcle } %{mlittle-endian: --oformat elf32-powerpcle } \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ - %{mcall-solaris: -oformat elf32-powerpcle} \ + %{mcall-solaris: --oformat elf32-powerpcle} \ }}}}" /* Any specific OS flags. */ diff --git a/gcc/config/rs6000/sysv4le.h b/gcc/config/rs6000/sysv4le.h index 09ec2f72bf6..1c0daeafbc7 100644 --- a/gcc/config/rs6000/sysv4le.h +++ b/gcc/config/rs6000/sysv4le.h @@ -31,9 +31,9 @@ Boston, MA 02111-1307, USA. */ #undef LINK_TARGET_SPEC #define LINK_TARGET_SPEC "\ -%{mbig: -oformat elf32-powerpc } %{mbig-endian: -oformat elf32-powerpc } \ +%{mbig: --oformat elf32-powerpc } %{mbig-endian: --oformat elf32-powerpc } \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ - %{mcall-linux: -oformat elf32-powerpc} \ + %{mcall-linux: --oformat elf32-powerpc} \ }}}}" /* Define this macro as a C expression for the initializer of an