projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b826b71
)
(SYSCALL_ERROR_HANDLER): Add non-PIC case.
author
drepper
<drepper>
Sun, 12 Jan 2003 09:00:49 +0000
(09:00 +0000)
committer
drepper
<drepper>
Sun, 12 Jan 2003 09:00:49 +0000
(09:00 +0000)
sysdeps/unix/sysv/linux/sh/sysdep.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/sh/sysdep.h
b/sysdeps/unix/sysv/linux/sh/sysdep.h
index
ee39121
..
75557f5
100644
(file)
--- a/
sysdeps/unix/sysv/linux/sh/sysdep.h
+++ b/
sysdeps/unix/sysv/linux/sh/sysdep.h
@@
-66,7
+66,12
@@
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 \