* 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:
Ulrich Drepper 2007-08-24 18:24:03 +00:00
parent 88f61aafde
commit d250df8c57
2 changed files with 8 additions and 2 deletions

View File

@ -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

View 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