[PATCH 4/6] Use INTERNAL_SYSCALL and INLINE_SYSCALL_ERROR_RETURN

H.J. Lu hjl.tools@gmail.com
Tue Oct 13 19:05:00 GMT 2015


On Tue, Oct 13, 2015 at 6:46 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Oct 13, 2015 at 09:37:48AM +0200, Andreas Schwab wrote:
>> "H.J. Lu" <hongjiu.lu@intel.com> writes:
>>
>> > +    INTERNAL_SYSCALL_DECL (err);
>> > +    result = INTERNAL_SYSCALL (fstat64, err, 2, fd, &buf64);
>> > +    if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (result, )))
>>
>> Either use err in both macro calls, or omit it in both.  Our API calls
>> for the use of it, so I prefer the former.
>>
>
> Here is the updated patch.
>

First 2 patches have been checked into master.  Here is the updated
patch.  There is no code change in libc.so on x86-64.  OK for master?

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Use-INTERNAL_SYSCALL-and-INLINE_SYSCALL_ERROR_RETURN.patch
Type: text/x-patch
Size: 8989 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20151013/89f06173/attachment.bin>


More information about the Libc-alpha mailing list