diff options
Diffstat (limited to 'newlib/libc/sys/sysvi386/cerror.s')
-rw-r--r-- | newlib/libc/sys/sysvi386/cerror.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/cerror.s b/newlib/libc/sys/sysvi386/cerror.s new file mode 100644 index 0000000..9d53bae --- /dev/null +++ b/newlib/libc/sys/sysvi386/cerror.s @@ -0,0 +1,9 @@ + .globl _cerror +_cerror: + movl %eax, errno + movl $-1, %eax + ret + .data + .globl errno +errno: .long 0 + |