diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-11-07 14:38:17 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-12-20 15:46:49 +0100 |
commit | bda630857e3770dd9db61ade4e15fccbdf53feae (patch) | |
tree | ff5d1994eb99c7775a2aba107dda0c403cfa87ef /libc/sysdeps/linux/ia64/sysdep.h | |
parent | 7c1650f01179844789b92a90c286a27a7079fefb (diff) |
libc/sysdeps: commonize ret_ERRVAL
* Add a common ret_ERRVAL definition
* Remove ret_ERRVAL from architectures using the common 'ret'
* Add 'undef' to architectures that need a different return instruction
* Add '#include <common/sysdep.h>' to cris and ia64 that were missing it
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/ia64/sysdep.h')
-rw-r--r-- | libc/sysdeps/linux/ia64/sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/ia64/sysdep.h b/libc/sysdeps/linux/ia64/sysdep.h index eacc22b68..3e7e4674a 100644 --- a/libc/sysdeps/linux/ia64/sysdep.h +++ b/libc/sysdeps/linux/ia64/sysdep.h @@ -20,6 +20,7 @@ #ifndef _LINUX_IA64_SYSDEP_H #define _LINUX_IA64_SYSDEP_H 1 +#include <common/sysdep.h> #include <features.h> #include <asm/unistd.h> @@ -169,7 +170,6 @@ #define ret br.ret.sptk.few b0 #define ret_NOERRNO ret -#define ret_ERRVAL ret #endif /* not __ASSEMBLER__ */ |