diff options
Diffstat (limited to 'ld/testsuite/ld-scripts/exclude-file-6.t')
-rw-r--r-- | ld/testsuite/ld-scripts/exclude-file-6.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/exclude-file-6.t b/ld/testsuite/ld-scripts/exclude-file-6.t new file mode 100644 index 0000000..437e240 --- /dev/null +++ b/ld/testsuite/ld-scripts/exclude-file-6.t @@ -0,0 +1,11 @@ +SECTIONS +{ + .data : { + * (SORT_BY_ALIGNMENT (SORT_BY_NAME (EXCLUDE_FILE (*-b.o) .data))) + * (SORT_BY_NAME (SORT_BY_ALIGNMENT (EXCLUDE_FILE (*-a.o) .data.*))) + } + + /DISCARD/ : { + * (*) + } +} |