Retro68/gcc/newlib/libc/sys/sysvi386/cerror.S
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

10 lines
102 B
ArmAsm

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