From b47de6c86f9836cef0caed02b97d81d3f2560ebf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 26 Jul 2024 15:10:56 +0930 Subject: Remove srcdir from x86 testcase "source:" lines It's wrong to have ${srcdir} in run_dump_test "source:" lines, as run_dump_test adds $srcdir/$subdir/ to the line passed to the shell except when the source path starts with "./". The tests work currently because the shell expands ${srcdir} to an empty string. PR 31728 * testsuite/ld-i386/code16.d: Correct "source:". * testsuite/ld-x86-64/code16.d: Likewise. * testsuite/ld-x86-64/rela.d: Likewise. --- ld/testsuite/ld-i386/code16.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/testsuite/ld-i386/code16.d') diff --git a/ld/testsuite/ld-i386/code16.d b/ld/testsuite/ld-i386/code16.d index c44fb03..cca8e8f 100644 --- a/ld/testsuite/ld-i386/code16.d +++ b/ld/testsuite/ld-i386/code16.d @@ -1,6 +1,6 @@ #name: i386 R_386_PC16 reloc in 16-bit mode #as: --32 -mx86-used-note=no --generate-missing-build-notes=no -#source: ${srcdir}/../../../gas/testsuite/gas/i386/code16-2.s +#source: ../../../gas/testsuite/gas/i386/code16-2.s #ld: -T code16.t #objdump: -dw -Mi8086 -- cgit v1.1