]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove srcdir from x86 testcase "source:" lines
authorAlan Modra <amodra@gmail.com>
Fri, 26 Jul 2024 05:40:56 +0000 (15:10 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 26 Jul 2024 05:54:20 +0000 (15:24 +0930)
commitb47de6c86f9836cef0caed02b97d81d3f2560ebf
tree6f0b0024035bf057ea7ac54bd8f3d7637ebf42b7
parente26ff6c44e7546b9f761e00bb7cf76a3fa8bfc5d
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
ld/testsuite/ld-x86-64/code16.d
ld/testsuite/ld-x86-64/rela.d