This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][AArch64] Fix elf_greg_t on ILP32


On Tue, Aug 29, 2017 at 11:00 AM, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> On 23/08/17 18:21, Szabolcs Nagy wrote:
>> Use uint64_t instead of unsigned long.
>>
>> will commit it tomorrow if there are no objections.
>>
>> ChangleLog:
>> 2017-08-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
>>
>>       * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
>>       Use uint64_t instead of unsigned long.
>>
>
> hm sys/procfs.h is included into signal.h
> via sys/ucontext.h, where stdint.h should
> not be exposed..

sys/procfs.h already includes sys/types.h, so use __uint64_t.

Why does sys/ucontext.h need to include sys/procfs.h?

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]