summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-10-07 04:22:46 +0000
committerdrahn <drahn@openbsd.org>2002-10-07 04:22:46 +0000
commit4009c470ff37754ad1eca13c817a865b2b80f63f (patch)
treeb966d582e89052a99c19c5b2576b285ab790ce3d /lib/libc
parentcerror -> __cerror as suggested by art, with a couple of missing _ASM_LABEL() (diff)
downloadwireguard-openbsd-4009c470ff37754ad1eca13c817a865b2b80f63f.tar.xz
wireguard-openbsd-4009c470ff37754ad1eca13c817a865b2b80f63f.zip
Simpler, smaller, more efficient and equivalent.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/powerpc/sys/exect.S15
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)