mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-02 16:01:20 +03:00
Check __x86_64__ for __cleanup_fct_attribute
This commit is contained in:
@@ -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>
|
2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/pthread/pthread.h (PTHREAD_MUTEX_INITIALIZER): Check
|
* sysdeps/pthread/pthread.h (PTHREAD_MUTEX_INITIALIZER): Check
|
||||||
|
@@ -219,7 +219,7 @@ typedef union
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if __WORDSIZE == 32
|
#ifndef __x86_64__
|
||||||
/* Extra attributes for the cleanup functions. */
|
/* Extra attributes for the cleanup functions. */
|
||||||
# define __cleanup_fct_attribute __attribute__ ((__regparm__ (1)))
|
# define __cleanup_fct_attribute __attribute__ ((__regparm__ (1)))
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user