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

Message ID 20250916155301.3265257-1-rearnsha@arm.com
State New
Headers
Series [1/2] ld: testsuite: Fix test name in sort_b_n_a-2.d |

Commit Message

Richard Earnshaw Sept. 16, 2025, 3:53 p.m. UTC
  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(-)
  

Patch

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