]> sourceware.org Git - glibc.git/commitdiff
alpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER.
authorRichard Henderson <rth@twiddle.net>
Wed, 15 Feb 2012 21:51:58 +0000 (13:51 -0800)
committerRichard Henderson <rth@twiddle.net>
Thu, 16 Feb 2012 00:07:11 +0000 (16:07 -0800)
ChangeLog.alpha
sysdeps/unix/alpha/sysdep.h

index 5b4be14df3459137a571c0f9db4f9765b4829f4b..eb5544cbb3387f84f415c23a4bfbeac1958adb71 100644 (file)
@@ -1,5 +1,9 @@
 2012-02-15  Richard Henderson  <rth@twiddle.net>
 
+       * sysdeps/unux/alpha/sysdep.h: Don't include <tls.h>
+       [PIC] (SYSCALL_ERROR_HANDLER): Emit nothing.
+       [PIC] (SYSCALL_ERROR_LABEL): Add !samegp markup.
+
        * sysdeps/alpha/dl-machine.h: Don't check USE___THREAD.
 
        * sysdeps/unix/alpha/sysdeps.S: Don't check __ELF__, USE___THREAD,
index 224c95d3b5f4df83a4fd151a749ea666621ddb67..e82784225b60dd21f4e7c3063c4df7a60125e10d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 2000, 2003, 2004, 2006, 2010
+/* Copyright (C) 1992, 1995, 1996, 2000, 2003, 2004, 2006, 2010, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
@@ -28,8 +28,6 @@
 # include <regdef.h>
 #endif
 
-#include <tls.h>               /* Defines USE___THREAD.  */
-
 #ifdef IS_IN_rtld
 # include <dl-sysdep.h>         /* Defines RTLD_PRIVATE_ERRNO.  */
 #endif
@@ -86,9 +84,8 @@
        lda     v0, -1;                         \
        ret
 #elif defined(PIC)
-# define SYSCALL_ERROR_LABEL   __syscall_error
-# define SYSCALL_ERROR_HANDLER \
-       br      $31, __syscall_error !samegp
+# define SYSCALL_ERROR_LABEL   __syscall_error !samegp
+# define SYSCALL_ERROR_HANDLER
 #else
 # define SYSCALL_ERROR_LABEL   $syscall_error
 # define SYSCALL_ERROR_HANDLER \
This page took 0.044373 seconds and 5 git commands to generate.