aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:12:42 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-11 10:12:42 -0700
commitc0d2c8538a89c7a3de158ab60fe35fe1f9960803 (patch)
treed37b6842bd1ef732f05620ccb53ff026d20a43b4 /nptl/sysdeps
parent1f59b0b121e1fe9df13560096c55d8ad6c6e8c46 (diff)
downloadglibc-c0d2c8538a89c7a3de158ab60fe35fe1f9960803.tar
glibc-c0d2c8538a89c7a3de158ab60fe35fe1f9960803.tar.gz
glibc-c0d2c8538a89c7a3de158ab60fe35fe1f9960803.tar.bz2
glibc-c0d2c8538a89c7a3de158ab60fe35fe1f9960803.zip
Check __x86_64__ for __cleanup_fct_attribute
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
index 32be0b6421..e05b8f5c36 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
@@ -219,7 +219,7 @@ typedef union
#endif
-#if __WORDSIZE == 32
+#ifndef __x86_64__
/* Extra attributes for the cleanup functions. */
# define __cleanup_fct_attribute __attribute__ ((__regparm__ (1)))
#endif