[PATCH] [BZ #19371] Properly handle x32 syscall

Rich Felker dalias@libc.org
Wed Dec 16 17:12:00 GMT 2015


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.

Rich



More information about the Libc-alpha mailing list