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 /sysdeps/generic/dl-cache.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 'sysdeps/generic/dl-cache.h')
-rw-r--r-- | sysdeps/generic/dl-cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h index 4b49869c63..70d4aebbb1 100644 --- a/sysdeps/generic/dl-cache.h +++ b/sysdeps/generic/dl-cache.h @@ -101,4 +101,4 @@ struct cache_file_new & (~(__alignof__ (struct cache_file_new) - 1))) extern int _dl_cache_libcmp (const char *p1, const char *p2) - internal_function; + internal_function attribute_hidden; |