alpha: Correct relocation markup for PIC SYSCALL_ERROR_HANDLER.
This commit is contained in:
parent
7b4f30e356
commit
64e65bc1ae
@ -1,5 +1,9 @@
|
|||||||
2012-02-15 Richard Henderson <rth@twiddle.net>
|
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/alpha/dl-machine.h: Don't check USE___THREAD.
|
||||||
|
|
||||||
* sysdeps/unix/alpha/sysdeps.S: Don't check __ELF__, USE___THREAD,
|
* sysdeps/unix/alpha/sysdeps.S: Don't check __ELF__, USE___THREAD,
|
||||||
|
@ -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.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Brendan Kehoe (brendan@zen.org).
|
Contributed by Brendan Kehoe (brendan@zen.org).
|
||||||
@ -28,8 +28,6 @@
|
|||||||
# include <regdef.h>
|
# include <regdef.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <tls.h> /* Defines USE___THREAD. */
|
|
||||||
|
|
||||||
#ifdef IS_IN_rtld
|
#ifdef IS_IN_rtld
|
||||||
# include <dl-sysdep.h> /* Defines RTLD_PRIVATE_ERRNO. */
|
# include <dl-sysdep.h> /* Defines RTLD_PRIVATE_ERRNO. */
|
||||||
#endif
|
#endif
|
||||||
@ -86,9 +84,8 @@
|
|||||||
lda v0, -1; \
|
lda v0, -1; \
|
||||||
ret
|
ret
|
||||||
#elif defined(PIC)
|
#elif defined(PIC)
|
||||||
# define SYSCALL_ERROR_LABEL __syscall_error
|
# define SYSCALL_ERROR_LABEL __syscall_error !samegp
|
||||||
# define SYSCALL_ERROR_HANDLER \
|
# define SYSCALL_ERROR_HANDLER
|
||||||
br $31, __syscall_error !samegp
|
|
||||||
#else
|
#else
|
||||||
# define SYSCALL_ERROR_LABEL $syscall_error
|
# define SYSCALL_ERROR_LABEL $syscall_error
|
||||||
# define SYSCALL_ERROR_HANDLER \
|
# define SYSCALL_ERROR_HANDLER \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user