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

Andreas Schwab schwab@suse.de
Thu Dec 17 09:29:00 GMT 2015


Florian Weimer <fweimer@redhat.com> writes:

> On 12/17/2015 10:24 AM, Andreas Schwab wrote:
>> Florian Weimer <fweimer@redhat.com> writes:
>> 
>>> On 12/17/2015 09:49 AM, Andreas Schwab wrote:
>>>> Florian Weimer <fweimer@redhat.com> writes:
>>>>
>>>>> 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?
>>>>
>>>> See the PSEUDO macro in .../linux/x86_64/sysdep.h.
>>>
>>> I think we are talking about the C level constructs in this thread.
>> 
>> No, this is about the *_SYSCALL macros for inline syscalls.
>
> I don't understand—the PSEUDO macro in that file is guarded by “#ifdef
> __ASSEMBLER__”.

It shows how the syscall interface is defined.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list