diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-08-01 18:01:22 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-08-23 11:30:56 -0300 |
commit | 08d57105bbcbb4f950cd7cdf881a50977e44b8c6 (patch) | |
tree | 52625b9d6b5f35f6df183dfe3a5b0760c96279f0 /gmon | |
parent | a43565ac447b1608ae2626f5012673560bb623ab (diff) | |
download | glibc-08d57105bbcbb4f950cd7cdf881a50977e44b8c6.zip glibc-08d57105bbcbb4f950cd7cdf881a50977e44b8c6.tar.gz glibc-08d57105bbcbb4f950cd7cdf881a50977e44b8c6.tar.bz2 |
linux: Make profil_counter a compat_symbol (BZ#17726)
As indicated by Joseph's comment on BZ#17726, this symbol is most
likely a historical ABI accident. This patch make it on both arm
and sparc ABIs a compat_symbol.
Checked against a build arm-linux-gnueabihf, sparcv9-linux-gnu, adn
sparc64-linux-gnu to see if the symbol is still present.
* gmon/Versions (libc) [GLIBC_2.31]: New entry.
* sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
Make a compat_symbol.
* sysdeps/unix/sysv/linux/sparc/profil-counter.h
(__profil_counter_global): Likewise.
Diffstat (limited to 'gmon')
-rw-r--r-- | gmon/Versions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gmon/Versions b/gmon/Versions index d0b6333..cc705bd 100644 --- a/gmon/Versions +++ b/gmon/Versions @@ -19,4 +19,6 @@ libc { GLIBC_2.2.3 { sprofil; } + GLIBC_2.31 { + } } |