public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Handle ELF compressed header alignment correctly by setting up the section alignment correctly for the Elf32_Chdr or Elf64_Chdr type and respect the ch_addralign field when decompressing the section data.
@ 2018-11-27 12:57 sergiodj+buildbot
  2018-11-27 12:58 ` Failures on Fedora-x86_64-cc-with-index, branch master sergiodj+buildbot
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2018-11-27 12:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4207142d6a5d2359170c5f9a140fc1a2351fbda9 ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 4207142d6a5d2359170c5f9a140fc1a2351fbda9

Handle ELF compressed header alignment correctly by setting up the section alignment correctly for the Elf32_Chdr or Elf64_Chdr type and respect the ch_addralign field when decompressing the section data.

	PR binutils/23919
binutils* readelf.c (dump_sections_as_strings): Remove bogus addralign check.
	(dump_sections_as_bytes): Likewise.
	(load_specific_debug_sections): Likewise.
	* testsuite/binutils-all/dw2-3.rS: Adjust alignment.
	* testsuite/binutils-all/dw2-3.rt: Likewise.

bfd	* bfd.c (bfd_update_compression_header): Explicitly set alignment.
	(bfd_check_compression_header): Add uncompressed_alignment_power
	argument. Check ch_addralign is a power of 2.
	* bfd-in2.h: Regenerated.
	* compress.c (bfd_compress_section_contents): Get and set
	orig_uncompressed_alignment_pow if section is decompressed.
	(bfd_is_section_compressed_with_header): Add and get
	uncompressed_align_pow_p argument.
	(bfd_is_section_compressed): Add uncompressed_align_power argument
	to bfd_is_section_compressed_with_header call.
	(bfd_init_section_decompress_status): Get and set
	uncompressed_alignment_power.
	* elf.c (_bfd_elf_make_section_from_shdr): Add
	uncompressed_align_power argument to
	bfd_is_section_compressed_with_header call.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-27 13:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 12:57 [binutils-gdb] Handle ELF compressed header alignment correctly by setting up the section alignment correctly for the Elf32_Chdr or Elf64_Chdr type and respect the ch_addralign field when decompressing the section data sergiodj+buildbot
2018-11-27 12:58 ` Failures on Fedora-x86_64-cc-with-index, branch master sergiodj+buildbot
2018-11-27 12:58 ` Failures on Fedora-i686, " sergiodj+buildbot
2018-11-27 13:35 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2018-11-27 13:42 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " sergiodj+buildbot
2018-11-27 13:44 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2018-11-27 14:03 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2018-11-27 14:10 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " sergiodj+buildbot
2018-11-27 14:11 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2018-11-27 14:39 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).