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

H.J. Lu hjl.tools@gmail.com
Wed Dec 16 13:13:00 GMT 2015


On Wed, Dec 16, 2015 at 12:35 AM, Andreas Schwab <schwab@suse.de> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> Inline asm statement doesn't use result from "syscall" instruction
>> directly. which is always converted to int/long/long long.
>
> Of course, it is converted by the syscall wrapper, but the syscall
> itself always returns a 64-bit value.

Since syscall instruction isn't used directly, It is correct for x32 to
use/return long int in INTERNAL_SYSCALL* macros.  Only times
returns long long which is handled by my patch.


-- 
H.J.



More information about the Libc-alpha mailing list