diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 3 | ||||
-rw-r--r-- | sysdeps/i386/dl-machine.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index e05d38d31c..58c093e268 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -171,6 +171,7 @@ _dl_sysdep_start_cleanup (void) } void +internal_function _dl_show_auxv (void) { char buf[64]; @@ -252,6 +253,7 @@ _dl_show_auxv (void) /* Walk through the environment of the process and return all entries starting with `LD_'. */ char * +internal_function _dl_next_ld_env_entry (char ***position) { char **current = *position; @@ -277,6 +279,7 @@ _dl_next_ld_env_entry (char ***position) /* Return an array of useful/necessary hardware capability names. */ const struct r_strlenpair * +internal_function _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz, size_t *max_capstrlen) { diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h index 394188d0e4..fd463778f9 100644 --- a/sysdeps/i386/dl-machine.h +++ b/sysdeps/i386/dl-machine.h @@ -224,11 +224,10 @@ _dl_start_user:\n\ # Push _dl_default_scope[2] as argument in _dl_init_next call below.\n\ movl _dl_default_scope@GOT(%ebx), %eax\n\ movl 8(%eax), %esi\n\ -0: pushl %esi\n\ +0: movl %esi,%eax\n\ # Call _dl_init_next to return the address of an initializer\n\ # function to run.\n\ call _dl_init_next@PLT\n\ - addl $4, %esp # Pop argument.\n\ # Check for zero return, when out of initializers.\n\ testl %eax, %eax\n\ jz 1f\n\ |