glibc/sysdeps/unix/sysv/linux/s390
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
..
bits Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
fpu Use libm_alias_double for s390. 2017-11-28 17:18:20 +00:00
s390-32 ldbl-opt: Add error and error_at_line (bug 23984) 2019-03-01 15:26:36 -03:00
s390-64 ldbl-opt: Add error and error_at_line (bug 23984) 2019-03-01 15:26:36 -03:00
sys Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
configure
configure.ac
dl-cache.h
dl-procinfo.h Fix output of LD_SHOW_AUXV=1. 2019-03-13 10:45:35 +01:00
elision-conf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
force-elision.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
htm.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Implies
init-first.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
kernel_sigaction.h s390: Use generic kernel_sigaction.h 2018-12-18 19:52:23 -02:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ldd-rewrite.sed
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc-vdso.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
localplt.data ld.so: Introduce struct dl_exception 2017-08-10 16:54:57 +02:00
longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
lowlevellock.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile Add elision tunables 2017-12-05 17:48:48 -02:00
mmap_internal.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nldbl-abi.h
opensock.c
pt-longjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pt-vfork.S
pthread_mutex_cond_lock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pthread_mutex_lock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
rt-sysdep.S
sa_len.c
semtimedop.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-ptrace-singleblock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ucontext_i.sym
Versions