Skip to content

Commit

Permalink
Add CFI directives to x86-64 pthread_rwlock_unlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Aug 12, 2009
1 parent 1bc2b97 commit ae0d545
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae0d545

Please sign in to comment.