Use __UWORD_TYPE for __NLINK_T_TYPE with -m32

This commit is contained in:
H.J. Lu 2012-05-30 11:35:47 -07:00
parent 8d8f2279e7
commit d5c9086734
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14183]
* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2012-05-30 Richard Henderson <rth@twiddle.net>
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output

View File

@ -41,7 +41,11 @@
#define __INO_T_TYPE __SYSCALL_ULONG_TYPE
#define __INO64_T_TYPE __UQUAD_TYPE
#define __MODE_T_TYPE __U32_TYPE
#define __NLINK_T_TYPE __SYSCALL_ULONG_TYPE
#ifdef __x86_64__
# define __NLINK_T_TYPE __SYSCALL_ULONG_TYPE
#else
# define __NLINK_T_TYPE __UWORD_TYPE
#endif
#define __OFF_T_TYPE __SYSCALL_SLONG_TYPE
#define __OFF64_T_TYPE __SQUAD_TYPE
#define __PID_T_TYPE __S32_TYPE