From: Ulrich Drepper Date: Wed, 12 Aug 2009 03:47:36 +0000 (-0700) Subject: Add CFI directives to x86-64 pthread_rwlock_unlock. X-Git-Tag: glibc-2.10.2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4701db37e543284856507b521a9f9c4f3d87c482;p=thirdparty%2Fglibc.git Add CFI directives to x86-64 pthread_rwlock_unlock. (cherry picked from commit ae0d54500381eb9d40710a259819d9b745a7297f) --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index cdd8bd3a466..f5650001fb5 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2009-08-11 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Add CFI + directives. + 2009-08-10 Ulrich Drepper * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Add CFI diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S index cf7f607d9ce..03391d0fc2b 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S @@ -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 , 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