This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC 2.0] Implementing hwcap2
- From: Richard Henderson <rth at twiddle dot net>
- To: rsa at us dot ibm dot com
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 28 Mar 2013 11:06:33 -0700
- Subject: Re: [RFC 2.0] Implementing hwcap2
- References: <1364493171 dot 3473 dot 23 dot camel at localhost dot localdomain>
On 03/28/2013 10:52 AM, Ryan Arnold wrote:
> +++ b/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
> @@ -19,6 +19,7 @@
>
> #include <unistd.h>
> #include <dl-procinfo.h>
> +#include <stdint.h>
>
> #define STFLE_BITS_Z10 34 /* General instructions extension */
> #define STFLE_BITS_Z196 45 /* Distinct operands, pop ... */
> @@ -38,7 +39,7 @@
> extern void *FUNC##_z10 attribute_hidden; \
> extern void *FUNC##_g5 attribute_hidden; \
> \
> - void *resolve_##FUNC (unsigned long int dl_hwcap) \
> + void *resolve_##FUNC (uint64_t dl_hwcap) \
This is an abi change for 32-bit big-endian systems.
There probably aren't many^Wany ifunc users outside glibc for these
systems, but just so we're 100% clear on this.
r~