about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-08-09 10:07:10 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-09 10:07:10 -0400
commita724d1b9bfa0f6ee9146b365e43ea6e245d0cf0c (patch)
tree2feb0ee394de3637e0355d3a19d407e75a89704c /nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
parentc55fbd1ea768f9fdef34a01377702c0d72cbc213 (diff)
downloadglibc-a724d1b9bfa0f6ee9146b365e43ea6e245d0cf0c.tar.gz
glibc-a724d1b9bfa0f6ee9146b365e43ea6e245d0cf0c.tar.xz
glibc-a724d1b9bfa0f6ee9146b365e43ea6e245d0cf0c.zip
Fix stack alignment on x86_64
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
index e6535fb9a7..48ea8b967e 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2005, 2007, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2005, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -63,9 +63,9 @@ __pthread_cond_timedwait:
 	cfi_adjust_cfa_offset(8)
 	cfi_rel_offset(%r15, 0)
 #ifdef __ASSUME_FUTEX_CLOCK_REALTIME
-# define FRAME_SIZE 32
+# define FRAME_SIZE (32+8)
 #else
-# define FRAME_SIZE 48
+# define FRAME_SIZE (48+8)
 #endif
 	subq	$FRAME_SIZE, %rsp
 	cfi_adjust_cfa_offset(FRAME_SIZE)