aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile4
-rw-r--r--elf/tst-tls1-static.c1
-rw-r--r--elf/tst-tls2-static.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 40d47a276c..ddc7a54c07 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -467,10 +467,6 @@ $(objpfx)reldep6.out: $(objpfx)reldep6mod3.so $(objpfx)reldep6mod4.so
$(objpfx)reldep7: $(libdl)
$(objpfx)reldep7.out: $(objpfx)reldep7mod1.so $(objpfx)reldep7mod2.so
-# The tst-*-static tests are the same tst-* programs, but linked statically.
-$(tests-static:%=$(objpfx)%.o): $(objpfx)tst-%-static.o: $(objpfx)tst-%.o
- ln -f $< $@
-
$(objpfx)tst-tls3: $(objpfx)tst-tlsmod1.so
$(objpfx)tst-tls4: $(libdl)
diff --git a/elf/tst-tls1-static.c b/elf/tst-tls1-static.c
new file mode 100644
index 0000000000..a01008073b
--- /dev/null
+++ b/elf/tst-tls1-static.c
@@ -0,0 +1 @@
+#include "tst-tls1.c"
diff --git a/elf/tst-tls2-static.c b/elf/tst-tls2-static.c
new file mode 100644
index 0000000000..55ffa57448
--- /dev/null
+++ b/elf/tst-tls2-static.c
@@ -0,0 +1 @@
+#include "tst-tls2.c"