Make __start/__stop symbols protected visibility
[deliverable/binutils-gdb.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*
5 #notarget: *-*-*aout *-*-*oldld frv-*-linux* metag-*-linux*
6 #notarget: mips*-*-*
7 # Skip on targets without dynamic relocations in .text section.
8
9 #...
10 \[[ 0-9]+\] _foo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +[0-9a-f]+[ \t]+.*
11 #...
12 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +GLOBAL +PROTECTED +[0-9]+ +__start__foo
13 #pass
This page took 0.029108 seconds and 4 git commands to generate.