sysv4.h (LINK_SPEC): Allow -msdata=none to override -G, and force -G0.
authorDJ Delorie <dj@redhat.com>
Mon, 29 Oct 2001 23:09:43 +0000 (18:09 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 29 Oct 2001 23:09:43 +0000 (18:09 -0500)
* config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
override -G, and force -G0.

From-SVN: r46622

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 320d411d89556d913ef5b5f494d9e0e56a79cf98..d264baf9d9fb6622329654e83eb346dbbc774567 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-26  DJ Delorie  <dj@redhat.com>
+
+       * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
+       override -G, and force -G0.
+
 2001-10-29  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
index 0a24cc30be4849d083a407d3c55d2189b9f2217f..882df2f4b79f24011a76cd52e6ca486a1de7c676 100644 (file)
@@ -1019,7 +1019,7 @@ do {                                              \
 /* Override svr4.h definition.  */
 #undef LINK_SPEC
 #define        LINK_SPEC "\
-%{h*} %{v:-V} %{G*} \
+%{h*} %{v:-V} %{!msdata=none:%{G*}} %{msdata=none:-G0} \
 %{YP,*} %{R*} \
 %{Qy:} %{!Qn:-Qy} \
 %(link_shlib) \