]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[BZ #230, BZ #231]
authorUlrich Drepper <drepper@redhat.com>
Mon, 28 Jun 2004 21:05:24 +0000 (21:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 28 Jun 2004 21:05:24 +0000 (21:05 +0000)
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>.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/alpha/tcb-offsets.sym
sysdeps/alpha/dl-machine.h
sysdeps/unix/alpha/sysdep.S
sysdeps/unix/alpha/sysdep.h

index 2bff85de0894fd942080be81d59ac11a5cef1851..c9040fe4d271482b08365eb5fd0bc01fe6d51a2f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+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>.
+
 2004-06-27  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/ldconfig.c (add_dir): Take chroot into account.
index 275d1a7ff516a25be842a1a17bbcbbbeb3f6001d..6ef7ff136f1511e0358e9c150957aacbff084b9e 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/alpha/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Define
+       unconditionally.
+
 2004-06-28  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/pthread/pthread_rwlock_timedwrlock.c
index a1a1e45951028f5f9405a6e482b1e96bcf642807..14494ee2cdb2a30323ad3ddbeb55939a3574efbf 100644 (file)
@@ -7,7 +7,5 @@
 # define __builtin_thread_pointer()  ((void *) 0)
 # define thread_offsetof(mem)       ((void *) &THREAD_SELF->mem - (void *) 0)
 
-#if TLS_MULTIPLE_THREADS_IN_TCB
 MULTIPLE_THREADS_OFFSET                thread_offsetof (header.multiple_threads)
-#endif
 PID_OFFSET                     thread_offsetof (pid)
index 35d7e1dbde72b32636e2946bc62656dfe0565732..7c5f3c151827c973725a7e67b7b097b6b6dfd567 100644 (file)
@@ -321,7 +321,8 @@ _dl_start_user:                                                     \n\
        mov     $0, $9                                          \n\
        /* See if we were run as a command with the executable  \n\
           file name as an extra leading argument.  */          \n\
-       ldl     $1, _dl_skip_args($gp)  !gprel                  \n\
+       ldah    $1, _dl_skip_args($gp)  !gprelhigh              \n\
+       ldl     $1, _dl_skip_args($1)   !gprellow               \n\
        bne     $1, $fixup_stack                                \n\
 $fixup_stack_ret:                                              \n\
        /* The special initializer gets called with the stack   \n\
index ce848f4e9b877158553644a5beb42d066264fd9a..c67a6542f67a7b7bca5d43e0c0926dc11ffe3239 100644 (file)
@@ -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
index 26cf918c1c96c144b58bdb043bce9fa2c0794edf..f60eafea495a21a4fceeedf7b71429fe878d91e9 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (C) 1992, 1995, 1996, 2000, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1996, 2000, 2003, 2004
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -364,7 +365,7 @@ __LABEL(name)                                               \
        __asm__ __volatile__                                    \
          ("callsys # %0 %1 <= %2 %3 %4 %5 %6 %7 %8"            \
           : inline_syscall_r0_out_constraint (_sc_0),          \
-            "=r"(_sc_19) "=r"(_sc_16), "=r"(_sc_17),           \
+            "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17),          \
             "=r"(_sc_18), "=r"(_sc_20), "=r"(_sc_21)           \
           : "0"(_sc_0), "2"(_sc_16), "3"(_sc_17), "4"(_sc_18), \
             "1"(_sc_19), "5"(_sc_20), "6"(_sc_21)              \