gdb/testsuite: do minor clean-up in gdb.cp/rvalue-ref-overload.exp
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / section-match-1.t
CommitLineData
b97b635e
NC
1SECTIONS
2{
3 /* .secA should collect all sections with a prefix of ".sec."
4 except for those with a prefix of ".sec..". */
cc969da9 5 .secA : { *(.sec.[^.]*) }
b97b635e
NC
6
7 /* .secB should be empty because .secA will have taken all of
8 the potential matches. */
cc969da9 9 .secB : { *(.sec.[!.]*) }
b97b635e
NC
10
11 /* .secC should match any sections with a ".sec.." prefix. */
cc969da9 12 .secC : { *(.sec.*) }
b97b635e
NC
13
14 /* Ignore anything else. */
15 /DISCARD/ : { *(*) }
16}
This page took 0.408114 seconds and 4 git commands to generate.