Check __x86_64__ for __cleanup_fct_attribute

This commit is contained in:
H.J. Lu 2012-05-11 10:12:42 -07:00
parent 1f59b0b121
commit c0d2c8538a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
(__cleanup_fct_attribute): Check __x86_64__ instead of
__x86_64__.
2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/pthread/pthread.h (PTHREAD_MUTEX_INITIALIZER): Check

View File

@ -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