glibc/sysdeps/unix/sysv/linux/powerpc
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
..
bits Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
powerpc32 powerpc: Simplify vsyscall internal macros 2019-09-17 17:09:26 -03:00
powerpc64 powerpc: Simplify vsyscall internal macros 2019-09-17 17:09:26 -03:00
sys Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Implies
Makefile powerpc: Fix static-linked version of __ppc_get_timebase_freq [BZ #24640] 2019-06-19 19:11:06 -03:00
Versions
configure
configure.ac
dl-brk.S
dl-cache.h
dl-static.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-sysdep.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-conf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-conf.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-timed.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-trylock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
elision-unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
force-elision.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
get_timebase_freq.c powerpc: Simplify vsyscall internal macros 2019-09-17 17:09:26 -03:00
gettimeofday.c Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00
htm.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
init-first.c Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00
ioctl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ipc_priv.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
kernel-features.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
kernel_sigaction.h m68k: Fix sigaction kernel definition (BZ #23960) 2018-12-18 16:45:10 -02:00
kernel_termios.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldconfig.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldd-rewrite.sed
ldsodefs.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
libc-start.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
libc-start.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
libc-vdso.h powerpc: Simplify vsyscall internal macros 2019-09-17 17:09:26 -03:00
lowlevellock.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nldbl-abi.h
pt-longjmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_attr_setstack.c
pthread_attr_setstacksize.c
pthread_mutex_cond_lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_timedlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread_mutex_trylock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
readelflib.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
rt-sysdep.c
sigcontextinfo.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
syscall.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sysconf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sysdep.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sysdep.h Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00
test-gettimebasefreq-static.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-gettimebasefreq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-powerpc-linux-sysconf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
time.c Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00