[binutils-gdb] ld: Fix a H8/300 specific test case

Alan Modra amodra@sourceware.org
Mon Nov 10 00:18:52 GMT 2025


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

commit 15a7adca5d9b32a6e2b963092e3514fe40a093fb
Author: Jan Dubiec <jdx@o2.pl>
Date:   Fri Nov 7 07:55:19 2025 +0100

    ld: Fix a H8/300 specific test case
    
    It seems that glob patterns no longer work in the test suite, at least
    on some host/dejagnu/shell combinations.  In any case it is better
    here not to create a single relax-7?.o file from the two source files,
    but to create two separate objects for linking.
    
    ld/
            * testsuite/ld-h8300/relax-7.d: Replace the glob pattern with
            multiple "source" options.
    
    Signed-off-by: Jan Dubiec <jdx@o2.pl>

Diff:
---
 ld/testsuite/ld-h8300/relax-7.d | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-h8300/relax-7.d b/ld/testsuite/ld-h8300/relax-7.d
index 9bd68626c77..f45787c75ce 100644
--- a/ld/testsuite/ld-h8300/relax-7.d
+++ b/ld/testsuite/ld-h8300/relax-7.d
@@ -1,5 +1,6 @@
 # name: H8300 Relaxation Test 7
-# source: relax-7?.s
+# source: relax-7a.s
+# source: relax-7b.s
 # ld: --relax
 # objdump: -d -s --no-show-raw-insn


More information about the Binutils-cvs mailing list