This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Update rs6000 svr4 specs for --oformat



Newer versions of the linker can create an executable named 'format'
more easily.

Tested on powerpc-eabisim by running the gcc testsuite with
-mlittle-endian.

-- 
Geoff Keating <geoffk@redhat.com>

2001-02-10  Geoffrey Keating  <geoffk@redhat.com>

	* config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
	--oformat.
	* config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.

Index: config/rs6000/sysv4.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/sysv4.h,v
retrieving revision 1.42
diff -p -u -p -r1.42 sysv4.h
--- sysv4.h	2001/01/09 20:46:11	1.42
+++ sysv4.h	2001/02/10 09:27:21
@@ -1161,9 +1173,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.  */
Index: config/rs6000/sysv4le.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/sysv4le.h,v
retrieving revision 1.7
diff -p -u -p -r1.7 sysv4le.h
--- sysv4le.h	2000/04/05 01:22:36	1.7
+++ sysv4le.h	2001/02/10 09:27:21
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]