blob: 46108f9d7b306de9107c712dba2e0e3752df310f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* COPYRIGHT
*/
#if defined(SYSLIBC_SCCS)
.text
.asciz "$OpenBSD: exect.S,v 1.2 1998/08/07 01:44:01 rahnds Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
.text
PSEUDO_PREFIX(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
/* update, curbrk and return */
exect_ok:
blr
|