]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add CFI directives to x86-64 pthread_rwlock_unlock.
authorUlrich Drepper <drepper@redhat.com>
Wed, 12 Aug 2009 03:47:36 +0000 (20:47 -0700)
committerUlrich Drepper <drepper@redhat.com>
Wed, 12 Aug 2009 03:47:36 +0000 (20:47 -0700)
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S

index f8e85a924760adfa1f71149f2fa91c2d4901f25b..88975a76e01a9df79ff65fd59a735840f9f19601 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-11  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Add CFI
+       directives.
+
 2009-08-10  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Add CFI
index cf7f607d9ce06709f39eca33178c4675b0f58afc..03391d0fc2b5c683cbc4cd438727f8ec74c7b5b4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -29,6 +29,7 @@
        .type   __pthread_rwlock_unlock,@function
        .align  16
 __pthread_rwlock_unlock:
+       cfi_startproc
        /* Get the lock.  */
        movl    $1, %esi
        xorl    %eax, %eax
@@ -119,7 +120,7 @@ __pthread_rwlock_unlock:
 #endif
        callq   __lll_unlock_wake
        jmp     8b
-
+       cfi_endproc
        .size   __pthread_rwlock_unlock,.-__pthread_rwlock_unlock
 
        .globl  pthread_rwlock_unlock