libc-vdso.h place consolidation
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>
Mon, 13 Apr 2015 19:38:16 +0000 (16:38 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>
Mon, 20 Apr 2015 11:51:17 +0000 (08:51 -0300)
This patch moves the libc-vdso.h internal header from bits folder to
default architecture one and also corrects the remaning includes in
the files.

22 files changed:
ChangeLog
nptl/pthread_cond_timedwait.c
sysdeps/powerpc/powerpc32/backtrace.c
sysdeps/powerpc/powerpc64/backtrace.c
sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
sysdeps/unix/sysv/linux/aarch64/init-first.c
sysdeps/unix/sysv/linux/aarch64/libc-vdso.h [moved from sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h with 100% similarity]
sysdeps/unix/sysv/linux/clock_getres.c
sysdeps/unix/sysv/linux/clock_gettime.c
sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
sysdeps/unix/sysv/linux/powerpc/init-first.c
sysdeps/unix/sysv/linux/powerpc/libc-vdso.h [moved from sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h with 100% similarity]
sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c
sysdeps/unix/sysv/linux/powerpc/time.c
sysdeps/unix/sysv/linux/s390/gettimeofday.c
sysdeps/unix/sysv/linux/s390/init-first.c
sysdeps/unix/sysv/linux/s390/libc-vdso.h [moved from sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h with 100% similarity]
sysdeps/unix/sysv/linux/tile/gettimeofday.c
sysdeps/unix/sysv/linux/tile/init-first.c
sysdeps/unix/sysv/linux/tile/libc-vdso.h [moved from sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h with 100% similarity]
sysdeps/unix/sysv/linux/timespec_get.c

index a1d49cb..7c3e625 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
+       libc-vdso.h.
+       * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
+       * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
+       * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
+       * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
+       * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
+       * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
+       * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
+       * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
+       * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
+       * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
+       * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
+       * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
+
 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
 
        * stdlib/setenv.c (__add_to_environ):
index bf80467..10b0a61 100644 (file)
@@ -33,7 +33,7 @@
 # undef INLINE_VSYSCALL
 # define INLINE_VSYSCALL INLINE_SYSCALL
 #else
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 #endif
 
 /* Cleanup handler, defined in pthread_cond_wait.c.  */
index fc296bd..06886c7 100644 (file)
@@ -20,7 +20,7 @@
 #include <stddef.h>
 #include <string.h>
 #include <signal.h>
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 /* This is the stack layout we see with every stack frame.
    Note that every routine is required by the ABI to lay out the stack
index 89b1ce0..3105bad 100644 (file)
@@ -20,7 +20,7 @@
 #include <stddef.h>
 #include <string.h>
 #include <signal.h>
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 /* This is the stack layout we see with every stack frame.
    Note that every routine is required by the ABI to lay out the stack
index 950666f..67b7f6d 100644 (file)
@@ -21,7 +21,7 @@
 
 #undef __gettimeofday
 
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 /* Get the current time of day and timezone information,
    putting it into *tv and *tz.  If tz is null, *tz is not filled.
index 01241aa..d99c821 100644 (file)
@@ -21,7 +21,7 @@
 # undef __gettimeofday
 # undef __clock_gettime
 # undef __clock_getres
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 
 void (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden;
 void (*__vdso_clock_gettime) (clockid_t, struct timespec *);
index 60fbde6..9b31d8c 100644 (file)
@@ -27,7 +27,7 @@
 # undef INLINE_VSYSCALL
 # define INLINE_VSYSCALL INLINE_SYSCALL
 #else
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 #endif
 
 #define SYSCALL_GETRES \
index 57db8ee..93aa095 100644 (file)
@@ -27,7 +27,7 @@
 # undef INLINE_VSYSCALL
 # define INLINE_VSYSCALL INLINE_SYSCALL
 #else
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 #endif
 
 #ifndef SYSCALL_GETTIME
index fe8c5a1..5b6bb51 100644 (file)
@@ -23,7 +23,7 @@
 #include <unistd.h>
 #include <libc-internal.h>
 #include <sysdep.h>
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 #include <not-cancel.h>
 
 hp_timing_t
index f50cf7e..f561ac7 100644 (file)
@@ -21,7 +21,7 @@
 #ifdef SHARED
 
 # include <dl-vdso.h>
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 # include <dl-machine.h>
 
 void *gettimeofday_ifunc (void) __asm__ ("__gettimeofday");
index c1903ca..b4917d1 100644 (file)
@@ -21,7 +21,7 @@
 # undef __gettimeofday
 # undef __clock_gettime
 # undef __clock_getres
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 
 void *__vdso_gettimeofday attribute_hidden;
 void *__vdso_clock_gettime;
index 11d3d6b..5bf540c 100644 (file)
@@ -17,7 +17,7 @@
 
 #include <sched.h>
 #include <sysdep.h>
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 
 int
index d72e651..0c26508 100644 (file)
@@ -21,7 +21,7 @@
 # include <time.h>
 # include <sysdep.h>
 # include <dl-vdso.h>
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 # include <dl-machine.h>
 
 void *time_ifunc (void) asm ("time");
index 68acca4..e8dee26 100644 (file)
@@ -21,7 +21,7 @@
 #include <time.h>
 #include <hp-timing.h>
 
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 /* Get the current time of day and timezone information,
    putting it into *TV and *TZ.  If TZ is NULL, *TZ is not filled.
index 3f167a7..2e00a99 100644 (file)
@@ -21,7 +21,7 @@
 # undef __gettimeofday
 # undef __clock_gettime
 # undef __clock_getres
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 
 long int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden;
 
index 05c6298..8d34b40 100644 (file)
@@ -19,7 +19,7 @@
 #include <stddef.h>
 #include <sys/time.h>
 #include <time.h>
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 int
 __gettimeofday (struct timeval *tv, struct timezone *tz)
index 75dbfd7..6b0e26a 100644 (file)
@@ -17,7 +17,7 @@
 
 #ifdef SHARED
 #include <dl-vdso.h>
-#include <bits/libc-vdso.h>
+#include <libc-vdso.h>
 
 struct syscall_return_value (*__vdso_gettimeofday) (struct timeval *, void *)
   attribute_hidden;
index c162695..2561649 100644 (file)
@@ -22,7 +22,7 @@
 # undef INTERNAL_VSYSCALL
 # define INTERNAL_VSYSCALL INTERNAL_SYSCALL
 #else
-# include <bits/libc-vdso.h>
+# include <libc-vdso.h>
 #endif
 
 #ifndef INTERNAL_GETTIME