* PATCH, rs6000: fix PR target/32542
@ 2009-03-23 7:01 Ben Elliston
2009-03-23 18:50 ` David Edelsohn
0 siblings, 1 reply; 2+ messages in thread
From: Ben Elliston @ 2009-03-23 7:01 UTC (permalink / raw)
To: gcc-patches; +Cc: dje.gcc
This patch fixes PR target/32542. Tested with a bootstrap and
regression test run on powerpc-linux. Okay for the trunk, once we're in
stage 1?
Thanks, Ben
2009-03-23 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.
Index: sysv4.opt
===================================================================
--- sysv4.opt (revision 145000)
+++ sysv4.opt (working copy)
@@ -94,7 +94,8 @@
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
Index: linux64.h
===================================================================
--- linux64.h (revision 145000)
+++ linux64.h (working copy)
@@ -152,7 +152,7 @@
#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: sysv4.h
===================================================================
--- sysv4.h (revision 145000)
+++ sysv4.h (working copy)
@@ -588,7 +588,7 @@
%{,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 | \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH, rs6000: fix PR target/32542
2009-03-23 7:01 PATCH, rs6000: fix PR target/32542 Ben Elliston
@ 2009-03-23 18:50 ` David Edelsohn
0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2009-03-23 18:50 UTC (permalink / raw)
To: Ben Elliston; +Cc: gcc-patches
On Sun, Mar 22, 2009 at 11:45 PM, Ben Elliston <bje@au1.ibm.com> wrote:
> This patch fixes PR target/32542. Tested with a bootstrap and
> regression test run on powerpc-linux. Okay for the trunk, once we're in
> stage 1?
>
> Thanks, Ben
>
> 2009-03-23 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.
Okay.
Thanks, David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-23 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 7:01 PATCH, rs6000: fix PR target/32542 Ben Elliston
2009-03-23 18:50 ` David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).