2012-03-26 19:18:29 +00:00
|
|
|
#name: --extract-symbol test 1 (sections)
|
|
|
|
#source: extract-symbol-1.s
|
|
|
|
#ld: -Textract-symbol-1.ld
|
|
|
|
#objcopy_linked_file: --extract-symbol
|
|
|
|
#objdump: --headers
|
2014-09-12 22:14:23 +00:00
|
|
|
#xfail: "hppa*-*-*" "rx-*-*"
|
|
|
|
# FAILS on the RX because the linker has to set LMA == VMA for the Renesas loader.
|
2012-03-26 19:18:29 +00:00
|
|
|
#...
|
|
|
|
Sections:
|
|
|
|
*Idx +Name +Size +VMA +LMA .*
|
2014-09-12 22:14:23 +00:00
|
|
|
*0 +\.foo +0+ +0+10000 +0+10000 .*
|
2012-03-26 19:18:29 +00:00
|
|
|
*CONTENTS, ALLOC, LOAD, CODE
|
|
|
|
*1 +\.bar +0+ +0+20000 +0+10000 .*
|
|
|
|
*ALLOC, READONLY, CODE
|