[PATCH] [BZ #19363] Use INTERNAL_SYSCALL_TIMES for Linux times

Florian Weimer fweimer@redhat.com
Wed Dec 16 17:08:00 GMT 2015


On 12/16/2015 03:17 PM, Andreas Schwab wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
> 
>> Then they have to use proper type to hold the return from "syscall".
> 
> The proper type is long long which works for both x86_64 and x32.

Which specification location are we talking about?

In general, on x86_64, using long long where int is eventually required
can cause the compiler to emit an unnecessary truncation.

Florian



More information about the Libc-alpha mailing list