ceae84aacf
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.
13 lines
343 B
Makefile
13 lines
343 B
Makefile
#name: --extract-symbol test 1 (sections)
|
|
#source: extract-symbol-1.s
|
|
#ld: -Textract-symbol-1.ld
|
|
#objcopy_linked_file: --extract-symbol
|
|
#objdump: --headers
|
|
#xfail: "hppa*-*-*"
|
|
#...
|
|
Sections:
|
|
*Idx +Name +Size +VMA +LMA .*
|
|
*0 +\.foo +0+ +0+10000 +0+ .*
|
|
*CONTENTS, ALLOC, LOAD, CODE
|
|
*1 +\.bar +0+ +0+20000 +0+10000 .*
|
|
*ALLOC, READONLY, CODE
|