aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sframe/discard.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sframe/discard.ld')
-rw-r--r--ld/testsuite/ld-sframe/discard.ld9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sframe/discard.ld b/ld/testsuite/ld-sframe/discard.ld
new file mode 100644
index 0000000..5745cce
--- /dev/null
+++ b/ld/testsuite/ld-sframe/discard.ld
@@ -0,0 +1,9 @@
+ENTRY(_start)
+SECTIONS
+{
+ . = SIZEOF_HEADERS;
+ /* Sections to be discarded */
+ /DISCARD/ : {
+ *(.sframe)
+ }
+}