diff options
author | Alan Modra <amodra@gmail.com> | 2014-03-12 10:33:26 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-03-12 10:33:26 +1030 |
commit | bbefd0a9264348d04783d3d374c2104ae468c799 (patch) | |
tree | b188f383d504038da256dea9a880f192f74a9928 /bfd/ChangeLog | |
parent | 32ed590d7eb359de7bf8da2e8fd3f43f1cfe0bcf (diff) | |
download | gdb-bbefd0a9264348d04783d3d374c2104ae468c799.zip gdb-bbefd0a9264348d04783d3d374c2104ae468c799.tar.gz gdb-bbefd0a9264348d04783d3d374c2104ae468c799.tar.bz2 |
objcopy/strip ELF program header p_vaddr confusion
copy_elf_program_header has logic to reject non-alloc sections when
calculating p_vaddr offset for padding, but blithely assumed the
first section in a segment was allocated.
PR 16690
* elf.c (copy_elf_program_header): Ignore first section lma if
non-alloc.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fd3135a..c9887c3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2014-03-12 Alan Modra <amodra@gmail.com> + + PR 16690 + * elf.c (copy_elf_program_header): Ignore first section lma if + non-alloc. + 2014-03-11 Alan Modra <amodra@gmail.com> PR 16686 |