2007-03-01 16:39:42 +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
|
2015-02-24 17:54:09 +00:00
|
|
|
#xfail: "hppa*-*-*" "rx-*-*" "v850*-*-*"
|
2009-11-18 16:37:56 +00:00
|
|
|
# FAILS on the RX because the linker has to set LMA == VMA for the Renesas loader.
|
2015-02-24 17:54:09 +00:00
|
|
|
# FAILS on the V850 because an extra section - .note.renesas - is created.
|
2007-03-01 16:39:42 +00:00
|
|
|
#...
|
|
|
|
Sections:
|
|
|
|
*Idx +Name +Size +VMA +LMA .*
|
2010-04-22 01:51:01 +00:00
|
|
|
*0 +\.foo +0+ +0+10000 +0+10000 .*
|
2007-03-01 16:39:42 +00:00
|
|
|
*CONTENTS, ALLOC, LOAD, CODE
|
2008-09-29 14:12:02 +00:00
|
|
|
*1 +\.bar +0+ +0+20000 +0+10000 .*
|
2007-03-01 16:39:42 +00:00
|
|
|
*ALLOC, READONLY, CODE
|