* elf/tst-tls1-static.c: New file.
authorRoland McGrath <roland@gnu.org>
Wed, 28 Aug 2002 10:42:59 +0000 (10:42 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 28 Aug 2002 10:42:59 +0000 (10:42 +0000)
* elf/tst-tls2-static.c: New file.
* elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.

ChangeLog
elf/Makefile
elf/tst-tls1-static.c [new file with mode: 0644]
elf/tst-tls2-static.c [new file with mode: 0644]

index e25a58f..c0cfa53 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-08-28  Roland McGrath  <roland@redhat.com>
 
+       * elf/tst-tls1-static.c: New file.
+       * elf/tst-tls2-static.c: New file.
+       * elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.
+
        Make uselocale support static linking.
        * locale/xlocale.c: Revert changes putting _nl_global_locale here.
        This file again just defines _nl_C_locobj.
index 40d47a2..ddc7a54 100644 (file)
@@ -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 (file)
index 0000000..a010080
--- /dev/null
@@ -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 (file)
index 0000000..55ffa57
--- /dev/null
@@ -0,0 +1 @@
+#include "tst-tls2.c"