This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC2 PATCH] [AARCH64] ILP32: support stat syscall family
- From: Yury Norov <ynorov at caviumnetworks dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: <libc-alpha at sourceware dot org>, <joseph at codesourcery dot com>, <arnd at arndb dot de>, <catalin dot marinas at arm dot com>, <davem at davemloft dot net>, <szabolcs dot nagy at arm dot com>, <maxim dot kuvyrkov at linaro dot org>, <pinskia at gmail dot com>, <bamvor dot zhangjian at huawei dot com>, <fweimer at redhat dot com>, <Prasun dot Kapoor at cavium dot com>, <adhemerval dot zanella at linaro dot org>
- Date: Wed, 6 Jul 2016 17:11:07 +0300
- Subject: Re: [RFC2 PATCH] [AARCH64] ILP32: support stat syscall family
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Yuri dot Norov at caviumnetworks dot com;
- References: <1467808850-9004-1-git-send-email-ynorov@caviumnetworks.com> <mvmlh1f0w0u.fsf@hawking.suse.de>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Wed, Jul 06, 2016 at 02:51:45PM +0200, Andreas Schwab wrote:
> 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.
Oh, sorry. Shame on me. I have no idea how I missed it.
I will fix it and resend patch.
Yury.