[Bug target/66609] [sh] Relative address expressions bind at as-time, even if symbol is weak
bugdal at aerifal dot cx
gcc-bugzilla@gcc.gnu.org
Mon Nov 2 15:47:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66609
--- Comment #11 from Rich Felker <bugdal at aerifal dot cx> ---
FYI a workaround for this and similar bugs, for users who are unable to
upgrade, is to always use -ffunction-sections -fdata-sections. This inhibits
the assembler's "optimization" differences between symbols simply because
cross-section differences are never constant.
More information about the Gcc-bugs
mailing list