(SYSCALL_ERROR_HANDLER): Add non-PIC case.
authordrepper <drepper>
Sun, 12 Jan 2003 09:00:49 +0000 (09:00 +0000)
committerdrepper <drepper>
Sun, 12 Jan 2003 09:00:49 +0000 (09:00 +0000)
sysdeps/unix/sysv/linux/sh/sysdep.h

index ee39121..75557f5 100644 (file)
   END (name)
 
 #ifndef PIC
-# define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used.  */
+# define SYSCALL_ERROR_HANDLER \
+       mov.l 0f,r1; \
+       jmp @r1; \
+        mov r0,r4; \
+       .align 2; \
+     0: .long __syscall_error
 #else
 # if RTLD_PRIVATE_ERRNO
 #  define SYSCALL_ERROR_HANDLER        \