diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-05-07 11:01:38 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-05-07 11:01:48 -0700 |
commit | 50d7d351b564b347cb653cdc3cb1187a363d094e (patch) | |
tree | f9be7f96cb046956e34ccd750042217d408659a4 /sysdeps | |
parent | 543477f78b9163dc1d74596c726043d7611a8740 (diff) | |
download | glibc-50d7d351b564b347cb653cdc3cb1187a363d094e.tar glibc-50d7d351b564b347cb653cdc3cb1187a363d094e.tar.gz glibc-50d7d351b564b347cb653cdc3cb1187a363d094e.tar.bz2 glibc-50d7d351b564b347cb653cdc3cb1187a363d094e.zip |
x86-64/memset: Mark the debugger symbol as hidden
When MEMSET_SYMBOL (__memset, erms) is provided for debugger, mark it
as hidden so that it will be local to the library.
* sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
(MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
hidden.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S index 14d1aa5beb..0a827f3e47 100644 --- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S +++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S @@ -129,7 +129,8 @@ END (__memset_chk_erms) /* Only used to measure performance of REP STOSB. */ ENTRY (__memset_erms) # else -/* Provide a symbol to debugger. */ +/* Provide a hidden symbol to debugger. */ + .hidden MEMSET_SYMBOL (__memset, erms) ENTRY (MEMSET_SYMBOL (__memset, erms)) # endif L(stosb): |