From: Ulrich Drepper Date: Sat, 29 Jul 2000 18:03:21 +0000 (+0000) Subject: (PSEUDO_RET): New macro. X-Git-Tag: upstream/2.30~10627^2~2307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63ac74aa9483fa76197f5e369bdfb3ac7677cd05;p=external%2Fglibc.git (PSEUDO_RET): New macro. (ret): Redefine to PSEUDO_RET. (PSEUDO): Remove jump to syscall_error. --- diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h index c337af2..1413a48 100644 --- a/sysdeps/unix/sysv/linux/arm/sysdep.h +++ b/sysdeps/unix/sysv/linux/arm/sysdep.h @@ -52,8 +52,13 @@ .type syscall_error,%function; \ ENTRY (name); \ DO_CALL (args, syscall_name); \ - cmn r0, $4096; \ - bhs PLTJMP(C_SYMBOL_NAME(__syscall_error)); + cmn r0, $4096; + +#define PSEUDO_RET \ + RETINSTR(movcc, pc, lr); \ + b PLTJMP(__syscall_error) +#undef ret +#define ret PSEUDO_RET #undef PSEUDO_END #define PSEUDO_END(name) \