From: Ulrich Drepper Date: Thu, 22 Dec 2005 18:21:44 +0000 (+0000) Subject: * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. X-Git-Tag: cvs/fedora-glibc-20051227T1426~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=077a0da7dc2ecb4343930189413d24c637f4c4fa;p=platform%2Fupstream%2Fglibc.git * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. * sysdeps/x86_64/setjmp.S: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 5c03197..f45be3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-22 Ulrich Drepper + + * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. + * sysdeps/x86_64/setjmp.S: Likewise. + 2005-12-21 Roland McGrath * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 3d2d4ad..761308d 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2005-12-22 Ulrich Drepper + + [BZ #1913] + * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S (__new_sem_wait): + Fix unwind info. Remove useless branch prediction prefix. + 2005-12-21 Roland McGrath * libc-cancellation.c: Use <> rather than "" #includes. diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S index 1605b69..3e908ae 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S @@ -57,7 +57,7 @@ __new_sem_wait: cfi_offset(6, -12) /* %esi */ 3: movl (%ebx), %eax 2: testl %eax, %eax - je,pn 1f + je 1f leal -1(%eax), %edx LOCK @@ -73,7 +73,7 @@ __new_sem_wait: cfi_adjust_cfa_offset(-12) ret - cfi_adjust_cfa_offset(8) + cfi_adjust_cfa_offset(12) cfi_offset(3, -8) /* %ebx */ cfi_offset(6, -12) /* %esi */ 1: call __pthread_enable_asynccancel