This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/32542] When -msdata is set, gcc sent -memb to gas.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]