summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-11-07 14:38:17 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-12-20 15:46:49 +0100
commitbda630857e3770dd9db61ade4e15fccbdf53feae (patch)
treeff5d1994eb99c7775a2aba107dda0c403cfa87ef /libc/sysdeps/linux/common
parent7c1650f01179844789b92a90c286a27a7079fefb (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/common')
-rw-r--r--libc/sysdeps/linux/common/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/sysdep.h b/libc/sysdeps/linux/common/sysdep.h
index 8e39b5b9a..d7fb31412 100644
--- a/libc/sysdeps/linux/common/sysdep.h
+++ b/libc/sysdeps/linux/common/sysdep.h
@@ -48,6 +48,8 @@
#define JUMPTARGET(sym) sym
#endif
+#define ret_ERRVAL ret
+
/* Macros to generate eh_frame unwind information. */
# ifdef HAVE_ASM_CFI_DIRECTIVES
# define cfi_sections(sect...) .cfi_sections sect