about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6febbc0017..6347f386dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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):