aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/discarded1.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/discarded1.t')
-rw-r--r--ld/testsuite/ld-i386/discarded1.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/discarded1.t b/ld/testsuite/ld-i386/discarded1.t
new file mode 100644
index 0000000..a4d617f
--- /dev/null
+++ b/ld/testsuite/ld-i386/discarded1.t
@@ -0,0 +1,7 @@
+ENTRY(_start)
+SECTIONS
+{
+ .text : {*(.text)}
+ .data : {*(.data)}
+ /DISCARD/ : {*(*)}
+}