aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2025-09-04 20:30:41 +0200
committerArjun Shankar <arjun@redhat.com>2025-09-04 23:05:56 +0200
commita0dc87da2a689f3570a11a80ca8876bfb7ddcca6 (patch)
tree51c47d453927d0299344636129e193d4de7d32e1
parentb7f904012afa12969615651d6f0eadce14353ccb (diff)
downloadglibc-a0dc87da2a689f3570a11a80ca8876bfb7ddcca6.zip
glibc-a0dc87da2a689f3570a11a80ca8876bfb7ddcca6.tar.gz
glibc-a0dc87da2a689f3570a11a80ca8876bfb7ddcca6.tar.bz2
x86_64: Unconditionally run test elf/check-dt-x86-64-plt
The intention of GLIBC_ABI_DT_X86_64_PLT is simply to mark the existence of the fix in f8587a61892cbafd98ce599131bf4f103466f084 ("x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT"). Testing for GLIBC_ABI_DT_X86_64_PLT does not depend on the linker supporting -z mark-plt. Therefore remove this dependency on linker support and test unconditionally. Fixes commit 399384e0c8193e31aea014220ccfa24300ae5938 ("x86-64: Add GLIBC_ABI_DT_X86_64_PLT [BZ #33212]") Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
-rw-r--r--sysdeps/x86_64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile
index 9792e47..ff0463d 100644
--- a/sysdeps/x86_64/Makefile
+++ b/sysdeps/x86_64/Makefile
@@ -213,6 +213,7 @@ LDFLAGS-tst-plt-rewrite2 = -Wl,-z,now
LDFLAGS-tst-plt-rewritemod2.so = -Wl,-z,now,-z,undefs
tst-plt-rewrite2-ENV = GLIBC_TUNABLES=glibc.cpu.plt_rewrite=2
$(objpfx)tst-plt-rewrite2: $(objpfx)tst-plt-rewritemod2.so
+endif
tests-special += $(objpfx)check-dt-x86-64-plt.out
@@ -222,7 +223,6 @@ $(objpfx)check-dt-x86-64-plt.out: $(common-objpfx)libc.so
| grep GLIBC_ABI_DT_X86_64_PLT > $@; \
$(evaluate-test)
generated += check-dt-x86-64-plt.out
-endif
test-internal-extras += tst-gnu2-tls2mod1