diff options
author | Alan Modra <amodra@gmail.com> | 2024-07-26 15:10:56 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-07-26 15:24:20 +0930 |
commit | b47de6c86f9836cef0caed02b97d81d3f2560ebf (patch) | |
tree | 6f0b0024035bf057ea7ac54bd8f3d7637ebf42b7 /ld/testsuite/ld-x86-64/code16.d | |
parent | e26ff6c44e7546b9f761e00bb7cf76a3fa8bfc5d (diff) | |
download | binutils-b47de6c86f9836cef0caed02b97d81d3f2560ebf.zip binutils-b47de6c86f9836cef0caed02b97d81d3f2560ebf.tar.gz binutils-b47de6c86f9836cef0caed02b97d81d3f2560ebf.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-x86-64/code16.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/code16.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/code16.d b/ld/testsuite/ld-x86-64/code16.d index 5b83681..ff21913 100644 --- a/ld/testsuite/ld-x86-64/code16.d +++ b/ld/testsuite/ld-x86-64/code16.d @@ -1,6 +1,6 @@ #name: x86-64 R_X86_64_PC16 reloc in 16-bit mode #as: --64 -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 |