buildtools/binutils/ld/testsuite/ld-elf/init-fini-arrays.d

14 lines
437 B
D
Raw Normal View History

2012-01-05 23:13:27 +01:00
#source: init-fini-arrays.s
#ld: -r
#readelf: -S --wide
2014-03-19 17:25:32 +01:00
#xfail: cr16-*-* crx-*-* msp430-*-*
# msp430 puts the init_array and fini_array inside the .rodata section.
2012-01-05 23:13:27 +01:00
# cr16 and crx use non-standard scripts with memory regions, which don't play
2014-03-19 17:25:32 +01:00
# well with unique group sections under ld -r.
2012-01-05 23:13:27 +01:00
#...
\[[ 0-9]+\] \.init_array\.01000[ \t]+PROGBITS[ \t0-9a-f]+WA?.*
#...
\[[ 0-9]+\] \.fini_array\.01000[ \t]+PROGBITS[ \t0-9a-f]+WA?.*
#pass