mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
3ac9b6c910
* elf.c (assign_file_positions_for_load_sections): Revert 2008-05-29 change. Tidy. Don't error on sections not allocated in segment. ld/testsuite/ * ld-elf/extract-symbol-1sec.d: Update lma. * ld-i386/alloc.d: Expect a warning, not an error.
15 lines
440 B
Makefile
15 lines
440 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*-*-*" "rx-*-*"
|
|
# FAILS on the RX because the linker has to set LMA == VMA for the Renesas loader.
|
|
#...
|
|
Sections:
|
|
*Idx +Name +Size +VMA +LMA .*
|
|
*0 +\.foo +0+ +0+10000 +0+10000 .*
|
|
*CONTENTS, ALLOC, LOAD, CODE
|
|
*1 +\.bar +0+ +0+20000 +0+10000 .*
|
|
*ALLOC, READONLY, CODE
|