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
This commit is contained in:
Ben Elliston 2009-03-28 23:31:35 +00:00 committed by Ben Elliston
parent 0be77bf246
commit 7fb0ee07b4
4 changed files with 11 additions and 3 deletions

View 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

View 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} \

View 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 | \

View 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