* elf/rtld.c (_dl_start_final): Allocate TLS and initialize
	thread-pointer as soon as possible.
	* sysdeps/generic/ldsodefs.h: Include <tls.h>.  Define first TLS
	elements in rtld_global.
	* sysdeps/generic/tls.h: New file.
	* elf/Makefile (distribute): Add tls.h.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS
	relocations.  Not complete yet.

	* resolv/resolv.h: Allow user to define __need_res_state and only
	define __res_start structure then.
	* include/resolv.h: Only declare functions if _RESOLV_H_ is defined.
This commit is contained in:
Ulrich Drepper
2002-02-05 00:57:29 +00:00
parent 67ddea9254
commit 535b764df5
22 changed files with 513 additions and 197 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include <string.h>
#include "proc_service.h"
#include "thread_db.h"
#include "../linuxthreads/internals.h"
#include "../linuxthreads/descr.h"
/* Indeces for the symbol names. */