diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 14:01:35 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-15 14:01:48 -0700 |
commit | b8b21bde18d85bd756a03425685cb63c95f56794 (patch) | |
tree | 6ecbf08940eb19f116a397d1d0489d1488969004 /sysdeps | |
parent | 9edf9b18b1dc5de0f3d76c42877b405cb439df4f (diff) | |
download | glibc-b8b21bde18d85bd756a03425685cb63c95f56794.tar.gz glibc-b8b21bde18d85bd756a03425685cb63c95f56794.tar.xz glibc-b8b21bde18d85bd756a03425685cb63c95f56794.zip |
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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/memcopy.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/generic/memcopy.h b/sysdeps/generic/memcopy.h index e6bc6e4758..af4f064b6f 100644 --- a/sysdeps/generic/memcopy.h +++ b/sysdeps/generic/memcopy.h @@ -111,8 +111,10 @@ typedef unsigned char byte; the assumption that DST_BP is aligned on an OPSIZ multiple. If not all bytes could be easily copied, store remaining number of bytes in NBYTES_LEFT, otherwise store 0. */ -extern void _wordcopy_fwd_aligned (long int, long int, size_t) __THROW; -extern void _wordcopy_fwd_dest_aligned (long int, long int, size_t) __THROW; +extern void _wordcopy_fwd_aligned (long int, long int, size_t) + attribute_hidden __THROW; +extern void _wordcopy_fwd_dest_aligned (long int, long int, size_t) + attribute_hidden __THROW; #define WORD_COPY_FWD(dst_bp, src_bp, nbytes_left, nbytes) \ do \ { \ @@ -131,8 +133,10 @@ extern void _wordcopy_fwd_dest_aligned (long int, long int, size_t) __THROW; DST_END_PTR is aligned on an OPSIZ multiple. If not all bytes could be easily copied, store remaining number of bytes in NBYTES_REMAINING, otherwise store 0. */ -extern void _wordcopy_bwd_aligned (long int, long int, size_t) __THROW; -extern void _wordcopy_bwd_dest_aligned (long int, long int, size_t) __THROW; +extern void _wordcopy_bwd_aligned (long int, long int, size_t) + attribute_hidden __THROW; +extern void _wordcopy_bwd_dest_aligned (long int, long int, size_t) + attribute_hidden __THROW; #define WORD_COPY_BWD(dst_ep, src_ep, nbytes_left, nbytes) \ do \ { \ |