glibc/sysdeps
Adhemerval Zanella 7d80f48e93 Consolidate getdirentries{64} implementation
This patch consolidates Linux getdirentries{64} implementation on just
the default sysdeps/unix/sysv/linux/getdirentries{64} ones.  The default
implementation handles the Linux requirements:

  * getdirentries is only built for _DIRENT_MATCHES_DIRENT64 being 0.

  * getdirentries64 is always built and aliased to getdents for ABIs
    that define _DIRENT_MATCHES_DIRENT64 to 1.

Checked on aarch64-linux-gnu, x86_64-linux-gnu, i686-linux-gnu,
sparcv9-linux-gnu, sparc64-linux-gnu, powerpc-linux-gnu, and
powerpc64le-linux-gnu.

	* sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
	_DIRENT_MATCHES_DIRENT64 is not defined.
	* sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
	implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
	is defined.
	* sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
	* sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
2018-04-25 17:55:33 -03:00
..
aarch64 elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
alpha elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
arm Drop fpregset unused symbol exposition 2018-04-20 01:27:13 +02:00
generic elf: Correct absolute (SHN_ABS) symbol run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
gnu hurd: Fix symbols exposition 2018-04-19 20:14:45 +02:00
hppa Update hppa libm-test-ulps 2018-04-20 15:36:41 -03:00
htl hurd: Avoid exposing all <sched.h> symbols from sys/types.h 2018-04-19 20:24:36 +02:00
hurd hurd: Fix hurd installed headers test 2018-04-20 00:16:40 +02:00
i386 Drop fpregset unused symbol exposition 2018-04-20 01:27:13 +02:00
ia64 elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
ieee754 Improves __ieee754_exp(x) performance by 18-37% when |x| < 1.0397 2018-04-15 18:46:37 -04:00
init_array sysdeps/init_array: Add PREINIT_FUNCTION to crti.S 2018-01-29 10:22:26 -08:00
m68k Drop fpregset unused symbol exposition 2018-04-20 01:27:13 +02:00
mach Fix Hurd glibc build with GCC 8. 2018-04-24 16:33:47 +00:00
microblaze elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
mips Drop fpregset unused symbol exposition 2018-04-20 01:27:13 +02:00
nios2 Update sysdeps/nios2/libm-test-ulps 2018-04-19 12:00:58 -07:00
nptl Filter out NPTL internal signals (BZ #22391) 2018-04-03 13:30:49 -03:00
posix Consolidate Linux readdir{64}{_r} implementation 2018-04-06 17:49:02 -03:00
powerpc powerpc: Update sin, cos and sincos ULPs 2018-04-04 19:17:13 -03:00
pthread hurd: fix sigevent's sigev_notify_attributes field type 2018-04-19 21:43:44 +02:00
riscv elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
s390 S390: Regenerate ULPs. 2018-04-05 16:24:06 +02:00
sh elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
sparc Update SPARC libm-test-ulps. 2018-04-05 17:10:03 -03:00
tile elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00
unix Consolidate getdirentries{64} implementation 2018-04-25 17:55:33 -03:00
wordsize-32 Use libc_hidden_* for strtoumax (bug 15105). 2018-02-28 14:16:21 +00:00
wordsize-64 Use libc_hidden_* for strtoumax (bug 15105). 2018-02-28 14:16:21 +00:00
x86 Remove sysdeps/x86/fpu/bits/mathinline.h __finite inline. 2018-03-16 18:36:53 +00:00
x86_64 elf: Unify symbol address run-time calculation [BZ #19818] 2018-04-04 23:09:37 +01:00