[v2,1/3] ld: testsuite: Fix test name in sort_b_n_a-2.d
Commit Message
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(-)
Comments
On 16.09.2025 18:42, Richard Earnshaw wrote:
> 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(-)
If not deemed obvious anyway, okay for all three patches.
Jan
@@ -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
#...