summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/exclude-file-3.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/exclude-file-3.t')
-rw-r--r--ld/testsuite/ld-scripts/exclude-file-3.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/exclude-file-3.t b/ld/testsuite/ld-scripts/exclude-file-3.t
new file mode 100644
index 00000000000..4d4be5852bb
--- /dev/null
+++ b/ld/testsuite/ld-scripts/exclude-file-3.t
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ .data : {
+ EXCLUDE_FILE (*-b.o) * (.data .data.*)
+ }
+
+ /DISCARD/ : {
+ * (*)
+ }
+}