From c9532194205aa2d044acdff7af98816b793c1491 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 10 Feb 2020 17:59:57 -0300 Subject: [PATCH] alpha: Use generic gettimeofday implementation It makes alpha no longer reports information about a system-wide time zone and moves the version logic on the alpha implementation. Checked on a build and check-abi for alpha-linux-gnu. Reviewed-by: Lukasz Majewski --- sysdeps/unix/sysv/linux/alpha/gettimeofday.c | 9 ++++++++- sysdeps/unix/sysv/linux/alpha/syscalls.list | 1 - time/gettimeofday.c | 6 ------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sysdeps/unix/sysv/linux/alpha/gettimeofday.c b/sysdeps/unix/sysv/linux/alpha/gettimeofday.c index 6bb8dfa877..7ad3c6a412 100644 --- a/sysdeps/unix/sysv/linux/alpha/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/alpha/gettimeofday.c @@ -18,5 +18,12 @@ /* We can use the generic implementation, but we have to override its default symbol version. */ -#define VERSION_gettimeofday GLIBC_2.1 +#undef weak_alias +#define weak_alias(a,b) +#undef strong_alias +#define strong_alias(a, b) #include