2017-10-07 00:16:47 +00:00
|
|
|
#source: pr20022b.s
|
|
|
|
#ld: --gc-sections -e _start tmpdir/pr20022.so
|
|
|
|
#readelf: -SsW
|
2018-12-28 15:25:28 +00:00
|
|
|
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
|
|
|
#notarget: frv-*-linux* metag-*-linux* mips*-*-*
|
2017-10-07 00:16:47 +00:00
|
|
|
# Skip on targets without dynamic relocations in .text section.
|
|
|
|
|
|
|
|
#...
|
|
|
|
\[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.*
|
|
|
|
#...
|
2018-12-28 15:25:28 +00:00
|
|
|
+[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +__start__foo
|
2017-10-07 00:16:47 +00:00
|
|
|
#pass
|