[Bug lto/86175] LTO code generator does not respect ld -u option to force symbol inclusion in the link product

zenith432 at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Thu Jun 21 14:22:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86175

--- Comment #5 from zenith432 at users dot sourceforge.net ---
This is a bug in ld.bfd.  It's setting the resolution for entry symbols to
LDPR_PREVAILING_DEF_IRONLY_EXP instead of LDPR_PREVAILING_DEF.  gold handles
them right.

I posted a patch in the sourceware bugzilla linked above at comment 3.


More information about the Gcc-bugs mailing list