* 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.
This commit is contained in:
Nathan Sidwell
2006-12-19 08:49:38 +00:00
parent a4b117829f
commit 94f3d96815
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2006-12-19 Nathan Sidwell <nathan@codesourcery.com>
* internal.h (struct elf_segment_map): Add p_vaddr_offset field.
2006-12-07 Kazu Hirata <kazu@codesourcery.com>
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,