diff options
author | Alan Modra <amodra@gmail.com> | 2007-05-02 13:44:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-05-02 13:44:37 +0000 |
commit | 627b32bcf9eadc335b8c07f7cf8ea7155ef15fbd (patch) | |
tree | d5699c6c907692bc6530872e60fc2e3564792f80 /bfd/ChangeLog | |
parent | 2afd3f0adc4f70d8d5bd4bc57a6eb53542edf66f (diff) | |
download | gdb-627b32bcf9eadc335b8c07f7cf8ea7155ef15fbd.zip gdb-627b32bcf9eadc335b8c07f7cf8ea7155ef15fbd.tar.gz gdb-627b32bcf9eadc335b8c07f7cf8ea7155ef15fbd.tar.bz2 |
include/elf/
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
and vma for appropriate sections.
bfd/
* elf.c (assign_file_positions_for_load_sections): Set sh_offset
here. Set sh_type to SHT_NOBITS if we won't be allocating
file space. Don't bump p_memsz for non-alloc sections. Adjust
section-in-segment check.
(assign_file_positions_for_non_load_sections): Don't set sh_offset
here for sections that have already been handled above.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7325752..1c00088 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2007-05-02 Alan Modra <amodra@bigpond.net.au> + + * elf.c (assign_file_positions_for_load_sections): Set sh_offset + here. Set sh_type to SHT_NOBITS if we won't be allocating + file space. Don't bump p_memsz for non-alloc sections. Adjust + section-in-segment check. + (assign_file_positions_for_non_load_sections): Don't set sh_offset + here for sections that have already been handled above. + 2007-04-30 Alan Modra <amodra@bigpond.net.au> * elf32-spu.c (struct spu_link_hash_table): Add stack_analysis |