about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-29 15:54:37 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-29 15:54:37 +0000
commitd3d355272a277bfa14914624881f600e5f8b7d10 (patch)
treed08f42a0ff9949cb7a25c9529851eca8d7c6211d /sysdeps/unix
parent5fa2f83c9e1ae975ee381214cb23a4538c6e452d (diff)
downloadglibc-d3d355272a277bfa14914624881f600e5f8b7d10.tar.gz
glibc-d3d355272a277bfa14914624881f600e5f8b7d10.tar.xz
glibc-d3d355272a277bfa14914624881f600e5f8b7d10.zip
Update.
2004-06-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
	Fix branch offset for a PLT entry.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/sh/sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.h b/sysdeps/unix/sysv/linux/sh/sysdep.h
index e1fad87ffe..35b8a58afa 100644
--- a/sysdeps/unix/sysv/linux/sh/sysdep.h
+++ b/sysdeps/unix/sysv/linux/sh/sysdep.h
@@ -160,7 +160,7 @@
 	 mov _IMM1,r0; \
 	.align 2; \
      0: .long _GLOBAL_OFFSET_TABLE_; \
-     1: .long PLTJMP(C_SYMBOL_NAME(__errno_location))-(2b+2-.)
+     1: .long PLTJMP(C_SYMBOL_NAME(__errno_location))-(2b-.)
 /* A quick note: it is assumed that the call to `__errno_location' does
    not modify the stack!  */
 #  endif