diff options
author | Alan Modra <amodra@gmail.com> | 2012-07-03 05:47:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-07-03 05:47:35 +0000 |
commit | 3146fac42836137f284d541266ece045d56b5895 (patch) | |
tree | 50a09c8b2f6b613afeef7cee8e49b266351c500e /bfd/ChangeLog | |
parent | 3da732519bf1fe8ccacbd68d2f5ebae23ad8546d (diff) | |
download | gdb-3146fac42836137f284d541266ece045d56b5895.zip gdb-3146fac42836137f284d541266ece045d56b5895.tar.gz gdb-3146fac42836137f284d541266ece045d56b5895.tar.bz2 |
PR ld/14207
* elf.c (assign_file_positions_for_load_sections): Remove assertions
that only PT_LOAD headers include file header and section headers.
(assign_file_positions_for_non_load_sections): Similarly don't
assert PT_GNU_RELRO header does not include file and section headers.
Compare first section vma rather than PT_LOAD p_vaddr against
relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace
abort with assertion.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b594c66..fc9c386 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +2012-07-03 Alan Modra <amodra@gmail.com> + + PR ld/14207 + * elf.c (assign_file_positions_for_load_sections): Remove assertions + that only PT_LOAD headers include file header and section headers. + (assign_file_positions_for_non_load_sections): Similarly don't + assert PT_GNU_RELRO header does not include file and section headers. + Compare first section vma rather than PT_LOAD p_vaddr against + relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace + abort with assertion. + 2012-07-02 Alan Modra <amodra@gmail.com> * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section |