summaryrefslogtreecommitdiff
path: root/lib/libc/arch/powerpc/sys/exect.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/powerpc/sys/exect.S')
-rw-r--r--lib/libc/arch/powerpc/sys/exect.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/arch/powerpc/sys/exect.S b/lib/libc/arch/powerpc/sys/exect.S
index 46108f9d7b3..a5676a4c2b4 100644
--- a/lib/libc/arch/powerpc/sys/exect.S
+++ b/lib/libc/arch/powerpc/sys/exect.S
@@ -3,19 +3,19 @@
*/
#if defined(SYSLIBC_SCCS)
.text
- .asciz "$OpenBSD: exect.S,v 1.2 1998/08/07 01:44:01 rahnds Exp $"
+ .asciz "$OpenBSD: exect.S,v 1.3 1999/01/28 05:09:12 rahnds Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
.text
-PSEUDO_PREFIX(exect,execve)
+PREFIX2(exect,execve)
sc
/* check for error */
- cmpwi 0, 0
- beq+ exect_ok /* OK so this is stupid but I haven't read b */
- b cerror
+ cmpwi 0, 0
+ beq+ _ASM_LABEL(exect_ok)
+ b PIC_PLT(_ASM_LABEL(cerror))
/* update, curbrk and return */
exect_ok: