From 77879554671206102471bb282accb3251395d151 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 12 Jan 2001 10:16:05 +0000 Subject: Thanks to James Graves , we now have a first pass at getting m68k working. It may have some problems, but should now be fairly close. --- libc/sysdeps/linux/m68k/errno.i | 282 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 282 insertions(+) create mode 100644 libc/sysdeps/linux/m68k/errno.i (limited to 'libc/sysdeps/linux/m68k/errno.i') diff --git a/libc/sysdeps/linux/m68k/errno.i b/libc/sysdeps/linux/m68k/errno.i new file mode 100644 index 000000000..b26fd2f19 --- /dev/null +++ b/libc/sysdeps/linux/m68k/errno.i @@ -0,0 +1,282 @@ +# 1 "errno.c" +# 1 "../../../include/errno.h" 1 + + + +# 1 "../../../include/features.h" 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# 51 "../../../include/features.h" + + + + + + + + + + + + + + + + + + + + + + +# 1 "../../../include/sys/cdefs.h" 1 + + + +# 1 "../../../include/features.h" 1 + +# 76 "../../../include/features.h" + + +# 4 "../../../include/sys/cdefs.h" 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# 73 "../../../include/features.h" 2 + + + + + +# 4 "../../../include/errno.h" 2 + +# 1 "../../../include/linux/errno.h" 1 + + + +# 1 "../../../include/asm/errno.h" 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# 4 "../../../include/linux/errno.h" 2 + + +# 14 "../../../include/linux/errno.h" + + + +# 5 "../../../include/errno.h" 2 + + +extern int sys_nerr; +extern char * sys_errlist[]; + + + + +extern int errno; +extern void perror ( char* __s) ; +extern char* strerror (int __errno) ; + + +# 1 "errno.c" 2 + + +int errno = 0; + +int * +__errno_location ( void ) +{ + return &errno; +} -- cgit v1.2.3