PATCH: Add sysdeps/unix/sysv/linux/x86_64/x32/lseek.S

H.J. Lu hjl.tools@gmail.com
Fri May 18 18:45:00 GMT 2012


On Fri, May 18, 2012 at 11:36 AM, Roland McGrath <roland@hack.frob.com> wrote:
>> Like x86-64, x32 doesn't provide llseek at all. Just like x86-64,
>> x32 llseek.o defines lseek/lseek64:
>
> Well, it would be cleaner for both if lseek.o defines lseek
> and llseek.o is empty.

This is controlled by sysdeps/unix/sysv/linux/wordsize-64/syscalls.list

# Whee! 64-bit systems naturally implement llseek.
llseek		EXTRA	lseek		Ci:iii	__libc_lseek	__lseek lseek __libc_lseek64
__llseek llseek __lseek64 lseek64

It is the same fora ll 64-bit archs.  X32 just followed them.


-- 
H.J.



More information about the Libc-alpha mailing list