Check __x86_64__ for __cleanup_fct_attribute
This commit is contained in:
parent
1f59b0b121
commit
c0d2c8538a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user