]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Ensure that compressed sections that have an ELF compression header structure at...
authorNick Clifton <nickc@redhat.com>
Thu, 20 Aug 2020 14:03:21 +0000 (15:03 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 20 Aug 2020 14:03:21 +0000 (15:03 +0100)
commit01147b208215ae457e7ef2d5a105c9dac93d955a
treefbc5c694550b48165a1c707154633794a660bcc9
parent33bf4c5c10d246543c7a9a8ba4bbbe173d7f3367
Ensure that compressed sections that have an ELF compression header structure at the start are correctly aligned.

PR 26428
bfd * bfd.c (bfd_update_compression_header): Also set the sh_addralign
field in the ELF header of the compressed sections.

ld * testsuite/ld-elf/zlibbegin.rS: Update expected output.
* testsuite/ld-elf/zlibnormal.rS: Likewise.
bfd/ChangeLog
bfd/bfd.c
ld/ChangeLog
ld/testsuite/ld-elf/zlibbegin.rS
ld/testsuite/ld-elf/zlibnormal.rS