aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-06-22 09:34:52 +0000
committerDave Korn <dave.korn@artimi.com>2009-06-22 09:34:52 +0000
commit11275b5ad5433ffa55d7b1331c102be58250d3d8 (patch)
tree8b1ae4b0d32193f7c2117f39622aa7e70adb0a29 /ld/testsuite/ld-pe
parent98fb390a91085af1814d5348ce18e4726ac79ff7 (diff)
downloadgdb-11275b5ad5433ffa55d7b1331c102be58250d3d8.zip
gdb-11275b5ad5433ffa55d7b1331c102be58250d3d8.tar.gz
gdb-11275b5ad5433ffa55d7b1331c102be58250d3d8.tar.bz2
* ld-pe/pe-run.exp (proc test_direct_link_dll): Fix incorrect
line-wrapping.
Diffstat (limited to 'ld/testsuite/ld-pe')
-rwxr-xr-xld/testsuite/ld-pe/pe-run.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-pe/pe-run.exp b/ld/testsuite/ld-pe/pe-run.exp
index 9fa6bdb..ab1b570 100755
--- a/ld/testsuite/ld-pe/pe-run.exp
+++ b/ld/testsuite/ld-pe/pe-run.exp
@@ -83,7 +83,7 @@ proc test_direct_link_dll {} {
} else {
# Check linking directly to direct_dll.dll.
set msg "linking client (.dll)"
- if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_dll.exe
+ if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_dll.exe \
"$tmpdir/direct_client.o $tmpdir/direct_dll.dll" ] {
pass $msg
} else {
@@ -92,7 +92,7 @@ proc test_direct_link_dll {} {
# Check linking directly to direct_dll.sl.
set msg "linking client (.sl)"
- if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_sl.exe
+ if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_sl.exe \
"$tmpdir/direct_client.o $tmpdir/direct_dll.sl" ] {
pass $msg
} else {
@@ -103,7 +103,7 @@ proc test_direct_link_dll {} {
# Create symbolic link.
catch "exec ln -fs direct_dll.dll $tmpdir/libdirect_dll.dll.a" ln_catch
set msg "linking client (symlink -> .dll)"
- if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_symlink_dll.exe
+ if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_symlink_dll.exe \
"$tmpdir/direct_client.o $tmpdir/libdirect_dll.dll.a" ] {
pass $msg
} else {
@@ -114,7 +114,7 @@ proc test_direct_link_dll {} {
# Create symbolic link.
catch "exec ln -fs direct_dll.sl $tmpdir/libdirect_sl.dll.a" ln_catch
set msg "linking client (symlink -> .sl)"
- if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_symlink_sl.exe
+ if [ld_simple_link "$CC -Wl,--enable-auto-import" $tmpdir/direct_client_symlink_sl.exe \
"$tmpdir/direct_client.o $tmpdir/libdirect_sl.dll.a" ] {
pass $msg
} else {