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