mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-18 05:53:36 +08:00
Update.
2003-07-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo decl and use with #ifdef NEED_DL_SYSINFO.
This commit is contained in:
parent
fcdac13afa
commit
6d8d57bca0
@ -1,3 +1,8 @@
|
||||
2003-07-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo
|
||||
decl and use with #ifdef NEED_DL_SYSINFO.
|
||||
|
||||
2003-07-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set
|
||||
|
@ -93,7 +93,7 @@ _dl_sysdep_start (void **start_argptr,
|
||||
# define set_seen(tag) seen |= M ((tag)->a_type)
|
||||
# endif
|
||||
#endif
|
||||
#ifndef __ASSUME_VSYSCALL
|
||||
#if defined NEED_DL_SYSINFO && !defined __ASSUME_VSYSCALL
|
||||
ElfW(Word) new_sysinfo = 0;
|
||||
#endif
|
||||
|
||||
@ -193,7 +193,7 @@ _dl_sysdep_start (void **start_argptr,
|
||||
GL(dl_pagesize) = __getpagesize ();
|
||||
#endif
|
||||
|
||||
#ifndef __ASSUME_VSYSCALL
|
||||
#if defined NEED_DL_SYSINFO && !defined __ASSUME_VSYSCALL
|
||||
/* Only set the sysinfo value if we also have the vsyscall DSO. */
|
||||
if (GL(dl_sysinfo_dso) != 0)
|
||||
GL(dl_sysinfo) = new_sysinfo;
|
||||
|
Loading…
Reference in New Issue
Block a user