Files
semi-libc/src
Rich Felker 918c5fa0fc fix broken lseek on mipsn32 with offsets larger than LONG_MAX
mips n32 has 32-bit long, and generally uses long syscall arguments
and return values, but provides only SYS_lseek, not SYS_llseek. we
have some framework (syscall_arg_t, added for x32) to make syscall
arguments 64-bit in such a setting, but it's not clear whether this
could match the sign-extension semantics needed for 32-bit args to all
the other syscalls, and we don't have any existing mechanism to allow
the return value of syscalls to be something other than long.

instead, just provide a custom mipsn32 version of the lseek function
doing its own syscall asm with 64-bit arguments. as a result of commit
03919b26ed, stdio will also get the new
code, fixing fseeko/ftello too.
2019-07-16 21:05:24 -04:00
..
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2019-06-14 17:13:05 -04:00
2019-06-14 17:13:05 -04:00
2018-09-20 17:57:47 -04:00
2019-06-14 17:13:05 -04:00
2019-06-14 17:13:05 -04:00