(PSEUDO_RET): New macro.
authorUlrich Drepper <drepper@redhat.com>
Sat, 29 Jul 2000 18:03:21 +0000 (18:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 29 Jul 2000 18:03:21 +0000 (18:03 +0000)
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.

sysdeps/unix/sysv/linux/arm/sysdep.h

index c337af2..1413a48 100644 (file)
   .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)                                                      \