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

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


On Fri, May 18, 2012 at 11:04 AM, Roland McGrath <roland@hack.frob.com> wrote:
> On existing machines we define llseek with a link warning and tell people
> to use lseek64 or lseek instead.  So I think what you really should be
> doing is putting the real code in x32/lseek.S and adding a dummy llseek.c
> so that we get no llseek at all.
>

Like x86-64, x32 doesn't provide llseek at all. Just like x86-64,
x32 llseek.o defines lseek/lseek64:

00000000 T __libc_lseek64
         U __libc_multiple_threads
00000000 W lseek
00000000 W __lseek
00000000 W lseek64
00000000 W __lseek64


-- 
H.J.



More information about the Libc-alpha mailing list