]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/x86_64/init-first.c
authorUlrich Drepper <drepper@redhat.com>
Fri, 24 Aug 2007 18:24:03 +0000 (18:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 24 Aug 2007 18:24:03 +0000 (18:24 +0000)
(_libc_vdso_platform_setup): Avoid using exported variable by using
alias.

ChangeLog
sysdeps/unix/sysv/linux/x86_64/init-first.c

index c319a705b7d0e469aa81e153c94f537e722616e5..b87026ccdb11dbc3cacb2525ae176b4086085b03 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-08-24  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/x86_64/init-first.c
+       (_libc_vdso_platform_setup): Avoid using exported variable by using
+       alias.
+
        * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define.
 
        * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark
index 387fecae52eea57c5f4f26b737e5c4fc6f9bf4b6..e9cf5646b5245e7151f008f4f724b8780f1b3a79 100644 (file)
@@ -22,7 +22,9 @@
 
 int (*__vdso_gettimeofday) (struct timeval *, void *) attribute_hidden;
 
-int (*__vdso_clock_gettime) (clockid_t, struct timespec *);
+int (*__vdso_clock_gettime) (clockid_t, struct timespec *)
+  __attribute__ ((nocommon));
+strong_alias (__vdso_clock_gettime, __GI___vdso_clock_gettime attribute_hidden)
 
 
 static inline void
@@ -40,7 +42,7 @@ _libc_vdso_platform_setup (void)
 
   p = _dl_vdso_vsym ("clock_gettime", &linux26);
   PTR_MANGLE (p);
-  __vdso_clock_gettime = p;
+  __GI___vdso_clock_gettime = p;
 }
 
 # define VDSO_SETUP _libc_vdso_platform_setup