ack/mach/sparc_solaris/libsys/cerror.s

21 lines
238 B
ArmAsm
Raw Permalink Normal View History

1995-07-26 08:55:56 +00:00
.global $errno, cerror, _cerror, errno
1993-10-06 17:04:49 +00:00
.type _cerror, #function
.section ".text"
cerror:
_cerror:
set $errno, %o5
st %o0, [%o5]
set errno, %o5
st %o0, [%o5]
set -1, %o0
retl
nop
.section ".data"
$errno:
.long 0
1995-07-26 08:55:56 +00:00
errno:
.long 0