glibc/sysdeps/x86
Adhemerval Zanella 1e372ded4f Refactor hp-timing rtld usage
This patch refactor how hp-timing is used on loader code for statistics
report.  The HP_TIMING_AVAIL and HP_SMALL_TIMING_AVAIL are removed and
HP_TIMING_INLINE is used instead to check for hp-timing avaliability.
For alpha, which only defines HP_SMALL_TIMING_AVAIL, the HP_TIMING_INLINE
is set iff for IS_IN(rtld).

Checked on aarch64-linux-gnu, x86_64-linux-gnu, and i686-linux-gnu. I also
checked the builds for all afected ABIs.

	* benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
	HP_TIMING_INLINE.
	* nptl/descr.h: Likewise.
	* elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
	RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
	(dl_start_final_info, _dl_start_final, dl_main, print_statistics):
	Abstract hp-timing usage with RTLD_* macros.
	* sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
	(HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
	* sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
	HP_TIMING_NONAVAIL): Likewise.
	* sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
	Likewise.
	* sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
	HP_SMALL_TIMING_AVAIL): Likewise.
	* sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
	HP_SMALL_TIMING_AVAIL): Likewise.
	* sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
	HP_SMALL_TIMING_AVAIL): Likewise.
	* sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
	HP_SMALL_TIMING_AVAIL): Likewise.
	* sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
	Likewise.
	* sysdeps/generic/hp-timing-common.h: Update comment with
	HP_TIMING_AVAIL removal.
2019-03-22 17:30:44 -03:00
..
bits Remove obsolete, never-implemented XSI STREAMS declarations 2019-03-14 15:44:15 +01:00
fpu Fix location where math-vector-fortran.h is installed. 2019-03-07 09:40:24 +01:00
nptl Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
__longjmp_cancel.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
atomic-machine.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
cacheinfo.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
cet-tunables.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
check-cet.awk Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
configure x86: Support IBT and SHSTK in Intel CET [BZ #21598] 2018-07-16 14:08:27 -07:00
configure.ac x86: Support IBT and SHSTK in Intel CET [BZ #21598] 2018-07-16 14:08:27 -07:00
cpu-features-offsets.sym x86: Cleanup cpu-features-offsets.sym 2018-08-03 06:42:09 -07:00
cpu-features.c Break more lines before not after operators. 2019-02-25 13:19:19 +00:00
cpu-features.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
cpu-tunables.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-cet.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-get-cpu-features.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-hwcap.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-procinfo.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-procinfo.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-procruntime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-prop.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
dl-tunables.list Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
elide.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
float128-abi.h Add float128 support for x86_64, x86. 2017-06-26 22:02:24 +00:00
fpu_control.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
hp-timing.h Refactor hp-timing rtld usage 2019-03-22 17:30:44 -03:00
init-arch.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp_buf-ssp.sym x86: Support shadow stack pointer in setjmp/longjmp 2018-07-14 05:59:53 -07:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
libc-start.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
libc-start.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
link_map.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
linkmap.h Rename bits/linkmap.h to linkmap.h (bug 14912). 2015-09-04 19:44:27 +00:00
longjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makeconfig Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
Makefile x86/CET: Add a re-exec test with legacy bitmap 2018-11-23 07:31:07 -08:00
string_private.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tininess.h
tst-cet-legacy-1.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-1a.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-2a.c x86/CET: Add tests with legacy non-CET shared objects 2018-07-25 04:47:05 -07:00
tst-cet-legacy-3.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-4.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-4a.c x86/CET: Add tests with legacy non-CET shared objects 2018-07-25 04:47:05 -07:00
tst-cet-legacy-4b.c x86/CET: Add tests with legacy non-CET shared objects 2018-07-25 04:47:05 -07:00
tst-cet-legacy-4c.c x86/CET: Add tests with legacy non-CET shared objects 2018-07-25 04:47:05 -07:00
tst-cet-legacy-mod-1.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-mod-2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cet-legacy-mod-4.c x86/CET: Add tests with legacy non-CET shared objects 2018-07-25 04:47:05 -07:00
tst-get-cpu-features-static.c
tst-get-cpu-features.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions