2010-03-16 22:14:40 +08:00
|
|
|
#source: orphan-region.s
|
2012-10-23 17:33:56 +08:00
|
|
|
#ld: -T orphan-region.ld -N -z stack-size=0
|
2010-03-16 22:14:40 +08:00
|
|
|
#readelf: -S -l --wide
|
2010-09-18 10:30:41 +08:00
|
|
|
#xfail: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-elf i860-*-* i960-*-*
|
2014-04-22 22:57:47 +08:00
|
|
|
#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* pj*-*-*
|
2012-11-28 01:20:29 +08:00
|
|
|
#xfail: spu-*-* hppa*64*-*-* *-*-nacl*
|
2010-09-18 10:30:41 +08:00
|
|
|
# if not using elf32.em, you don't get fancy orphan handling
|
2012-11-28 01:20:29 +08:00
|
|
|
# spu twiddles LOAD range, hppa64 adds PHDR, nacl splits to two segments
|
2010-03-16 22:14:40 +08:00
|
|
|
|
|
|
|
#...
|
|
|
|
\[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t]+0*40000000[ \t]+.*
|
|
|
|
\[[ 0-9]+\] \.rodata[ \t]+PROGBITS[ \t]+0*400000[0-9a-f]+[ \t]+.*
|
|
|
|
\[[ 0-9]+\] \.moredata[ \t]+PROGBITS[ \t]+0*400000[0-9a-f]+[ \t]+.*
|
|
|
|
#...
|
|
|
|
Program Headers:
|
|
|
|
Type.*
|
2010-05-07 04:04:27 +08:00
|
|
|
LOAD[ \t]+0x[0-9a-f]+ 0x0*40000000 0x0*40000000 0x[0-9a-f]+ 0x[0-9a-f]+ RWE 0x[0-9a-f]+
|
2010-03-16 22:14:40 +08:00
|
|
|
|
|
|
|
Section to Segment mapping:
|
|
|
|
Segment Sections...
|
|
|
|
00 .text .rodata .moredata *
|