mirror of git://sourceware.org/git/glibc.git
i386: Also add GLIBC_ABI_GNU2_TLS version [BZ #33129]
Since the GNU2 TLS run-time bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31372 affects both i386 and x86-64, also add GLIBC_ABI_GNU2_TLS version to i386 to indicate the working GNU2 TLS run-time. For x86-64, the additional GNU2 TLS run-time bug fix is needed for https://sourceware.org/bugzilla/show_bug.cgi?id=31501 Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
098e449df0
commit
bd4628f3f1
|
|
@ -135,6 +135,15 @@ LDFLAGS-tst-tls23 += -rdynamic
|
||||||
tst-tls23-mod.so-no-z-defs = yes
|
tst-tls23-mod.so-no-z-defs = yes
|
||||||
|
|
||||||
$(objpfx)tst-tls23-mod.so: $(libsupport)
|
$(objpfx)tst-tls23-mod.so: $(libsupport)
|
||||||
|
|
||||||
|
tests-special += $(objpfx)check-gnu2-tls.out
|
||||||
|
|
||||||
|
$(objpfx)check-gnu2-tls.out: $(common-objpfx)libc.so
|
||||||
|
LC_ALL=C $(READELF) -V -W $< \
|
||||||
|
| sed -ne '/.gnu.version_d/, /.gnu.version_r/ p' \
|
||||||
|
| grep GLIBC_ABI_GNU2_TLS > $@; \
|
||||||
|
$(evaluate-test)
|
||||||
|
generated += check-gnu2-tls.out
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),gmon)
|
ifeq ($(subdir),gmon)
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,9 @@ libc {
|
||||||
GLIBC_2.33 {
|
GLIBC_2.33 {
|
||||||
__x86_get_cpuid_feature_leaf;
|
__x86_get_cpuid_feature_leaf;
|
||||||
}
|
}
|
||||||
|
GLIBC_ABI_GNU2_TLS {
|
||||||
|
# This symbol is used only for empty version map and will be removed
|
||||||
|
# by scripts/versions.awk.
|
||||||
|
__placeholder_only_for_empty_version_map;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -222,15 +222,6 @@ $(objpfx)check-dt-x86-64-plt.out: $(common-objpfx)libc.so
|
||||||
| grep GLIBC_ABI_DT_X86_64_PLT > $@; \
|
| grep GLIBC_ABI_DT_X86_64_PLT > $@; \
|
||||||
$(evaluate-test)
|
$(evaluate-test)
|
||||||
generated += check-dt-x86-64-plt.out
|
generated += check-dt-x86-64-plt.out
|
||||||
|
|
||||||
tests-special += $(objpfx)check-gnu2-tls.out
|
|
||||||
|
|
||||||
$(objpfx)check-gnu2-tls.out: $(common-objpfx)libc.so
|
|
||||||
LC_ALL=C $(READELF) -V -W $< \
|
|
||||||
| sed -ne '/.gnu.version_d/, /.gnu.version_r/ p' \
|
|
||||||
| grep GLIBC_ABI_GNU2_TLS > $@; \
|
|
||||||
$(evaluate-test)
|
|
||||||
generated += check-gnu2-tls.out
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test-internal-extras += tst-gnu2-tls2mod1
|
test-internal-extras += tst-gnu2-tls2mod1
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,6 @@ libc {
|
||||||
GLIBC_2.13 {
|
GLIBC_2.13 {
|
||||||
__fentry__;
|
__fentry__;
|
||||||
}
|
}
|
||||||
GLIBC_ABI_GNU2_TLS {
|
|
||||||
# This symbol is used only for empty version map and will be removed
|
|
||||||
# by scripts/versions.awk.
|
|
||||||
__placeholder_only_for_empty_version_map;
|
|
||||||
}
|
|
||||||
GLIBC_ABI_DT_X86_64_PLT {
|
GLIBC_ABI_DT_X86_64_PLT {
|
||||||
# This symbol is used only for empty version map and will be removed
|
# This symbol is used only for empty version map and will be removed
|
||||||
# by scripts/versions.awk.
|
# by scripts/versions.awk.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue