]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to cvs/fedora-glibc-20070117T0857 cvs/fedora-glibc-20070117T1043
authorUlrich Drepper <drepper@redhat.com>
Wed, 17 Jan 2007 09:33:32 +0000 (09:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 17 Jan 2007 09:33:32 +0000 (09:33 +0000)
demangle pointer.
* csu/libc-start.c: Likewise.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S

index 69a534f4e7bf8df3c7977714ad04724497902641..32f9044fe2919c02511b60a04443c479483a69c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to
+       demangle pointer.
+       * csu/libc-start.c: Likewise.
+
 2007-01-16  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot
index 064d19fff19c962a6d0437b8a0889b75ccbed777..4e76b5180f318071d311a808b773c81a183e3b06 100644 (file)
@@ -1,5 +1,8 @@
 2007-01-17  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+       (__lll_timedwait_tid): Add unwind info.
+
        * sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy the
        function table, mangle the pointers.
        * sysdeps/pthread/pthread-functions.h: Define PTHFCT_CALL.
index 90f10e6f4fbd8b62395b9eb679ebb29045d42507..3783f1cceeab168d76c13ca93d4c1569160acdb1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2006, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -269,13 +269,19 @@ __lll_mutex_unlock_wake:
        .hidden __lll_timedwait_tid
        .align  16
 __lll_timedwait_tid:
+       cfi_startproc
        pushq   %r12
+       cfi_adjust_cfa_offset(8)
        pushq   %r13
+       cfi_adjust_cfa_offset(8)
+       cfi_offset(%r12, -16)
+       cfi_offset(%r13, -24)
 
        movq    %rdi, %r12
        movq    %rsi, %r13
 
        subq    $16, %rsp
+       cfi_adjust_cfa_offset(16)
 
        /* Get current time.  */
 2:     movq    %rsp, %rdi
@@ -319,14 +325,21 @@ __lll_timedwait_tid:
 4:     xorl    %eax, %eax
 
 8:     addq    $16, %rsp
+       cfi_adjust_cfa_offset(-16)
        popq    %r13
+       cfi_adjust_cfa_offset(-8)
+       cfi_restore(%r13)
        popq    %r12
+       cfi_adjust_cfa_offset(-8)
+       cfi_restore(%r12)
        retq
 
+       cfi_adjust_cfa_offset(32)
 1:     cmpq    $-ETIMEDOUT, %rax
        jne     2b
 
 6:     movl    $ETIMEDOUT, %eax
        jmp     8b
+       cfi_endproc
        .size   __lll_timedwait_tid,.-__lll_timedwait_tid
 #endif