diff options
author | Alan Modra <amodra@gmail.com> | 2008-09-29 14:12:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-09-29 14:12:02 +0000 |
commit | ceae84aacf0d5459a74fd5496cd2c0d6708e052a (patch) | |
tree | 58aa23fa1daf3894218aa395c3f815b3776d4b4c /ld/testsuite | |
parent | b8a4873487ea15d1873dfaf0cb1a724a3b5fec95 (diff) | |
download | gdb-ceae84aacf0d5459a74fd5496cd2c0d6708e052a.zip gdb-ceae84aacf0d5459a74fd5496cd2c0d6708e052a.tar.gz gdb-ceae84aacf0d5459a74fd5496cd2c0d6708e052a.tar.bz2 |
bfd/
PR 6789
* elf.c (assign_file_positions_for_load_sections): Call
_bfd_elf_map_sections_to_segments, not elf_modify_segment_map.
(get_program_header_size): Protect against NULL info.
(_bfd_elf_map_sections_to_segments): Likewise.
* elf32-spu.c (spu_elf_additional_program_headers): Likewise.
ld/testsuite/
* ld-elf/extract-symbol-1sec.d: Correct section lma.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/extract-symbol-1sec.d | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ea0d673..5e928d5 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-09-29 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/extract-symbol-1sec.d: Correct section lma. + 2008-09-25 Alan Modra <amodra@bigpond.net.au> * ld-elf/eh-group.exp: Only run on ELF targets. diff --git a/ld/testsuite/ld-elf/extract-symbol-1sec.d b/ld/testsuite/ld-elf/extract-symbol-1sec.d index 87d42af..cbe0144 100644 --- a/ld/testsuite/ld-elf/extract-symbol-1sec.d +++ b/ld/testsuite/ld-elf/extract-symbol-1sec.d @@ -7,7 +7,7 @@ #... Sections: *Idx +Name +Size +VMA +LMA .* - *0 +\.foo +0+ +0+10000 +0+10000 .* + *0 +\.foo +0+ +0+10000 +0+ .* *CONTENTS, ALLOC, LOAD, CODE - *1 +\.bar +0+ +0+20000 +0+20000 .* + *1 +\.bar +0+ +0+20000 +0+10000 .* *ALLOC, READONLY, CODE |