summaryrefslogtreecommitdiff
path: root/libexec/ld.so/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/alpha')
-rw-r--r--libexec/ld.so/alpha/ldasm.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ld.so/alpha/ldasm.S b/libexec/ld.so/alpha/ldasm.S
index 0e2cac14f85..32b3ebf1992 100644
--- a/libexec/ld.so/alpha/ldasm.S
+++ b/libexec/ld.so/alpha/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.1 2001/05/14 22:18:20 niklas Exp $ */
+/* $OpenBSD: ldasm.S,v 1.2 2001/05/29 08:52:11 art Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -101,6 +101,9 @@ END(_dl_exit)
LEAF_NOPROFILE(_dl_open, 2)
ldiq v0, SYS_open
call_pal PAL_OSF1_callsys
+ beq a3, _dl_open_no_error
+ subq zero, v0, v0
+_dl_open_no_error:
RET
END(_dl_open)