Retro68/gcc/newlib/libc/sys/sysvi386/cerror.S
2012-03-27 01:51:53 +02:00

10 lines
102 B
ArmAsm

.globl _cerror
_cerror:
movl %eax, errno
movl $-1, %eax
ret
.data
.globl errno
errno: .long 0