diff options
author | 2002-10-07 04:22:46 +0000 | |
---|---|---|
committer | 2002-10-07 04:22:46 +0000 | |
commit | 4009c470ff37754ad1eca13c817a865b2b80f63f (patch) | |
tree | b966d582e89052a99c19c5b2576b285ab790ce3d /lib/libc/arch | |
parent | cerror -> __cerror as suggested by art, with a couple of missing _ASM_LABEL() (diff) | |
download | wireguard-openbsd-4009c470ff37754ad1eca13c817a865b2b80f63f.tar.xz wireguard-openbsd-4009c470ff37754ad1eca13c817a865b2b80f63f.zip |
Simpler, smaller, more efficient and equivalent.
Diffstat (limited to 'lib/libc/arch')
-rw-r--r-- | lib/libc/arch/powerpc/sys/exect.S | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/libc/arch/powerpc/sys/exect.S b/lib/libc/arch/powerpc/sys/exect.S index 741d51236fc..26621340e36 100644 --- a/lib/libc/arch/powerpc/sys/exect.S +++ b/lib/libc/arch/powerpc/sys/exect.S @@ -3,20 +3,9 @@ */ #if defined(SYSLIBC_SCCS) .text - .asciz "$OpenBSD: exect.S,v 1.4 2002/10/07 04:16:34 drahn Exp $" + .asciz "$OpenBSD: exect.S,v 1.5 2002/10/07 04:22:46 drahn Exp $" #endif /* SYSLIBC_SCCS */ #include "SYS.h" - .text -PREFIX2(exect,execve) - sc - - /* check for error */ - cmpwi 0, 0 - beq+ _ASM_LABEL(exect_ok) - b PIC_PLT(_ASM_LABEL(__cerror)) - - /* update, curbrk and return */ -exect_ok: - blr +PSEUDO(exect,execve) |