This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32542] When -msdata is set, gcc sent -memb to gas.
- From: "bje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2009 22:11:56 -0000
- Subject: [Bug target/32542] When -msdata is set, gcc sent -memb to gas.
- References: <bug-32542-1611@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bje at gcc dot gnu dot org 2009-03-18 22:11 -------
Invoking gcc with every possible argument to -msdata, I see:
eabi
"./as" "-mppc" "-many" "-Qy" "-memb" "-o" "foo.o" "/tmp/ccVvv3TA.s"
sysv
"./as" "-mppc" "-many" "-Qy" "-o" "foo.o" "/tmp/ccdORyjE.s"
default
"./as" "-mppc" "-many" "-Qy" "-o" "foo.o" "/tmp/ccF1e9nC.s"
data
"./as" "-mppc" "-many" "-Qy" "-o" "foo.o" "/tmp/ccxu9bXC.s"
none
"./as" "-mppc" "-many" "-Qy" "-o" "foo.o" "/tmp/ccrsxKQF.s"
These all look correct. The bare -msdata option produces:
"./as" "-mppc" "-many" "-Qy" "-memb" "-o" "foo.o" "/tmp/ccdImACc.s"
I don't think it should be passing -memb on a GNU/Linux system by default.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32542