[Bug target/17828] -O2 -fPIC doesn't work with switches in linkonce functions and new binutils
amodra at bigpond dot net dot au
gcc-bugzilla@gcc.gnu.org
Tue Oct 5 11:32:00 GMT 2004
------- Additional Comments From amodra at bigpond dot net dot au 2004-10-05 11:32 -------
If we turn off this ld warning, then we lose sight of the fact that gcc does
have a bug here. gcc ought to be using linkonce for all sections emitted for a
given function if any section is linkonce (waiver granted for debug and other
sections that the linker edits).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17828
More information about the Gcc-bugs
mailing list