Home | History | Annotate | Download | only in ld-elf
      1 #source: init-fini-arrays.s
      2 #ld: -r
      3 #readelf: -S --wide
      4 #xfail: cr16-*-* crx-*-* msp430-*-*
      5 # msp430 puts the init_array and fini_array inside the .rodata section.
      6 # cr16 and crx use non-standard scripts with memory regions, which don't play
      7 #  well with unique group sections under ld -r.
      8 
      9 #...
     10   \[[ 0-9]+\] \.init_array\.01000[ \t]+PROGBITS[ \t0-9a-f]+WA?.*
     11 #...
     12   \[[ 0-9]+\] \.fini_array\.01000[ \t]+PROGBITS[ \t0-9a-f]+WA?.*
     13 #pass
     14