From 647e0537dca03861582b8d65c4ced9c1b2ba3c2a Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 16 Jan 2004 06:02:52 +0000 Subject: [PATCH] * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use !samegp relocation. * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use !samegp relocation. --- ChangeLog | 3 +++ sysdeps/unix/alpha/sysdep.h | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5020f65..ff2b6ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal. + * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use + !samegp relocation. + 2004-01-15 Richard Henderson * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process diff --git a/sysdeps/unix/alpha/sysdep.h b/sysdeps/unix/alpha/sysdep.h index 26cf918..d3ed2a9 100644 --- a/sysdeps/unix/alpha/sysdep.h +++ b/sysdeps/unix/alpha/sysdep.h @@ -85,13 +85,11 @@ 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 br $31, SYSCALL_ERROR_LABEL #else # define SYSCALL_ERROR_LABEL $syscall_error -# define SYSCALL_ERROR_HANDLER \ - jmp $31, __syscall_error +# define SYSCALL_ERROR_HANDLER jmp $31, __syscall_error #endif /* RTLD_PRIVATE_ERRNO */ /* Overridden by specific syscalls. */ -- 2.7.4