summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-02-10 17:59:57 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-02-12 16:55:30 -0300
commitc9532194205aa2d044acdff7af98816b793c1491 (patch)
treead63c205d2d64153f4f050423a2e5b2f0c86ddd1 /time
parentf34c4d0f10ed09500d5f0ebd473c3f37ce4989d7 (diff)
downloadglibc-c9532194205aa2d044acdff7af98816b793c1491.tar.gz
glibc-c9532194205aa2d044acdff7af98816b793c1491.tar.xz
glibc-c9532194205aa2d044acdff7af98816b793c1491.zip
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 <lukma@denx.de>
Diffstat (limited to 'time')
-rw-r--r--time/gettimeofday.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/time/gettimeofday.c b/time/gettimeofday.c
index 5ea15e581f..07c6e10d12 100644
--- a/time/gettimeofday.c
+++ b/time/gettimeofday.c
@@ -36,11 +36,5 @@ ___gettimeofday (struct timeval *restrict tv, void *restrict tz)
   return 0;
 }
 
-#ifdef VERSION_gettimeofday
-weak_alias (___gettimeofday, __wgettimeofday);
-default_symbol_version (___gettimeofday, __gettimeofday, VERSION_gettimeofday);
-default_symbol_version (__wgettimeofday,   gettimeofday, VERSION_gettimeofday);
-#else
 strong_alias (___gettimeofday, __gettimeofday)
 weak_alias (___gettimeofday, gettimeofday)
-#endif