[RFC2 PATCH] [AARCH64] ILP32: support stat syscall family

Andreas Schwab schwab@suse.de
Wed Jul 6 12:52:00 GMT 2016


Yury Norov <ynorov@caviumnetworks.com> writes:

> diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h b/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h
> index 39c0c81..be6497f 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h
> @@ -62,6 +62,12 @@
>  #define __SYSCALL_ULONG_TYPE	__ULONGWORD_TYPE
>  #define __CPU_MASK_TYPE         __ULONGWORD_TYPE
>  
> +
> +#ifdef __ILP32__
> +# define __ASSUME_SUPPORT_64_BIT_TIME_TYPES
> +# define XSTAT_IS_XSTAT64
> +#endif

Please run the testsuite and notice any failures.

> +#ifndef SUPPORT_64BIT_TIME_TYPES	1

Syntax error.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list