]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix incremental tests using gcc 9, which adds Gnu properties sections.
authorCary Coutant <ccoutant@gmail.com>
Sun, 13 Dec 2020 23:20:10 +0000 (15:20 -0800)
committerCary Coutant <ccoutant@gmail.com>
Sun, 13 Dec 2020 23:28:36 +0000 (15:28 -0800)
commit387a56a5435500ba2d2eac3fe76de1f400381cbe
tree04e13470335aa419b4e8a8201c3019e9de65ddf4
parentf12650bff1a591357c26e0ef6d7be0323f76fdb8
Fix incremental tests using gcc 9, which adds Gnu properties sections.

During an incremental link, we should simply ignore the Gnu properties
sections. We were not handling them properly -- failing to process the
properties from the base file. While that could be fixed, the property
sections are meant for deployed binaries, and incremental linking is
for development, so keeping the properties sections just adds to the
likelihood of forcing a full link sooner.

gold/
PR gold/23539
* object.cc (Sized_relobj_file::layout_gnu_property_section): Ignore
Gnu properties during incremental links.
gold/ChangeLog
gold/object.cc