projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48dbdf
)
Use correct definition of errno for NOT_IN_libc.
author
Ulrich Drepper
<drepper@redhat.com>
Sun, 12 Jan 2003 19:23:03 +0000
(19:23 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sun, 12 Jan 2003 19:23:03 +0000
(19:23 +0000)
sysdeps/unix/alpha/sysdep.S
patch
|
blob
|
history
diff --git
a/sysdeps/unix/alpha/sysdep.S
b/sysdeps/unix/alpha/sysdep.S
index
4c7c134
..
c31508b
100644
(file)
--- a/
sysdeps/unix/alpha/sysdep.S
+++ b/
sysdeps/unix/alpha/sysdep.S
@@
-47,11
+47,17
@@
__syscall_error:
#if defined(_LIBC_REENTRANT) && USE___THREAD
+#ifndef NOT_IN_libc
+# define SYSCALL_ERROR_ERRNO __libc_errno
+#else
+# define SYSCALL_ERROR_ERRNO errno
+#endif
+
LOADGP
PROLOGUE
mov v0, t0
call_pal PAL_rduniq
- ldq t1,
__libc_errno
(gp) !gottprel
+ ldq t1,
SYSCALL_ERROR_ERRNO
(gp) !gottprel
addq v0, t1, v0
stl t0, 0(v0)
lda v0, -1