From bda630857e3770dd9db61ade4e15fccbdf53feae Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 7 Nov 2013 14:38:17 +0200 Subject: 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 ' to cris and ia64 that were missing it Signed-off-by: Baruch Siach Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/sysdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/common/sysdep.h') 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 -- cgit v1.2.3