mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
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.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
# Check that the library was actually loaded to catch any false PASS.
|
# Check that the library was actually loaded to catch any false PASS.
|
||||||
|
|
||||||
#...
|
#...
|
||||||
LOAD tmpdir/libretain5.a
|
LOAD tmpdir[/\\]libretain5.a
|
||||||
#pass
|
#pass
|
||||||
|
@ -29,7 +29,7 @@ Hello from testplugin.
|
|||||||
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
||||||
hook called: claim_file tmpdir/func.o \[@0/.* CLAIMED
|
hook called: claim_file tmpdir/func.o \[@0/.* CLAIMED
|
||||||
#...
|
#...
|
||||||
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
hook called: claim_file tmpdir[/\\]libtext.a \[@.* not claimed
|
||||||
#...
|
#...
|
||||||
hook called: all symbols read.
|
hook called: all symbols read.
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
||||||
|
@ -32,7 +32,7 @@ Hello from testplugin.
|
|||||||
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
||||||
hook called: claim_file tmpdir/func.o \[@0/.* CLAIMED
|
hook called: claim_file tmpdir/func.o \[@0/.* CLAIMED
|
||||||
#...
|
#...
|
||||||
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
hook called: claim_file tmpdir[/\\]libtext.a \[@.* CLAIMED
|
||||||
#...
|
#...
|
||||||
hook called: all symbols read.
|
hook called: all symbols read.
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
||||||
|
@ -29,7 +29,7 @@ Hello from testplugin.
|
|||||||
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
||||||
hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED
|
hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED
|
||||||
#...
|
#...
|
||||||
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
hook called: claim_file tmpdir[/\\]libtext.a \[@.* not claimed
|
||||||
#...
|
#...
|
||||||
hook called: all symbols read.
|
hook called: all symbols read.
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
||||||
|
@ -32,7 +32,7 @@ Hello from testplugin.
|
|||||||
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
hook called: claim_file tmpdir/main.o \[@0/.* not claimed
|
||||||
hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED
|
hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \[@0/.* CLAIMED
|
||||||
#...
|
#...
|
||||||
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
hook called: claim_file tmpdir[/\\]libtext.a \[@.* CLAIMED
|
||||||
#...
|
#...
|
||||||
hook called: all symbols read.
|
hook called: all symbols read.
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
hook called: all symbols read.
|
hook called: all symbols read.
|
||||||
Input: func.c \(tmpdir/libfunc.a\)
|
Input: func.c \(tmpdir[/\\]libfunc.a\)
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
||||||
.*: tmpdir/main.o: in function `main':
|
.*: tmpdir/main.o: in function `main':
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Claimed: tmpdir/libfunc.a \[@.*
|
Claimed: tmpdir[/\\]libfunc.a \[@.*
|
||||||
hook called: all symbols read.
|
hook called: all symbols read.
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
||||||
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.*
|
||||||
|
Reference in New Issue
Block a user