From bbc5ca014eb7c6cfa7c31f1d3f49469ee7201201 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 16 Sep 2025 16:45:21 +0100 Subject: [PATCH] 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. --- 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.47.3