[Bug target/83143] [SH]: Assembler messages: invalid operands (*UND* and .text sections) for `-'
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 26 10:37:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143
--- Comment #11 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to James Clarke from comment #10)
> (In reply to Segher Boessenkool from comment #9)
> > What flags does it need? I can't get it to fail.
>
> Just -O2 -fPIC, at least with 7.2.0.
That is, if your default configuration is sh4-linux. Otherwise you might need
to specify all the parameters. AFAIR it's -ml -m4 -matomic-model=soft-gusa
More information about the Gcc-bugs
mailing list