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


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."


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