aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorClément Chigot <chigot@adacore.com>2023-01-12 11:02:25 +0100
committerClément Chigot <chigot@adacore.com>2023-02-20 15:23:56 +0100
commitdf937aa12a387ea743eb413a719253ec0ffe131b (patch)
tree29b947890d3364466548384bcf1fa93ddae4a583 /ld/testsuite/ld-elf
parenta5b6347b660df23259737ec3fc4a2f3a97f31b14 (diff)
downloadbinutils-df937aa12a387ea743eb413a719253ec0ffe131b.zip
binutils-df937aa12a387ea743eb413a719253ec0ffe131b.tar.gz
binutils-df937aa12a387ea743eb413a719253ec0ffe131b.tar.bz2
ld/testsuite: adjust to Windows path separator.
In some tests, the path reported on Windows will have a \ instead of a /. This occurs when a file is concatened with the search path in ldfile.c.: "ld -Ltmpdir -ltext" will result into "tmpdir\libtext.a". ld/ChangeLog: * testsuite/ld-elf/retain5.map: Allow \ path separator. * testsuite/ld-plugin/plugin-10.d: Likewise. * testsuite/ld-plugin/plugin-11.d: Likewise. * testsuite/ld-plugin/plugin-18.d: Likewise. * testsuite/ld-plugin/plugin-19.d: Likewise. * testsuite/ld-plugin/plugin-20.d: Likewise. * testsuite/ld-plugin/plugin-22.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/retain5.map2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/retain5.map b/ld/testsuite/ld-elf/retain5.map
index 6b97c2a..0e91911 100644
--- a/ld/testsuite/ld-elf/retain5.map
+++ b/ld/testsuite/ld-elf/retain5.map
@@ -1,5 +1,5 @@
# Check that the library was actually loaded to catch any false PASS.
#...
-LOAD tmpdir/libretain5.a
+LOAD tmpdir[/\\]libretain5.a
#pass