* config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2001 23:09:43 +0000 (23:09 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2001 23:09:43 +0000 (23:09 +0000)
override -G, and force -G0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46622 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 320d411..d264baf 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 0a24cc3..882df2f 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) \