PR 6494
commit24c9cf8e98e0a0ffb3bbbe0a4375fb8f33e086e3
authorAlan Modra <amodra@bigpond.net.au>
Thu, 26 Mar 2009 12:23:52 +0000 (26 12:23 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 26 Mar 2009 12:23:52 +0000 (26 12:23 +0000)
tree81427cffafafc10bc6e2afb292315b5c10e32fb2
parentfe576f65df78929f4c7ff69f0c0db964932e5c02
PR 6494
* elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO
p_filesz and p_memsz are equal.  Use p_memsz as the segment size.
(assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO
if we don't find matching PT_LOAD when copying.
bfd/ChangeLog
bfd/elf.c