mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* sysdeps/unix/sysv/linux/x86_64/init-first.c
(_libc_vdso_platform_setup): Avoid using exported variable by using alias.
This commit is contained in:
parent
88f61aafde
commit
d250df8c57
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user