]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 955b7e8bdea92343d1591c0b67a460dc4c18ac0e..46b558506c2f3b7073368b03ec474f5f74b91f5a 100644 (file)
@@ -1,3 +1,10 @@
+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
index 46cb876ed2dfbe32b0f9a5e830c34ea13333a2b7..ad2eb4b7fea99076a91b9d29febd6b9d51e0f07d 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 69ccb58a1ffab8f3a9e2e037dd720d9c11c7495b..1deb0eb8cfd4ed5312197fd0aaa1df75d582f411 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 5de03b34a847b0e6c5dc6c07d207b6d6d2c60ea2..01b087dedcf302a20a507cbc897c37dc38b77ebf 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