bfd/
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)
commit3271a81418b2396c04dc040163a579cddcd23e2e
treefdf3023b1cd22b459db1f2dc0308fb3c3e2a7600
parentf6fe8b45149d111b23f3434c3d67dfa80e273cbe
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