aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/sort_b_a_n-3.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/sort_b_a_n-3.d')
-rw-r--r--ld/testsuite/ld-scripts/sort_b_a_n-3.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/sort_b_a_n-3.d b/ld/testsuite/ld-scripts/sort_b_a_n-3.d
new file mode 100644
index 0000000..4421c77
--- /dev/null
+++ b/ld/testsuite/ld-scripts/sort_b_a_n-3.d
@@ -0,0 +1,14 @@
+#source: sort_n_a-a.s
+#source: sort_n_a-b.s
+#ld: -T sort_b_a_n.t --sort-section alignment
+#name: SORT_BY_ALIGNMENT(SORT_BY_NAME()) --sort-section alignment
+#nm: -n
+
+0[0-9a-f]* t text3b
+0[0-9a-f]* t text1a
+0[0-9a-f]* t text1b
+0[0-9a-f]* t text3a
+0[0-9a-f]* t texta
+0[0-9a-f]* t textb
+0[0-9a-f]* t text2a
+0[0-9a-f]* t text2b