diff options
author | Carlos Eduardo Seo <carlos.seo@arm.com> | 2022-01-26 16:19:33 -0300 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-27 14:46:49 +0100 |
commit | f574dab01e3792fc4337744bf3853f38c15278c5 (patch) | |
tree | 722f07cba97ae2a0ad9cf0b12456d72e8fed456f /sysdeps/unix/sysv | |
parent | 1564a64fbe61c21b6b54ed8eacf8c9f82a41e20b (diff) | |
download | glibc-f574dab01e3792fc4337744bf3853f38c15278c5.tar glibc-f574dab01e3792fc4337744bf3853f38c15278c5.tar.gz glibc-f574dab01e3792fc4337744bf3853f38c15278c5.tar.bz2 glibc-f574dab01e3792fc4337744bf3853f38c15278c5.zip |
cheri: __LP64__ is not defined for purecap ABI
There is no ideal ABI macro, so we assume __CHERI_PURE_CAPABILITY__
implies 64 bit long, 64 bit address and 128 bit pointer.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/generic/bits/typesizes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h index 6b13ff315c..c70dcbccd8 100644 --- a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h +++ b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h @@ -75,7 +75,7 @@ #define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE #define __CPU_MASK_TYPE __ULONGWORD_TYPE -#if defined __LP64__ || (__TIMESIZE == 64 && __WORDSIZE == 32) +#if defined __LP64__ || (__TIMESIZE == 64 && __WORDSIZE == 32) || defined __CHERI_PURE_CAPABILITY__ /* Tell the libc code that off_t and off64_t are actually the same type for all ABI purposes, even if possibly expressed as different base types for C type-checking purposes. */ |