Extend PE matching regexp in PR 19457 test to match cygwin and mingw targets.
[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..". */
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.246374 seconds and 4 git commands to generate.