99fabbc9 JL |
1 | #name: SHF_GNU_RETAIN 3 (keep sections referenced by retained sections) |
2 | #source: retain3.s |
3 | #ld: -e _start --gc-sections |
4 | #notarget: ![supports_gnu_osabi] ![check_gc_sections_available] |
5 | #DUMPPROG: nm |
6 | |
7 | #... |
8 | [0-9a-f]+ . bar |
9 | #... |
10 | [0-9a-f]+ . foo |
11 | #pass |