Commit | Line | Data |
---|---|---|
b97b635e NC |
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 | } |