re PR lto/82598 (lto debugobj lacks .note.GNU-stack)
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 Oct 2017 09:20:31 +0000 (11:20 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 Oct 2017 09:20:31 +0000 (11:20 +0200)
commitf8049c44b999c27e4573be61aebb3aeedfa0a471
tree32b58288db1646967f927fe5f8ad0201503115f1
parentac2bb5222b47c6d79372ecbc16da3b282792ea07
re PR lto/82598 (lto debugobj lacks .note.GNU-stack)

PR lto/82598
* simple-object.c (handle_lto_debug_sections): Copy over also
.note.GNU-stack section with unchanged name.
* simple-object-elf.c (SHF_EXECINSTR): Define.
(simple_object_elf_copy_lto_debug_section): Drop SHF_EXECINSTR bit
on .note.GNU-stack section.

From-SVN: r253851
libiberty/ChangeLog
libiberty/simple-object-elf.c
libiberty/simple-object.c