glibc/sysdeps/sparc/sparc32/sparcv9
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
..
fpu Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
multiarch Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
addmul_1.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
backtrace.h Use libgcc unwinder for sparc backtraces, if available. 2013-01-21 14:15:30 -08:00
bzero.c
cpu_relax.c sparc: refactor cpu_relax to C 2017-12-01 11:51:10 -02:00
dotmul.S
hp-timing.h Refactor hp-timing rtld usage 2019-03-22 17:30:44 -03:00
Makefile sparc: Assume VIS3 support 2017-11-29 08:18:00 -02:00
memchr.S
memcmp.S
memcpy.S
memmove.S sparc: assembly version of memmove for ultra1+ 2017-12-14 08:47:09 -02:00
memset.S
mul_1.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pthread_barrier_wait.c New pthread_barrier algorithm to fulfill barrier destruction requirements. 2016-01-15 21:20:34 +01:00
pthread_spin_init.c SPARC: Consolidate unnecessary nptl/ subdirectories. 2014-06-25 10:04:14 -07:00
pthread_spin_lock.S SPARC: Consolidate unnecessary nptl/ subdirectories. 2014-06-25 10:04:14 -07:00
pthread_spin_trylock.S SPARC: Consolidate unnecessary nptl/ subdirectories. 2014-06-25 10:04:14 -07:00
pthread_spin_unlock.S SPARC: Consolidate unnecessary nptl/ subdirectories. 2014-06-25 10:04:14 -07:00
rawmemchr.S
rem.S
rtld-memcpy.c Use generic memset/memcpy in rtld on sparcv9/sparc64. 2012-03-28 22:22:15 -07:00
rtld-memmove.c sparc: assembly version of memmove for ultra1+ 2017-12-14 08:47:09 -02:00
rtld-memset.c Use generic memset/memcpy in rtld on sparcv9/sparc64. 2012-03-28 22:22:15 -07:00
sdiv.S
sem_post.c Fix sparc semaphore implementation after recent changes. 2015-01-31 23:39:50 -08:00
sem_waitcommon.c Fix sparc semaphore implementation after recent changes. 2015-01-31 23:39:50 -08:00
stpcpy.S
stpncpy.S
strcat.S
strchr.S
strcmp.S
strcpy.S
strcspn.S
strlen.S sparc: Optimize strlen using techniques from powerpc implementation. 2010-03-09 06:42:53 -08:00
strncmp.S
strncpy.S
strpbrk.S
strrchr.c
strspn.S
submul_1.S Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
udiv.S sparc: Fix .udiv plt on libc 2017-04-06 15:14:44 -03:00
umul.S
urem.S