This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: sendfile64 not impelemented in mips64


On Thu, Nov 15, 2012 at 10:33:55PM +0000, Joseph S. Myers wrote:
> MIPS n64 does not use sysdeps/unix/sysv/linux/wordsize-64 because of 
> differences between struct stat and struct stat64.  To determine whether 
> some aspect of the sysdeps/unix/sysv/linux/wordsize-64 implementation of 
> some function should be copied for n64 you need to examine the interface 
> to the function, and the associated underlying syscall in the Linux 
> kernel, to determine whether such copying is correct in the particular 
> case.  Depending on the userspace interface to the function, and the 
> kernel syscall interface, in the particular case, it may or may not be 
> appropriate to handle n32 like n64 as well.
If I call sendfile64 and sendfile used with assembly language in mips64el
platform, It works well.
> It would make sense for someone to go through everything in 
> sysdeps/unix/sysv/linux/wordsize-64, with reference to the MIPS syscall 
> interface, to work out what is correct and what is optimal for both n64 
> and n32 for each function.
the sendfile64.c is empty in the directory sysdeps/unix/sysv/linux/wordsize-64 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com


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