[PATCH] Fix detection of missing plugin for LTO objects.
Martin Liška
mliska@suse.cz
Mon Aug 12 10:02:00 GMT 2019
Hello.
The patch is fix for:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91376
Patch is tested on x86_64-linux-gnu and GCC's lto.exp tests for
fine with both BFD and GOLD.
Ready for master?
Thanks,
Martin
bfd/ChangeLog:
2019-08-12 Martin Liska <mliska@suse.cz>
* elflink.c: Report error only for not relocatable.
* linker.c (_bfd_generic_link_add_one_symbol): Do not handle
here lto_slim_object as it's handled in caller.
gold/ChangeLog:
2019-08-12 Martin Liska <mliska@suse.cz>
* object.cc (big_endian>::do_layout): Do not report error,
but only set a flag.
(big_endian>::do_add_symbols): Report error only for when
relocatable.
---
bfd/elflink.c | 3 ++-
bfd/linker.c | 24 ++++++------------------
gold/object.cc | 6 +++---
3 files changed, 11 insertions(+), 22 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-detection-of-missing-plugin-for-LTO-objects.patch
Type: text/x-patch
Size: 2354 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190812/c36786ea/attachment.bin>
More information about the Binutils
mailing list