diff options
author | Ben Elliston <bje@au.ibm.com> | 2009-03-28 23:31:35 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2009-03-29 10:31:35 +1100 |
commit | 7fb0ee07b4a414ff79ddff2b257de634ed6c26c1 (patch) | |
tree | 731900fa84eeedea0eb73c49e37ce069bbf744d5 | |
parent | 0be77bf2469a8d0a2130d3b668a297aa2c0fa21e (diff) | |
download | gcc-7fb0ee07b4a414ff79ddff2b257de634ed6c26c1.zip gcc-7fb0ee07b4a414ff79ddff2b257de634ed6c26c1.tar.gz gcc-7fb0ee07b4a414ff79ddff2b257de634ed6c26c1.tar.bz2 |
re PR target/32542 (When -msdata is set, gcc sent -memb to gas.)
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
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/rs6000/linux64.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.opt | 3 |
4 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 955b7e8..46b5585 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 46cb876..ad2eb4b 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -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} \ diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 69ccb58..1deb0eb 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -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 | \ diff --git a/gcc/config/rs6000/sysv4.opt b/gcc/config/rs6000/sysv4.opt index 5de03b3..01b087d 100644 --- a/gcc/config/rs6000/sysv4.opt +++ b/gcc/config/rs6000/sysv4.opt @@ -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 |