x86: Properly handle PLT expression in directive
[external/binutils.git] / ld / testsuite / ld-gc / pr20022.d
1 #source: pr20022b.s
2 #ld: --gc-sections -e _start tmpdir/pr20022.so
3 #readelf: -SsW
4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
5
6 #...
7   \[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.*
8 #...
9  +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +__start__foo
10 #pass