about summary refs log tree commit diff
path: root/elf/tst-leaks1.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-03-19 07:48:05 +0000
committerRoland McGrath <roland@gnu.org>2006-03-19 07:48:05 +0000
commitcafdfdb65b38a14653854c3f6b535235614e0b3e (patch)
tree0fedb701658f8f39f07e73d620082deabfb0e1f6 /elf/tst-leaks1.c
parent1903f2ec29d8f29ae55ac1d7172862e418e80183 (diff)
downloadglibc-cafdfdb65b38a14653854c3f6b535235614e0b3e.tar.gz
glibc-cafdfdb65b38a14653854c3f6b535235614e0b3e.tar.xz
glibc-cafdfdb65b38a14653854c3f6b535235614e0b3e.zip
* elf/rtld.c (dl_main): Run final self-relocation after setting up TLS.
	From Alexandre Oliva <aoliva@redhat.com>.

	* elf/tst-audit2.c: New file.
	* elf/Makefile (tests): Add it.
	($(objpfx)tst-audit2.out): New target.
	(tst-audit2-ENV): New variable.

	* elf/tst-leaks1.c: Include <stdio.h>.
Diffstat (limited to 'elf/tst-leaks1.c')
-rw-r--r--elf/tst-leaks1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/tst-leaks1.c b/elf/tst-leaks1.c
index c9db5e0537..36e4aee9cf 100644
--- a/elf/tst-leaks1.c
+++ b/elf/tst-leaks1.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
 #include <dlfcn.h>
 #include <mcheck.h>
 #include <stdlib.h>