re PR target/32542 (When -msdata is set, gcc sent -memb to gas.)
authorBen Elliston <bje@au.ibm.com>
Sat, 28 Mar 2009 23:31:35 +0000 (23:31 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Sat, 28 Mar 2009 23:31:35 +0000 (10:31 +1100)
PR target/32542
* sysv4.opt (msdata): Improve comment.
* linux64.h (ASM_SPEC32): Do not pass -memb when -msdata is given.
* sysv4.h (SVR4_ASM_SPEC): Likewise.

From-SVN: r145214

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

index 955b7e8..46b5585 100644 (file)
@@ -1,5 +1,12 @@
 2009-03-29  Ben Elliston  <bje@au.ibm.com>
 
+       PR target/32542
+       * sysv4.opt (msdata): Improve comment.
+       * linux64.h (ASM_SPEC32): Do not pass -memb when -msdata is given.
+       * sysv4.h (SVR4_ASM_SPEC): Likewise.
+
+2009-03-29  Ben Elliston  <bje@au.ibm.com>
+
        PR target/30451
        * config/rs6000/rs6000.md (*movti_ppc64): Correct the order of
        load and store attributes.
index 46cb876..ad2eb4b 100644 (file)
@@ -152,7 +152,7 @@ extern int dot_symbols;
 
 #define ASM_SPEC32 "-a32 %{n} %{T} %{Ym,*} %{Yd,*} \
 %{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} \
-%{memb} %{!memb: %{msdata: -memb} %{msdata=eabi: -memb}} \
+%{memb} %{!memb: %{msdata=eabi: -memb}} \
 %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
     %{mcall-freebsd: -mbig} \
     %{mcall-i960-old: -mlittle} \
index 69ccb58..1deb0eb 100644 (file)
@@ -588,7 +588,7 @@ extern int fixuplabelno;
 %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \
 SVR4_ASM_SPEC \
 "%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
-%{memb|msdata|msdata=eabi: -memb} \
+%{memb|msdata=eabi: -memb} \
 %{mlittle|mlittle-endian:-mlittle; \
   mbig|mbig-endian      :-mbig;    \
   mcall-aixdesc |                 \
index 5de03b3..01b087d 100644 (file)
@@ -94,7 +94,8 @@ mregnames
 Target Mask(REGNAMES)
 Use alternate register names
 
-;; FIXME: Does nothing.
+;; This option does nothing and only exists because the compiler
+;; driver passes all -m* options through.
 msdata
 Target
 no description yet