aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/extract-symbol-1sec.d
blob: d6425c6e3aa8740d5f2815b8e3a27fc01312bfe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#name: --extract-symbol test 1 (sections)
#source: extract-symbol-1.s
#ld: -Textract-symbol-1.ld
#objcopy_linked_file: --extract-symbol
#objdump: --headers
#...
Sections:
 *Idx +Name +Size +VMA +LMA .*
 *0 +\.foo +0+ +0+ +0+ .*
 *CONTENTS, ALLOC, LOAD, CODE
 *1 +\.bar +0+ +0+ +0+ .*
 *ALLOC, READONLY, CODE