]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Clear SHF_COMPRESSED flag bit from input to output
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jul 2015 17:14:26 +0000 (10:14 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jul 2015 17:14:35 +0000 (10:14 -0700)
commitf54f5e31ce1270a1e9441348d6f2ea2426352478
treedffa1a2be78618248f313b59bbbbed363917273d
parenta3b5281eb93f986e9865a099c554156c40e4a686
Clear SHF_COMPRESSED flag bit from input to output

For relocatable link, we should clear the SHF_COMPRESSED flag bit from
input group section.

PR gold/18689
* layout.cc (Layout::layout): Clear the SHF_COMPRESSED flag bit
from input group section for relocatable link.
* testsuite/Makefile.am (check_SCRIPTS): Add pr18689.sh.
(check_DATA): Add pr18689.stdout.
(MOSTLYCLEANFILES): Add pr18689a.o pr18689b.o.
(pr18689.stdout): New rule.
(pr18689a.o): Likewise.
(pr18689b.o): Likewise.
(pr18689.o): Likewise.
* testsuite/pr18689.c: New file.
* testsuite/pr18689.sh: Likewise.
* testsuite/Makefile.in: Regenerated.
gold/ChangeLog
gold/layout.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/pr18689.c [new file with mode: 0644]
gold/testsuite/pr18689.sh [new file with mode: 0755]