2 #ld: --gc-sections -e _start tmpdir/pr20022.so
4 #target: *-*-linux* *-*-gnu*
5 #notarget: *-*-*aout *-*-*oldld frv-*-linux* metag-*-linux*
7 # Skip on targets without dynamic relocations in .text section.
10 \[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.*
12 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +__start__foo