diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 14:04:00 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 14:04:31 -0700 |
commit | 58c9ff1bdb213bfa65eff12c7d17532cb48aabe7 (patch) | |
tree | 57b94dbcb0ebb4ec87579c928c4f16ed986fbc44 /elf/dl-runtime.c | |
parent | b8b21bde18d85bd756a03425685cb63c95f56794 (diff) | |
download | glibc-58c9ff1bdb213bfa65eff12c7d17532cb48aabe7.tar.gz glibc-58c9ff1bdb213bfa65eff12c7d17532cb48aabe7.tar.xz glibc-58c9ff1bdb213bfa65eff12c7d17532cb48aabe7.zip |
Mark internal _dl_XXX functions hidden
Since internal _dl_XXX functions are only used internally in ld.so, they can be made hidden. [BZ #19122] * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden. * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise. * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise. * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise. (_dl_higher_prime_number): Likewise. (_dl_debug_printf_c): Likewise. (_dl_signal_cerror): Likewise. (_dl_receive_error): Likewise. (_dl_reloc_bad_type): Likewise. (_dl_resolve_conflicts): Likewise. (_dl_check_all_versions): Likewise. (_dl_check_map_versions): Likewise. (_dl_sort_fini): Likewise. (_dl_debug_initialize): Likewise. (_dl_init_paths): Likewise. (_dl_show_auxv): Likewise. (_dl_next_ld_env_entry): Likewise. (_dl_important_hwcaps): Likewise. (_dl_load_cache_lookup): Likewise. (_dl_update_slotinfo): Likewise. (_dl_show_scope): Likewise.
Diffstat (limited to 'elf/dl-runtime.c')
-rw-r--r-- | elf/dl-runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c index bd9a1b1c68..3de6f5536f 100644 --- a/elf/dl-runtime.c +++ b/elf/dl-runtime.c @@ -57,7 +57,7 @@ function. */ DL_FIXUP_VALUE_TYPE -__attribute ((noinline)) ARCH_FIXUP_ATTRIBUTE +attribute_hidden __attribute ((noinline)) ARCH_FIXUP_ATTRIBUTE _dl_fixup ( # ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS ELF_MACHINE_RUNTIME_FIXUP_ARGS, |