glibc/sysdeps
Stefan Liebler 7c6513082b Fix output of LD_SHOW_AUXV=1.
Starting with commit 1616d034b6
the output was corrupted on some platforms as _dl_procinfo
was called for every auxv entry and on some architectures like s390
all entries were represented as "AT_HWCAP".

This patch is removing the condition and let _dl_procinfo decide if
an entry is printed in a platform specific or generic way.
This patch also adjusts all _dl_procinfo implementations which assumed
that they are only called for AT_HWCAP or AT_HWCAP2. They are now just
returning a non-zero-value for entries which are not handled platform
specifc.

ChangeLog:

	* elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
	call _dl_procinfo.
	* sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
	Ignore types other than AT_HWCAP.
	* sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
	Likewise.
	* sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
	in the case of falling back to generic output mechanism.
	* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
	Likewise.
2019-03-13 10:45:35 +01:00
..
aarch64 Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
alpha alpha: Fix __remqu corrupting $f3 register 2019-01-24 10:28:13 -08:00
arm Break further lines before not after operators. 2019-02-26 15:01:50 +00:00
csky C-SKY: mark lr as undefined to stop unwinding 2019-03-11 09:51:14 +08:00
generic elf: Remove remnants of MAP_ANON emulation 2019-03-04 17:54:14 +01:00
gnu Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
hppa Add some spaces before '('. 2019-02-27 13:55:45 +00:00
htl hurd: advertise *_setpshared as not supported 2019-01-02 22:21:34 +01:00
hurd Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
i386 Add and move fall-through comments in system-specific code. 2019-02-26 02:09:18 +00:00
ia64 Add some spaces before '('. 2019-02-27 13:55:45 +00:00
ieee754 ldbl-opt: Reuse test cases from misc/ that check long double 2019-03-01 15:32:49 -03:00
init_array Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
m68k wcsmbs: optimize wcpcpy 2019-02-27 10:00:34 -03:00
mach Break lines before not after operators, batch 4. 2019-03-07 20:20:25 +00:00
microblaze Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
mips Add and move fall-through comments in system-specific code. 2019-02-26 02:09:18 +00:00
nios2 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nptl nptl: Assume __ASSUME_FUTEX_CLOCK_REALTIME support 2019-03-05 16:28:20 -03:00
posix Add some spaces before '('. 2019-02-27 13:55:45 +00:00
powerpc Fix output of LD_SHOW_AUXV=1. 2019-03-13 10:45:35 +01:00
pthread Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
riscv RISC-V: Update nofpu ULPs 2019-01-24 13:55:05 -05:00
s390 S390: Increase function alignment to 16 bytes. 2019-03-04 10:48:42 +01:00
sh Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sparc Fix output of LD_SHOW_AUXV=1. 2019-03-13 10:45:35 +01:00
unix Fix output of LD_SHOW_AUXV=1. 2019-03-13 10:45:35 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
x86 Fix location where math-vector-fortran.h is installed. 2019-03-07 09:40:24 +01:00
x86_64 wcsmbs: optimize wcscat 2019-02-27 10:00:37 -03:00