This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] [BZ #19371] Properly handle x32 syscall
- From: Rich Felker <dalias at libc dot org>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 16 Dec 2015 12:12:12 -0500
- Subject: Re: [PATCH] [BZ #19371] Properly handle x32 syscall
- Authentication-results: sourceware.org; auth=none
- References: <20151216150139 dot GA24629 at gmail dot com>
On Wed, Dec 16, 2015 at 07:01:39AM -0800, H.J. Lu wrote:
> X32 syscall() may return 64-bit integer as lseek, time and times. Its
> return type should be __syscall_slong_t instead of long int. We need
> to properly return 64-bit error value.
Where is this actually needed? I don't think changing the type of a
public function to be arch-specific is an appropriate API change to
make, much less an appropriate ABI change.