[PATCH 1/2] ld: testsuite: Fix test name in sort_b_n_a-2.d

Richard Earnshaw rearnsha@arm.com
Tue Sep 16 15:53:00 GMT 2025


This test was invoked with the option '--sort-section name' but the
test name printed out was '--sort-section alignment'.  Fix the name to
match the option passed.
---
 ld/testsuite/ld-scripts/sort_b_n_a-2.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-scripts/sort_b_n_a-2.d b/ld/testsuite/ld-scripts/sort_b_n_a-2.d
index 4c9d8fedfff..2fd920d9aa0 100644
--- a/ld/testsuite/ld-scripts/sort_b_n_a-2.d
+++ b/ld/testsuite/ld-scripts/sort_b_n_a-2.d
@@ -1,7 +1,7 @@
 #source: sort_n_a-a.s
 #source: sort_n_a-b.s
 #ld: -T sort_b_n_a.t --sort-section name
-#name: SORT_BY_NAME(SORT_BY_ALIGNMENT()) --sort-section alignment
+#name: SORT_BY_NAME(SORT_BY_ALIGNMENT()) --sort-section name
 #nm: -n
 
 #...
-- 
2.43.0



More information about the Binutils mailing list