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.
This commit is contained in:
H.J. Lu 2018-05-07 11:01:38 -07:00
parent 543477f78b
commit 50d7d351b5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
(MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
hidden.
2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
* benchtests/bench-memcpy-walk.c (test_main): Move declaration

View File

@ -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):