This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/19122] Unnecessary PLT relocations in librtld.os
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 14 Oct 2015 22:49:44 +0000
- Subject: [Bug dynamic-link/19122] Unnecessary PLT relocations in librtld.os
- Auto-submitted: auto-generated
- References: <bug-19122-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19122
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, hjl/pr19122 has been created
at 87aa9e1b9e90b9a2100e6910e82e2039b10a67eb (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87aa9e1b9e90b9a2100e6910e82e2039b10a67eb
commit 87aa9e1b9e90b9a2100e6910e82e2039b10a67eb
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:21:55 2015 -0700
Mark internel unistd functions hidden
Since internal unistd functions are only used internally in ld.so and
libc.so, they can be made hidden.
[BZ #19122]
* include/unistd.h (__libc_check_standard_fds): Add
attribute_hidden.
IS_IN (rtld)] (__access): Likewise.
IS_IN (rtld)] (__brk): Likewise.
IS_IN (rtld)] (__close): Likewise.
IS_IN (rtld)] (__getcwd): Likewise.
IS_IN (rtld)] (__getpid): Likewise.
IS_IN (rtld)] (__libc_read): Likewise.
IS_IN (rtld)] (__libc_write): Likewise.
IS_IN (rtld)] (__lseek): Likewise.
IS_IN (rtld)] (__profil): Likewise.
IS_IN (rtld)] (__read): Likewise.
IS_IN (rtld)] (__sbrk): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8a83cb9c2de0641bf4d8ddca40ebea3c9730205d
commit 8a83cb9c2de0641bf4d8ddca40ebea3c9730205d
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:20:09 2015 -0700
Mark ld.so internel __uname hidden
Since ld.so internel __uname is only used internally in ld.so, it can
be made hidden.
[BZ #19122]
* include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=58e40ce9d4397fdb6933d0fc3b1e89310e84346a
commit 58e40ce9d4397fdb6933d0fc3b1e89310e84346a
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:15:44 2015 -0700
Mark ld.so internel __fxstatat64 hidden
Since ld.so internel __fxstatat64 is only used internally in ld.so, it
can be made hidden.
[BZ #19122]
* include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=53548877059bff1ce9d66d984ac6484c97cb0186
commit 53548877059bff1ce9d66d984ac6484c97cb0186
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:14:15 2015 -0700
Mark ld.so internel mmap functions hidden
Since ld.so internel mmap functions are only used internally in ld.so,
they can be made hidden.
[BZ #19122]
* include/sys/mman.h [IS_IN (rtld)] (__mmap): Add
attribute_hidden.
[IS_IN (rtld)] (__mprotect): Likewise.
[IS_IN (rtld)] (__munmap): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4e40b4709c0095007e0957c93459291f662f2bea
commit 4e40b4709c0095007e0957c93459291f662f2bea
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:11:03 2015 -0700
Mark ld.so internel string functions hidden
Since ld.so internel string functions are only used internally in
ld.so, they can be made hidden.
[BZ #19122]
* include/string.h [IS_IN (rtld)] (__stpcpy): Add
attribute_hidden.
[IS_IN (rtld)] (__strdup): Likewise.
[IS_IN (rtld)] (__strerror_r): Likewise.
[IS_IN (rtld)] (__strsep_g): Likewise.
[IS_IN (rtld)] (memchr): Likewise.
[IS_IN (rtld)] (memcmp): Likewise.
[IS_IN (rtld)] (memcpy): Likewise.
[IS_IN (rtld)] (memmove): Likewise.
[IS_IN (rtld)] (memset): Likewise.
[IS_IN (rtld)] (rawmemchr): Likewise.
[IS_IN (rtld)] (stpcpy): Likewise.
[IS_IN (rtld)] (strchr): Likewise.
[IS_IN (rtld)] (strcmp): Likewise.
[IS_IN (rtld)] (strlen): Likewise.
[IS_IN (rtld)] (strnlen): Likewise.
[IS_IN (rtld)] (strsep): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e0a7f3de6bd26d5dc879a330fad5a976b66ca240
commit e0a7f3de6bd26d5dc879a330fad5a976b66ca240
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:08:22 2015 -0700
Mark ld.so internel stdlib functions hidden
Since ld.so internel stdlib functions are only used internally in
ld.so, they can be made hidden.
[BZ #19122]
* include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
attribute_hidden.
[IS_IN (rtld)] (__strtoul_internal): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=24dc312eb239a9fc17cc3523b72ded8135732931
commit 24dc312eb239a9fc17cc3523b72ded8135732931
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:05:42 2015 -0700
Mark ld.so internel sigaction functions hidden
Since ld.so internel sigaction functions are only used internally in
ld.so, they can be made hidden.
[BZ #19122]
* include/signal.h [IS_IN (rtld)] (__sigaction): Add
attribute_hidden.
[IS_IN (rtld)] (__libc_sigaction): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b71f5c6dae8818c4b7683873fb4abd784652cb4c
commit b71f5c6dae8818c4b7683873fb4abd784652cb4c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:04:20 2015 -0700
Mark internal setjmp functions hidden
Since internal dirent functions are only used internally in ld.so and
libc.so, they can be made hidden.
[BZ #19122]
* include/setjmp.h (__longjmp): Add attribute_hidden.
[IS_IN (rtld)] (__sigsetjmp): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3651a9fe17ce6b84a1a8ebaae5419c8591e07095
commit 3651a9fe17ce6b84a1a8ebaae5419c8591e07095
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 15:02:05 2015 -0700
Mark ld.so internel __profile_frequency hidden
Since ld.so internel __profile_frequency is only used internally in
ld.so, it can be made hidden.
[BZ #19122]
* include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
Add attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=199788e305517bb2f0a766ddce2f9ec5af160740
commit 199788e305517bb2f0a766ddce2f9ec5af160740
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:59:35 2015 -0700
Mark internal fcntl functions hidden
Since internal fcntl functions are only used internally in ld.so and
libc.so, they can be made hidden.
[BZ #19122]
* include/fcntl.h (__libc_fcntl): Add attribute_hidden.
[IS_IN (rtld)] (__open): Likewise.
[IS_IN (rtld)] (__fcntl): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b48b649403da64f54db90fcaf2552d7010294d72
commit b48b649403da64f54db90fcaf2552d7010294d72
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:56:46 2015 -0700
Mark internal dirent functions hidden
Since internal dirent functions are only used internally in ld.so and
libc.so, they can be made hidden.
[BZ #19122]
* include/dirent.h (__opendirat): Add attribute_hidden.
(__getdents): Likewise.
(__getdents64): Likewise.
(__alloc_dir): Likewise.
[IS_IN (rtld)] (__closedir): Likewise.
[IS_IN (rtld)] (__fdopendir): Likewise.
[IS_IN (rtld)] (__readdir): Likewise.
[IS_IN (rtld)] (__readdir64): Likewise.
[IS_IN (rtld)] (__rewinddir): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=84339913a1ff7d54d8de57b1e094af5068905d0d
commit 84339913a1ff7d54d8de57b1e094af5068905d0d
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:54:11 2015 -0700
Mark _dl_catch_error hidden
Since _dl_catch_error is only used internally in ld.so, it should be
declared in sysdeps/generic/ldsodefs.h, not include/dlfcn.h and it can
be made hidden.
[BZ #19122]
* include/dlfcn.h (_dl_catch_error): Moved to ...
* sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=739b50beb25662f008eabb15a36ed6a9309291f7
commit 739b50beb25662f008eabb15a36ed6a9309291f7
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:39:54 2015 -0700
Mark internal _itoa functions hidden
Since internal _itoa functions are only used internally in ld.so and
libc.so, they can be made hidden.
[BZ #19122]
* sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
(_itoa_word): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ccf6e0fca30b3159fcb8baf0a28451702e07a54d
commit ccf6e0fca30b3159fcb8baf0a28451702e07a54d
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:33:44 2015 -0700
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.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5a36366f08f8e963d6a2024094240ffb793fce07
commit 5a36366f08f8e963d6a2024094240ffb793fce07
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:22:21 2015 -0700
Mark _wordcopy_XXX functions hidden
Since _wordcopy_XXX functions are only used internally in ld.so and
libc.so, they can be made hidden.
[BZ #19122]
* sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
attribute_hidden.
(_wordcopy_fwd_dest_aligned): Likewise.
(_wordcopy_bwd_aligned): Likewise.
(_wordcopy_bwd_dest_aligned): Likewise.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8a52db21a879fbd922a6f514b0aa63069e9a6d79
commit 8a52db21a879fbd922a6f514b0aa63069e9a6d79
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:21:21 2015 -0700
Mark x86_64 _dl_make_tlsdesc_dynamic hidden
Since x86_64 _dl_make_tlsdesc_dynamic is only used internally in ld.so,
it can be made hidden.
[BZ #19122]
* sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Add
attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0ef5d821014b569e5c58610494380ef3e1f3e23d
commit 0ef5d821014b569e5c58610494380ef3e1f3e23d
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:19:14 2015 -0700
Mark i386 _dl_make_tlsdesc_dynamic hidden
Since i386 _dl_make_tlsdesc_dynamic is only used internally in ld.so, it
can be made hidden.
[BZ #19122]
* sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Add
attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cc841df48a44f63bc5f40f6015b07e9d43b14140
commit cc841df48a44f63bc5f40f6015b07e9d43b14140
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:17:48 2015 -0700
Mark x86_64 _dl_unmap hidden
Since x86_64 _dl_unmap is only used internally in ld.so, it can be made
hidden.
[BZ #19122]
* sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=59940f47c58719b1ae8852047ee971e69314d617
commit 59940f47c58719b1ae8852047ee971e69314d617
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Oct 14 14:15:14 2015 -0700
Mark i386 _dl_unmap hidden
Since i386 _dl_unmap is only used internally in ld.so, it can be made
hidden.
[BZ #19122]
* sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.