aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-01-16 06:02:52 +0000
committerRichard Henderson <rth@redhat.com>2004-01-16 06:02:52 +0000
commit647e0537dca03861582b8d65c4ced9c1b2ba3c2a (patch)
treec42054d7e0f6bd2e2035a08767342497cac30816
parent60cd0f0ab63d20939a2527c924dc6b37121414b8 (diff)
downloadglibc-647e0537dca03861582b8d65c4ced9c1b2ba3c2a.zip
glibc-647e0537dca03861582b8d65c4ced9c1b2ba3c2a.tar.gz
glibc-647e0537dca03861582b8d65c4ced9c1b2ba3c2a.tar.bz2
* sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use !samegp relocation.
* sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use !samegp relocation.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/alpha/sysdep.h8
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 <rth@redhat.com>
* 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. */