* elf/tst-tls1-static.c: New file.

* elf/tst-tls2-static.c: New file.
	* elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.
This commit is contained in:
Roland McGrath 2002-08-28 10:42:59 +00:00
parent 1a0d874ed4
commit 6c0b461a58
4 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2002-08-28 Roland McGrath <roland@redhat.com> 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. Make uselocale support static linking.
* locale/xlocale.c: Revert changes putting _nl_global_locale here. * locale/xlocale.c: Revert changes putting _nl_global_locale here.
This file again just defines _nl_C_locobj. This file again just defines _nl_C_locobj.

View File

@ -467,10 +467,6 @@ $(objpfx)reldep6.out: $(objpfx)reldep6mod3.so $(objpfx)reldep6mod4.so
$(objpfx)reldep7: $(libdl) $(objpfx)reldep7: $(libdl)
$(objpfx)reldep7.out: $(objpfx)reldep7mod1.so $(objpfx)reldep7mod2.so $(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-tls3: $(objpfx)tst-tlsmod1.so
$(objpfx)tst-tls4: $(libdl) $(objpfx)tst-tls4: $(libdl)

1
elf/tst-tls1-static.c Normal file
View File

@ -0,0 +1 @@
#include "tst-tls1.c"

1
elf/tst-tls2-static.c Normal file
View File

@ -0,0 +1 @@
#include "tst-tls2.c"