PR 6494
authorAlan Modra <amodra@gmail.com>
Thu, 26 Mar 2009 12:23:52 +0000 (12:23 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 26 Mar 2009 12:23:52 +0000 (12:23 +0000)
commit9433b9b16e7594666f99dcfe80e4718a3118c385
tree9cb256eebf515f56df99f8014d014208e64ececf
parent0cc9e1d3850f3318a73d5258d018d3a7886afd31
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