bfd/
commit7ce4fc895c058c6c6909489341a384b7b53e4954
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 19 Dec 2006 08:49:38 +0000 (19 08:49 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 19 Dec 2006 08:49:38 +0000 (19 08:49 +0000)
tree2d99f5bcc5db49d9f73f439f2bcc0ca8cad22136
parent616bb4006a261029fb146c05ae23212a1c59130b
bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
by p_vaddr_offset.  Copy alignment & use if it is valid.
(rewrite_elf_program_headers): Cope with leading padding in a
segment that does not contain file or program headers.
(copy_elf_program_header): Likewise.

include/elf/
* internal.h (struct elf_segment_map): Add p_vaddr_offset field.
bfd/ChangeLog
bfd/elf.c
include/elf/ChangeLog
include/elf/internal.h