]> git.ipfire.org Git - thirdparty/glibc.git/commit
Define write_profiling functions only in profile library [BZ #31756]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 20 May 2024 01:46:53 +0000 (18:46 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 May 2024 13:12:55 +0000 (06:12 -0700)
commit6d3b523eb54198d15af6e042054912cf9f5210de
tree26f67a96813975c6f6eee596537afa9dbb19b390
parent43d41ae6d74441dd5d21045324ff7391e7b0f545
Define write_profiling functions only in profile library [BZ #31756]

libc.so doesn't use nor export write_profiling functions.  There is no
point to define them in libc.so nor in libc.a.  Fix BZ #31756 by defining
them only in profile library.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
gmon/gmon.c