Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/x86_64/init-first.c
Browse files Browse the repository at this point in the history
	(_libc_vdso_platform_setup): Avoid using exported variable by using
	alias.
  • Loading branch information
Ulrich Drepper committed Aug 24, 2007
1 parent 88f61aa commit d250df8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions sysdeps/unix/sysv/linux/x86_64/init-first.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d250df8

Please sign in to comment.