glibc/sysdeps
Adhemerval Zanella 986a506481 powerpc: Simplify vsyscall internal macros
This patch simplifies the powerpc internal macros for vDSO calls
by:

  - Removing INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, used solely on
    get_timebase_freq.

  - Adjust INTERNAL_VSYSCALL_CALL_TYPE powerpc32 to follow powerpc64
    argument ordering.

  - Use HAVE_*_VSYSCALL instead of explicit strings.

  - Make powerpc libc-vdso.h include generic implementation.

No semantic change expected, checked on powerpc-linux-gnu-power4,
powerpc64-linux-gnu, and powerpc64le-linux-gnu.

	* sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
	defined.
	* sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
	(__get_timebase_freq): Remove use of
	INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
	(get_timebase_freq_fallback): New symbol.
	* sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
	HAVE_GETTIMEOFDAY_VSYSCALL.
	* sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
	HAVE_TIME_VSYSCALL.
	* sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
	implementation.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
	(INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
	powerpc64.
	(INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
	* .../sysv/linux/powerpc/powerpc64/sysdep.h
	(INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sysdep.h
	(HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2019-09-17 17:09:26 -03:00
..
aarch64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alpha Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
arm Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
csky Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
generic Fix small error in HP_TIMING_PRINT trailing null char setting 2019-09-17 17:50:11 +08:00
gnu Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
hppa Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
htl Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
hurd Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
i386 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ia64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ieee754 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
init_array Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
m68k Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mach Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
microblaze Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mips Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nios2 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nptl Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
powerpc Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00
pthread Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
riscv Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s390 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sparc Fix three GNU license URLs, along with trailing-newline issues. 2019-09-07 03:13:16 -07:00
unix powerpc: Simplify vsyscall internal macros 2019-09-17 17:09:26 -03:00
wordsize-32 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
wordsize-64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
x86 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
x86_64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00