aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib/ld.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/lib/ld.exp')
-rw-r--r--ld/testsuite/lib/ld.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/lib/ld.exp b/ld/testsuite/lib/ld.exp
index 659dfe2..aeb8454 100644
--- a/ld/testsuite/lib/ld.exp
+++ b/ld/testsuite/lib/ld.exp
@@ -4,7 +4,7 @@
#
proc default_ld_version { ld } {
if { [file exists $ld] == 0 } then {
- error "$ld does not exist"
+ perror "$ld does not exist"
exit 1
}
@@ -25,7 +25,7 @@ proc default_ld_relocate { ld target objects } {
global HOSTING_EMU
if { [file exists $ld] == 0 } then {
- error "$ld does not exist"
+ perror "$ld does not exist"
exit 1
}
@@ -56,7 +56,7 @@ proc default_ld_link { ld target objects } {
set libs "$BFDLIB $LIBIBERTY $HOSTING_LIBS"
if { [file exists $ld] == 0 } then {
- error "$ld does not exist"
+ perror "$ld does not exist"
exit 1
}
@@ -80,7 +80,7 @@ proc default_ld_compile { cc source object } {
global subdir
if {[which $cc] == 0} then {
- error "$cc does not exist"
+ perror "$cc does not exist"
exit 1
}