summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr14156c.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr14156c.t')
-rw-r--r--ld/testsuite/ld-elf/pr14156c.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr14156c.t b/ld/testsuite/ld-elf/pr14156c.t
new file mode 100644
index 0000000..c8be2c5
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr14156c.t
@@ -0,0 +1,5 @@
+SECTIONS {
+ .text : { *(.text) }
+ .foo : { *(SORT_NONE(.foo)) }
+ /DISCARD/ : { *(.*) }
+}