Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-gc/pr20022.d

11 lines
311 B
D
Raw Normal View History

2023-03-06 14:48:14 +01:00
#source: pr20022b.s
#ld: --gc-sections -e _start tmpdir/pr20022.so
#readelf: -SsW
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
#...
\[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.*
#...
+[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +__start__foo
#pass