about summary refs log tree commit diff
path: root/sysdeps/x86_64/nptl/pthread_spin_unlock.S
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2016-01-20 13:39:20 -0800
committerPaul Pluzhnikov <ppluzhnikov@google.com>2016-01-20 13:39:20 -0800
commitb274130206cb9fce1d7b026386a910428cbdb45c (patch)
treead69b3e6b748374d5096221a89e1afb52a193f9e /sysdeps/x86_64/nptl/pthread_spin_unlock.S
parentdcb133b7a4fdc701009b344c286b6cc9bda67a0c (diff)
downloadglibc-b274130206cb9fce1d7b026386a910428cbdb45c.tar.gz
glibc-b274130206cb9fce1d7b026386a910428cbdb45c.tar.xz
glibc-b274130206cb9fce1d7b026386a910428cbdb45c.zip
2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #19490]
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S (pthread_cond_broadcast): Use ENTRY/END
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S (pthread_cond_signal): Likewise
* sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock): Likewise
* sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock): Likewise
* sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock): Likewise
Diffstat (limited to 'sysdeps/x86_64/nptl/pthread_spin_unlock.S')
-rw-r--r--sysdeps/x86_64/nptl/pthread_spin_unlock.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/x86_64/nptl/pthread_spin_unlock.S b/sysdeps/x86_64/nptl/pthread_spin_unlock.S
index e341018e00..188de2e8cb 100644
--- a/sysdeps/x86_64/nptl/pthread_spin_unlock.S
+++ b/sysdeps/x86_64/nptl/pthread_spin_unlock.S
@@ -16,14 +16,13 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-	.globl	pthread_spin_unlock
-	.type	pthread_spin_unlock,@function
-	.align	16
-pthread_spin_unlock:
+#include <sysdep.h>
+
+ENTRY(pthread_spin_unlock)
 	movl	$1, (%rdi)
 	xorl	%eax, %eax
 	retq
-	.size	pthread_spin_unlock,.-pthread_spin_unlock
+END(pthread_spin_unlock)
 
 	/* The implementation of pthread_spin_init is identical.  */
 	.globl	pthread_spin_init