Retro68/gcc/newlib/libc/sys/sysvi386/cerror.S

10 lines
102 B
ArmAsm
Raw Normal View History

2017-04-11 21:13:36 +00:00
.globl _cerror
_cerror:
movl %eax, errno
movl $-1, %eax
ret
.data
.globl errno
errno: .long 0