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] [BZ #19363] Use INTERNAL_SYSCALL_TIMES for Linux times


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.


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