y2038: Export __clock_gettime64 to be usable in other libraries
authorLukasz Majewski <lukma@denx.de>
Tue, 24 Mar 2020 07:52:15 +0000 (08:52 +0100)
committerLukasz Majewski <lukma@denx.de>
Tue, 5 May 2020 16:45:13 +0000 (18:45 +0200)
In the glibc project calls to clock_gettime shall be replaced with
__clock_gettime64, which is supporting 64 bit time.
To allow that the __clock_gettime64 needs to be exported as a GLIBC_PRIVATE
symbol.

time/Versions

index 8788e19..df22ac7 100644 (file)
@@ -77,5 +77,6 @@ libc {
   GLIBC_PRIVATE {
     # same as clock_gettime; used in other libraries
     __clock_gettime;
+    __clock_gettime64;
   }
 }