aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/extract-symbol-1sec.d
blob: 35ca898a180cd8e5f245cf1226ee76fcf3858b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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-*-*" "v850*-*-*"
# FAILS on the RX because the linker has to set LMA == VMA for the Renesas loader.
# FAILS on the V850 because an extra section - .note.renesas - is created.
#...
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