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 lto/86175] LTO code generator does not respect ld -u option to force symbol inclusion in the link product


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.

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