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: Add sysdeps/unix/sysv/linux/x86_64/x32/lseek.S


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.


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