aarch64: add hwcap header file
[uclibc-ng.git] / libc / sysdeps / linux / alpha / __syscall_error.c
blobc986e484d681d812acc8088bbfbc6204b29dcad0
1 /*
2 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5 */
7 #include <errno.h>
9 /* This routine is jumped to by all the syscall handlers, to stash
10 an error number into errno. */
11 long attribute_hidden __syscall_error (void)
13 register int err_no __asm__("$0");
14 __set_errno (err_no);
15 return -1;