glibc/sysdeps
Stafford Horne 4dfa8f4870 open64: Force O_LARGEFILE on all architectures
When running tests on OpenRISC which has 32-bit wordsize but 64-bit
timesize it was found that O_LARGEFILE is not being set when calling
open64.  For 64-bit architectures the O_LARGEFILE flag is generally
implied by the kernel according to force_o_largefile.  However, for
32-bit architectures this is not done.

For this patch we unconditionally now set the O_LARGEFILE flag for
open64 class syscalls as there is no harm in doing so.

Tested on the OpenRISC the build works and timezone/tst-tzset passes
which was failing before.  I would expect this also would fix arc.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-12-31 07:10:19 +09:00
..
aarch64 malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
alpha malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
arc malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
arm elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
csky malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
generic elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
gnu Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
hppa malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
htl htl: Reimplement GSCOPE 2021-09-16 01:04:17 +02:00
hurd Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
i386 malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
ia64 malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
ieee754 s_sincosf.h: Change pio4 type to float [BZ #28713] 2021-12-21 08:56:12 -08:00
m68k malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
mach elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
microblaze malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
mips malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
nios2 elf: Add _dl_find_object function 2021-12-28 22:52:56 +01:00
nptl nptl: Add public rseq symbols and <sys/rseq.h> 2021-12-09 09:49:32 +01:00
posix posix: Remove spawni.c 2021-09-27 12:44:25 -03:00
powerpc malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
pthread nptl: Add one more barrier to nptl/tst-create1 2021-12-10 11:51:25 +01:00
riscv malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
s390 malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
sh malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
sparc malloc: Remove memusage.h 2021-12-28 14:57:57 -03:00
unix open64: Force O_LARGEFILE on all architectures 2021-12-31 07:10:19 +09:00
wordsize-32 Disable symbol hack in libc_nonshared.a 2021-09-27 07:46:25 -07:00
wordsize-64 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
x86 x86-64: Add vector tan/tanf implementation to libmvec 2021-12-30 10:19:13 -08:00
x86_64 x86-64: Add vector tan/tanf implementation to libmvec 2021-12-30 10:19:13 -08:00