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/dynamic-link.h | |
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/dynamic-link.h')
-rw-r--r-- | elf/dynamic-link.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h index d7cff482d4..01185655e6 100644 --- a/elf/dynamic-link.h +++ b/elf/dynamic-link.h @@ -42,7 +42,8 @@ && (__builtin_expect ((sym_map)->l_tls_offset != NO_TLS_OFFSET, 1) \ || _dl_try_allocate_static_tls (sym_map) == 0)) -int internal_function _dl_try_allocate_static_tls (struct link_map *map); +int internal_function attribute_hidden + _dl_try_allocate_static_tls (struct link_map *map); #include <elf.h> |