diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 5 | ||||
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 256eca5227..fbe5ad49e7 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -134,6 +134,11 @@ _dl_sysdep_start (void **start_argptr, case AT_FPUCW: GL(dl_fpu_control) = av->a_un.a_val; break; +#ifdef NEED_DL_SYSINFO + case AT_SYSINFO: + GL(dl_sysinfo) = av->a_un.a_val; + break; +#endif } #ifdef DL_SYSDEP_OSCHECK diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index a704644d6e..6150852ed9 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -384,6 +384,11 @@ struct rtld_global EXTERN size_t _dl_tls_generation; #endif +#ifdef NEED_DL_SYSINFO + /* Syscall handling improvements. This is very specific to x86. */ + EXTERN uintptr_t _dl_sysinfo; +#endif + #ifdef SHARED }; # define __rtld_global_attribute__ |