This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/8] Define register_t using bits/typesizes.h macros.
- From: Zack Weinberg <zackw at panix dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 22 May 2019 11:31:51 -0400
- Subject: Re: [PATCH 2/8] Define register_t using bits/typesizes.h macros.
- References: <cover.1552315664.git.zackw@panix.com> <eb34f0ddc319c7e0f8bf841421a50d7182bcfff4.1552315664.git.zackw@panix.com> <87blzu4kkz.fsf@oldenburg2.str.redhat.com>
On Wed, May 22, 2019 at 10:42 AM Florian Weimer <fweimer@redhat.com> wrote:
> * Zack Weinberg:
> > * sysdeps/unix/sysv/linux/mips/bits/typesizes.h:
> > New file (copied from bits/typesizes.h).
> > Define __REGISTER_T_TYPE as __SWORD_TYPE for o32 and n64 ABIs.
> > Define __REGISTER_T_TYPE as __SQUAD_TYPE for n32.
>
> Are you sure you used the correct template for this? I would have
> expected mips to use sysdeps/unix/sysv/linux/generic/bits/typesizes.h
> before.
Yes, I am sure; I initially wrote this patch by copying
linux/generic/bits/typesizes.h and the ABI checks barfed. Only
aarch64, nios2, riscv, and csky mention linux/generic in their Implies
files at present.
zw