]> sourceware.org Git - glibc.git/commitdiff
tile: improve ABI and #include use in gettimeofday vdso support
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 30 Oct 2012 18:11:54 +0000 (14:11 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 30 Oct 2012 18:11:54 +0000 (14:11 -0400)
ports/ChangeLog.tile
ports/sysdeps/unix/sysv/linux/tile/gettimeofday.c
ports/sysdeps/unix/sysv/linux/tile/init-first.c

index 8a6cb68d4729c87647db2afa8dd9b6f1365471d2..63ca021a5cb2cfd666b297aa288e012b9873ddaa 100644 (file)
@@ -1,5 +1,9 @@
 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
 
+       * sysdeps/unix/sysv/linux/tile/init-first.c: Use better #include.
+       * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Use gettimeofday
+       aliases that match existing tile ABI.
+
        * sysdeps/tile/libm-test-ulps: Account for new tests.
 
 2012-10-26  Chris Metcalf  <cmetcalf@tilera.com>
index e2bcc450186eb8db2f0aa9f4e20c17ee1ada48fd..92136d54b6c2aca7795fc5a964106ab467490448 100644 (file)
@@ -19,8 +19,6 @@
 #include <stddef.h>
 #include <sys/time.h>
 #include <time.h>
-
-#undef __gettimeofday
 #include <bits/libc-vdso.h>
 
 int
@@ -34,5 +32,6 @@ __gettimeofday (struct timeval *tv, struct timezone *tz)
   return INLINE_SYSCALL (gettimeofday, 2, tv, tz);
 }
 
-strong_alias (__gettimeofday, __gettimeofday_internal)
+libc_hidden_def (__gettimeofday)
 weak_alias (__gettimeofday, gettimeofday)
+libc_hidden_weak (gettimeofday)
index 58b6533c0f5a1fc9fdd5e40e7220008f8241bce8..9ff63c1d182bf86555cf50ea559a2e317fd28194 100644 (file)
@@ -31,4 +31,4 @@ _libc_vdso_platform_setup (void)
 #define VDSO_SETUP _libc_vdso_platform_setup
 #endif
 
-#include "../init-first.c"
+#include <csu/init-first.c>
This page took 0.045867 seconds and 5 git commands to generate.