[binutils-gdb] ld: testsuite: Fix test name in sort_b_n_a-2.d

Richard Earnshaw rearnsha@sourceware.org
Fri Sep 19 09:50:26 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bbc5ca014eb7c6cfa7c31f1d3f49469ee7201201

commit bbc5ca014eb7c6cfa7c31f1d3f49469ee7201201
Author: Richard Earnshaw <rearnsha@arm.com>
Date:   Tue Sep 16 16:45:21 2025 +0100

    ld: testsuite: Fix test name in sort_b_n_a-2.d
    
    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.

Diff:
---
 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
 
 #...


More information about the Binutils-cvs mailing list