From: H.J. Lu Date: Mon, 7 May 2018 18:01:38 +0000 (-0700) Subject: x86-64/memset: Mark the debugger symbol as hidden X-Git-Tag: glibc-2.28~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d7d351b564b347cb653cdc3cb1187a363d094e;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 6febbc00172..6347f386dc6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-05-07 H.J. Lu + + * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S + (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as + hidden. + 2018-05-07 Siddhesh Poyarekar * 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 14d1aa5bebd..0a827f3e47c 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):