glibc/sysdeps/unix
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
..
alpha Add more spaces before '('. 2019-02-28 15:02:09 +00:00
arm Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
bsd Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
i386 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
inet Switch IDNA implementation to libidn2 [BZ #19728] [BZ #19729] [BZ #22247] 2018-05-23 15:27:24 +02:00
mips Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
powerpc Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sh Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysv/linux Fix output of LD_SHOW_AUXV=1. 2019-03-13 10:45:35 +01:00
x86_64 Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_gettime.c Cleanup clock_*time includes 2019-02-01 12:24:52 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_settime.c Cleanup clock_*time includes 2019-02-01 12:24:52 +00:00
confstr.h
get_child_max.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getlogin.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getlogin_r.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
grantpt.c Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Implies
make-syscalls.sh make-syscalls.sh: fix comment referencing syscall-template 2019-01-31 22:45:10 -05:00
Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pt-fcntl.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c Fix a few typos in comments 2019-01-12 13:44:51 +00:00
stime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscall-template.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
syscalls.list posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00