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.
This commit is contained in:
Ulrich Drepper 2004-06-29 15:54:37 +00:00
parent 5fa2f83c9e
commit d3d355272a
10 changed files with 34 additions and 10 deletions

View File

@ -1,3 +1,8 @@
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.
2004-06-20 Jim Meyering <jim@meyering.net>
* malloc/obstack.h (obstack_base): Cast to `void *', to align with

View File

@ -1,3 +1,9 @@
2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Fix
branch offset for a PLT entry.
(CDISABLE): Likewise.
2004-05-31 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/Makefile (CFLAGS-pt-initfini.s):

View File

@ -114,7 +114,7 @@
mov r0,r2; \
.align 2; \
1: .long _GLOBAL_OFFSET_TABLE_; \
2: .long __local_enable_asynccancel@PLT - (0b+2-.); \
2: .long __local_enable_asynccancel@PLT - (0b-.); \
3: mov.l @r15+,r12
# define CDISABLE \
@ -129,7 +129,7 @@
nop; \
.align 2; \
1: .long _GLOBAL_OFFSET_TABLE_; \
2: .long __local_disable_asynccancel@PLT - (0b+2-.); \
2: .long __local_disable_asynccancel@PLT - (0b-.); \
3: mov.l @r15+,r12
# else
# define CENABLE \

View File

@ -1,3 +1,16 @@
2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/pthread_once.S (__pthread_once):
Fix branch offset for a PLT entry.
* sysdeps/unix/sysv/linux/sh/sem_post.S (__new_sem_post):
Likewise.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait):
Likewise.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S (__new_sem_trywait):
Likewise.
* sysdeps/unix/sysv/linux/sh/sem_wait.S (__new_sem_wait):
Likewise.
2004-06-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Define

View File

@ -210,7 +210,7 @@ __pthread_once:
.align 2
.Lsigsetjmp:
.long __sigsetjmp@PLT-(.Lsigsetjmp0+2-.)
.long __sigsetjmp@PLT-(.Lsigsetjmp0-.)
.Lcpush:
.long HIDDEN_JUMPTARGET(__pthread_register_cancel)-.Lcpush0
.Lcpop:

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2003 Free Software Foundation, Inc.
/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -81,7 +81,7 @@ __new_sem_post:
.long errno@GOTTPOFF
#else
.Lerrloc3:
.long __errno_location@PLT-(.Lerrloc3b+2-.)
.long __errno_location@PLT-(.Lerrloc3b-.)
#endif
.size __new_sem_post,.-__new_sem_post
versioned_symbol(libpthread, __new_sem_post, sem_post, GLIBC_2_1)

View File

@ -228,7 +228,7 @@ sem_timedwait:
.long errno@GOTTPOFF
#else
.Lerrloc2:
.long __errno_location@PLT-(.Lerrloc2b+2-.)
.long __errno_location@PLT-(.Lerrloc2b-.)
#endif
.Lenable0:
.long __pthread_enable_asynccancel-.Lenable0b

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2003 Free Software Foundation, Inc.
/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -83,7 +83,7 @@ __new_sem_trywait:
.long errno@GOTTPOFF
#else
.Lerrloc1:
.long __errno_location@PLT-(.Lerrloc1b+2-.)
.long __errno_location@PLT-(.Lerrloc1b-.)
#endif
.size __new_sem_trywait,.-__new_sem_trywait
versioned_symbol(libpthread, __new_sem_trywait, sem_trywait, GLIBC_2_1)

View File

@ -155,7 +155,7 @@ __new_sem_wait:
.long errno@GOTTPOFF
#else
.Lerrloc0:
.long __errno_location@PLT-(.Lerrloc0b+2-.)
.long __errno_location@PLT-(.Lerrloc0b-.)
#endif
.Lenable0:
.long __pthread_enable_asynccancel-.Lenable0b

View File

@ -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