newlib-cygwin/newlib/libc/sys/sysvi386/cerror.s

10 lines
102 B
ArmAsm
Raw Normal View History

2000-02-18 03:39:52 +08:00
.globl _cerror
_cerror:
movl %eax, errno
movl $-1, %eax
ret
.data
.globl errno
errno: .long 0