Stop generating GNU build notes for linkonce sections.
authorNick Clifton <nickc@redhat.com>
Mon, 14 May 2018 14:32:43 +0000 (15:32 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 14 May 2018 14:32:43 +0000 (15:32 +0100)
commit864bb26cb34ce6f0a85f83ed38757d5512d07b2a
tree8a40c86dd1c10eb27592f4dafcf7025597d92a1b
parentc3533c4c7c5db84b27e4dc8994a3c3a893077c03
Stop generating GNU build notes for linkonce sections.

gas * write.c (maybe_generate_build_notes): Generate notes on a
per-code-section basis.  Skip linkonce sections.

ld * testsuite/ld-elf/notes.exp: New file: Run new test.
* testsuite/ld-elf/note1_1.s: New file: Source file for test.
* testsuite/ld-elf/note1_2.s: New file: Source file for test.
* testsuite/ld-elf/note1.r: New file: Expected readelf output.
gas/ChangeLog
gas/write.c
ld/ChangeLog
ld/testsuite/ld-elf/note1.r [new file with mode: 0644]
ld/testsuite/ld-elf/note1_1.s [new file with mode: 0644]
ld/testsuite/ld-elf/note1_2.s [new file with mode: 0644]
ld/testsuite/ld-elf/notes.exp [new file with mode: 0644]