]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Mark section in a section group with SHF_GROUP
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2018 02:25:19 +0000 (19:25 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2018 02:25:33 +0000 (19:25 -0700)
commitbae363f1146378207e1dffe5f23845644a1d0b7a
tree4a32506a3801bae0dd35fceb32fe51300d95b753
parent75d74ccace05f6166a45dbaa352abf753891d3be
Mark section in a section group with SHF_GROUP

All sections in a section group should be marked with SHF_GROUP.  But
some tools generate broken objects without SHF_GROUP.  This patch fixes
them up for objcopy and strip.

PR binutils/23199
* elf.c (setup_group): Mark section in a section group with
SHF_GROUP.
bfd/ChangeLog
bfd/elf.c