diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-10-19 19:14:18 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-12-07 11:27:01 -0300 |
commit | 04e7e2658c4ffe1a96fb445cbfe583a9d51ca622 (patch) | |
tree | 0352bc9e1ff77373b554107bada6401410a03659 /sysdeps/unix/sysv/linux/mips | |
parent | 9cffb295e3af682bcc1c2629e808e3db8a4e2cbf (diff) | |
download | glibc-04e7e2658c4ffe1a96fb445cbfe583a9d51ca622.tar.gz glibc-04e7e2658c4ffe1a96fb445cbfe583a9d51ca622.tar.xz glibc-04e7e2658c4ffe1a96fb445cbfe583a9d51ca622.zip |
Linux: consolidate sendfile implementation
This is similar to other LFS consolidation, where the non-LFS is only built if __OFF_T_MATCHES_OFF64_T is not defined and the LFS version is aliased to non-LFS name if __OFF_T_MATCHES_OFF64_T is defined. For non-LFS variant, use sendfile syscall if defined, otherwise use sendfile64 plus the offset overflow check (as generic implementation). Checked on x86_64-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c b/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c deleted file mode 100644 index 4c451bd093..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c +++ /dev/null @@ -1 +0,0 @@ -/* sendfile64 is alias of sendfile syscall. */ diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list deleted file mode 100644 index 0924f245d4..0000000000 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list +++ /dev/null @@ -1,3 +0,0 @@ -# File name Caller Syscall name # args Strong name Weak names - -sendfile - sendfile i:iipi sendfile sendfile64 |