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.
This commit is contained in:
Nick Clifton
2020-08-20 15:03:21 +01:00
parent 33bf4c5c10
commit 01147b2082
5 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2020-08-20 Nick Clifton <nickc@redhat.com>
PR 26428
* testsuite/ld-elf/zlibbegin.rS: Update expected output.
* testsuite/ld-elf/zlibnormal.rS: Likewise.
2020-08-16 Alan Modra <amodra@gmail.com>
* testsuite/ld-powerpc/inline.s,