Add sysroot-prefix ld linker tests.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / section-match-1.t
1 SECTIONS
2 {
3 /* .secA should collect all sections with a prefix of ".sec."
4 except for those with a prefix of ".sec..". */
5 .secA : { *(*.sec.[^.]*) }
6
7 /* .secB should be empty because .secA will have taken all of
8 the potential matches. */
9 .secB : { *(*.sec.[!.]*) }
10
11 /* .secC should match any sections with a ".sec.." prefix. */
12 .secC : { *(*.sec.*) }
13
14 /* Ignore anything else. */
15 /DISCARD/ : { *(*) }
16 }
This page took 0.029535 seconds and 4 git commands to generate.