summaryrefslogtreecommitdiff
path: root/sysdeps/unix/alpha/sysdep.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-28 21:05:24 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-28 21:05:24 +0000
commit346f18ae184514eacd3b90ae2e727dec0a3c34bb (patch)
tree7d07d03d260ec7fd7a396c7faef1555146d04fb0 /sysdeps/unix/alpha/sysdep.S
parentf3a1975474102f51d4276fb1bde7e48dadab0757 (diff)
[BZ #230, BZ #231]
Update. 2004-06-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo. [BZ #231] * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp relocation in librt.so. [BZ #230] * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
Diffstat (limited to 'sysdeps/unix/alpha/sysdep.S')
-rw-r--r--sysdeps/unix/alpha/sysdep.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/alpha/sysdep.S b/sysdeps/unix/alpha/sysdep.S
index ce848f4e9b..c67a6542f6 100644
--- a/sysdeps/unix/alpha/sysdep.S
+++ b/sysdeps/unix/alpha/sysdep.S
@@ -1,4 +1,5 @@
-/* Copyright (C) 1993, 1996, 1998, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1996, 1998, 2002, 2003, 2004
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
@@ -95,7 +96,7 @@ __syscall_error:
PROLOGUE
/* Find our per-thread errno address */
-#ifdef PIC
+#if defined PIC && !defined IS_IN_librt
bsr ra, __errno_location !samegp
#else
jsr ra, __errno_location