public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Andreas Schwab <schwab@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/schwab/ilp32-2.32] aarch64: adjust bits/typesizes.h Date: Wed, 5 Aug 2020 19:55:22 +0000 (GMT) [thread overview] Message-ID: <20200805195522.2F56B3857C42@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ed70203173657923e9056462355ce903867ff2c1 commit ed70203173657923e9056462355ce903867ff2c1 Author: Andreas Schwab <schwab@suse.de> Date: Wed Aug 5 16:47:28 2020 +0200 aarch64: adjust bits/typesizes.h Diff: --- sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h b/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h index e3975c762c..a38054aae4 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/typesizes.h @@ -47,9 +47,18 @@ #define __FSWORD_T_TYPE __SWORD_TYPE #define __ID_T_TYPE __U32_TYPE #define __CLOCK_T_TYPE __SLONGWORD_TYPE -#define __TIME_T_TYPE __SLONGWORD_TYPE +#if __TIMESIZE == 64 && __WORDSIZE == 32 +# define __TIME_T_TYPE __SQUAD_TYPE +#else +# define __TIME_T_TYPE __SLONGWORD_TYPE +#endif #define __USECONDS_T_TYPE __U32_TYPE -#define __SUSECONDS_T_TYPE __SLONGWORD_TYPE +#if __TIMESIZE == 64 && __WORDSIZE == 32 +# define __SUSECONDS_T_TYPE __SQUAD_TYPE +#else +# define __SUSECONDS_T_TYPE __SLONGWORD_TYPE +#endif +#define __SUSECONDS64_T_TYPE __SQUAD_TYPE #define __DADDR_T_TYPE __S32_TYPE #define __KEY_T_TYPE __S32_TYPE #define __CLOCKID_T_TYPE __S32_TYPE @@ -82,6 +91,9 @@ /* And for __fsbilcnt_t and __fsbilcnt64_t. */ #define __FSFILCNT_T_TYPE_MATCHES_FSFILCNT64_T_TYPE 1 +/* And for getitimer, setitimer and rusage */ +#define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 (__WORDSIZE == 64) + /* Number of descriptors that can fit in an `fd_set'. */ #define __FD_SETSIZE 1024
reply other threads:[~2020-08-05 19:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200805195522.2F56B3857C42@sourceware.org \ --to=schwab@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).