This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/3] ELF: Group PT_NOTE segments by section alignments
On Wed, Oct 03, 2018 at 05:55:19AM -0700, H.J. Lu wrote:
> PR ld/23658
> * elf.c (get_program_header_size): Put all adjacent SHT_NOTE
> sections with the same section alignment into a single PT_NOTE
> segment. Check SHT_NOTE section type instead of section name.
> (_bfd_elf_map_sections_to_segments): Likewise.
This patch caused a PT_NOTE header to be dropped in the following tests:
spu-elf +FAIL: ld-spu/ovl
spu-elf +FAIL: ld-spu/ovl2
--
Alan Modra
Australia Development Lab, IBM