This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/4] Fix, refactor and cleanup of __ppc_get_timebase_freq related code
- From: Raoni Fassina Firmino <raoni at linux dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 13 Jun 2019 12:11:41 -0300
- Subject: [PATCH 0/4] Fix, refactor and cleanup of __ppc_get_timebase_freq related code
As the subject suggest this is an refactor and cleanup of code used for
__ppc_get_timebase_freq that was motivated by a simple initial fix.
There is a pending question. The bug is only present when using
__ppc_get_timebase_freq with static linkage of the glibc. There was no
test case for this case, so I am including one but the refactor that
follows the bug fix renders this test irrelevant. So that is the
question, should the test be added (maybe is useful for back porting)
and if so, should it be removed again with the refactoring?
Raoni Fassina Firmino (3):
powerpc: Add testcase for static version of __ppc_get_timebase_freq
powerpc: Refactor of _get_timebase_freq
powerpc: Remove unused internal macros for vsyscall
Stan Shebs (1):
powerpc: Fix static-linked version of __ppc_get_timebase_freq [BZ #24640]
sysdeps/unix/sysv/linux/powerpc/Makefile | 2 ++
.../sysv/linux/powerpc/get_timebase_freq.c | 15 ++++++------
.../sysv/linux/powerpc/powerpc32/sysdep.h | 21 ++---------------
.../sysv/linux/powerpc/powerpc64/sysdep.h | 23 ++-----------------
.../powerpc/test-gettimebasefreq-static.c | 19 +++++++++++++++
5 files changed, 32 insertions(+), 48 deletions(-)
create mode 100644 sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c
--
2.20.1