mirror of git://sourceware.org/git/glibc.git
Add CFI directives to x86-64 pthread_rwlock_{rd,wr)lock.
This commit is contained in:
parent
78fd882a7b
commit
1bc2b97ee4
|
@ -1,3 +1,9 @@
|
||||||
|
2009-08-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Add CFI
|
||||||
|
directives.
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
|
||||||
|
|
||||||
2009-08-10 Andreas Schwab <schwab@redhat.com>
|
2009-08-10 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
|
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
||||||
.type __pthread_rwlock_rdlock,@function
|
.type __pthread_rwlock_rdlock,@function
|
||||||
.align 16
|
.align 16
|
||||||
__pthread_rwlock_rdlock:
|
__pthread_rwlock_rdlock:
|
||||||
|
cfi_startproc
|
||||||
xorq %r10, %r10
|
xorq %r10, %r10
|
||||||
|
|
||||||
/* Get the lock. */
|
/* Get the lock. */
|
||||||
|
@ -167,6 +168,7 @@ __pthread_rwlock_rdlock:
|
||||||
subq $MUTEX, %rdi
|
subq $MUTEX, %rdi
|
||||||
#endif
|
#endif
|
||||||
jmp 13b
|
jmp 13b
|
||||||
|
cfi_endproc
|
||||||
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
.size __pthread_rwlock_rdlock,.-__pthread_rwlock_rdlock
|
||||||
|
|
||||||
.globl pthread_rwlock_rdlock
|
.globl pthread_rwlock_rdlock
|
||||||
|
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
||||||
.type __pthread_rwlock_wrlock,@function
|
.type __pthread_rwlock_wrlock,@function
|
||||||
.align 16
|
.align 16
|
||||||
__pthread_rwlock_wrlock:
|
__pthread_rwlock_wrlock:
|
||||||
|
cfi_startproc
|
||||||
xorq %r10, %r10
|
xorq %r10, %r10
|
||||||
|
|
||||||
/* Get the lock. */
|
/* Get the lock. */
|
||||||
|
@ -155,6 +156,7 @@ __pthread_rwlock_wrlock:
|
||||||
subq $MUTEX, %rdi
|
subq $MUTEX, %rdi
|
||||||
#endif
|
#endif
|
||||||
jmp 13b
|
jmp 13b
|
||||||
|
cfi_endproc
|
||||||
.size __pthread_rwlock_wrlock,.-__pthread_rwlock_wrlock
|
.size __pthread_rwlock_wrlock,.-__pthread_rwlock_wrlock
|
||||||
|
|
||||||
.globl pthread_rwlock_wrlock
|
.globl pthread_rwlock_wrlock
|
||||||
|
|
Loading…
Reference in New Issue