Stop the GOLD linker from complaining about relocations from .gnu.build.attributes...
authorNick Clifton <nickc@redhat.com>
Tue, 7 Jul 2020 08:54:09 +0000 (09:54 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 7 Jul 2020 08:54:09 +0000 (09:54 +0100)
commit4ac3fa49965e32610c7c625b9bdc530fcceb14ea
tree2a7d3433b901c7d462813c1106213b2255026734
parent3c6e74ce51d9439c2697cfec508ce885ddae8f21
Stop the GOLD linker from complaining about relocations from .gnu.build.attributes sections to discarded code sections.

* target-reloc.h (Default_comdat_behaviour:get): Ignore discarded
relocs that refer to the .gnu.build.attributes section.
gold/ChangeLog
gold/target-reloc.h