]> sourceware.org Git - glibc.git/blobdiff - sysdeps/unix/sysv/linux/sysdep-vdso.h
elf: Move vDSO setup to rtld (BZ#24967)
[glibc.git] / sysdeps / unix / sysv / linux / sysdep-vdso.h
index f0cc384d78a12bf25aa70fff3cacebdba9b61956..dc6eaddbbf4a7689e45ec0a1c1eec94527f76e9b 100644 (file)
@@ -19,8 +19,7 @@
 #ifndef SYSDEP_VDSO_LINUX_H
 # define SYSDEP_VDSO_LINUX_H
 
-#include <dl-vdso.h>
-#include <libc-vdso.h>
+#include <ldsodefs.h>
 
 #ifndef INTERNAL_VSYSCALL_CALL
 # define INTERNAL_VSYSCALL_CALL(funcptr, err, nr, args...)                   \
@@ -34,8 +33,7 @@
     INTERNAL_SYSCALL_DECL (sc_err);                                          \
     long int sc_ret;                                                         \
                                                                              \
-    __typeof (__vdso_##name) vdsop = __vdso_##name;                          \
-    PTR_DEMANGLE (vdsop);                                                    \
+    __typeof (GLRO(dl_vdso_##name)) vdsop = GLRO(dl_vdso_##name);            \
     if (vdsop != NULL)                                                       \
       {                                                                              \
        sc_ret = INTERNAL_VSYSCALL_CALL (vdsop, sc_err, nr, ##args);          \
This page took 0.029409 seconds and 5 git commands to generate.