glibc/elf
Roland McGrath c2afe83352 * sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>.
[USE_TLS && HAVE___THREAD]: Just include the sysdeps/generic file,
	which does the right thing when __thread support is available.
	* descr.h (struct _pthread_descr_struct) [USE_TLS && HAVE___THREAD]:
	Omit `p_libc_specific', `p_errnop', `p_errno', `p_h_errnop',
	`p_h_errno', `p_resp', and `p_res' members.
	* pthread.c (__pthread_initialize_minimal) [USE_TLS && HAVE___THREAD]:
	Don't initialize `p_errnop' and `p_h_errnop' members.
	(__pthread_reset_main_thread): Likewise.
	(__pthread_initialize_manager): Likewise.
	* manager.c (__pthread_manager, pthread_handle_create): Likewise.
	* pthread.c (pthread_initialize) [USE_TLS && HAVE___THREAD]:
	Don't initialize `p_resp' member.
	(__pthread_reset_main_thread): Likewise.
	* manager.c (pthread_handle_create): Likewise.
	* specific.c (libc_internal_tsd_set, libc_internal_tsd_get):
	Conditionalize these on [!(USE_TLS && HAVE___THREAD)].
	* errno.c [USE_TLS && HAVE___THREAD]
	(__h_errno_location, __res_state): Don't define these at all.

	* sysdeps/i386/tls.h (INSTALL_DTV): Add parens around arguments!
	(INSTALL_NEW_DTV, GET_DTV): Likewise.
	* sysdeps/sh/tls.h (INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV): Likewise.

	* weaks.c: Don't include <errno.h> here.

2002-08-01  Roland McGrath  <roland@redhat.com>

	* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): New macro, broken out of
	TLS_INIT_TP.
	(TLS_DO_SET_THREAD_AREA): New macro, uses thread_set_area syscall.
	(TLS_SETUP_GS_SEGMENT): New macro, try one or the other or both.
	(TLS_INIT_TP): Use that.
2002-08-02 03:32:24 +00:00
..
.cvsignore
cache.c Update. 2002-04-08 15:21:19 +00:00
chroot_canon.c Realloc error handling memory leak fix. 2001-12-29 15:57:15 +00:00
circleload1.c Update. 2002-07-17 00:34:35 +00:00
circlemod1.c Update. 2002-07-17 00:34:35 +00:00
circlemod1a.c Update. 2002-06-30 07:17:02 +00:00
circlemod2.c Update. 2002-07-17 00:34:35 +00:00
circlemod2a.c Update. 2002-07-17 00:34:35 +00:00
circlemod3.c Update. 2002-07-17 00:34:35 +00:00
circlemod3a.c Update. 2002-06-30 07:17:02 +00:00
constload1.c
constload2.c Add prototype for init. 2001-01-21 17:15:50 +00:00
constload3.c Update. 2000-12-17 17:50:56 +00:00
dblload.c Update. 2001-09-06 01:03:05 +00:00
dblloadmod1.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
dblloadmod2.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
dblloadmod3.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
dblunload.c Update. 2001-09-06 01:03:05 +00:00
dep1.c
dep2.c
dep3.c
dep4.c
dl-addr.c Update. 2002-01-31 03:41:25 +00:00
dl-close.c Update. 2002-02-24 07:10:08 +00:00
dl-conflict.c Update. 2002-03-01 09:44:29 +00:00
dl-debug.c Update. 2002-03-01 09:44:29 +00:00
dl-deps.c Update. 2002-06-30 08:26:20 +00:00
dl-dst.h Update. 2002-04-08 18:50:41 +00:00
dl-error.c Update. 2002-06-30 08:58:21 +00:00
dl-fini.c Update. 2002-03-01 09:44:29 +00:00
dl-fxstat64.c Update. 2002-02-01 23:24:05 +00:00
dl-init.c Update. 2002-03-01 09:44:29 +00:00
dl-iteratephdr.c Update. 2002-02-01 01:33:04 +00:00
dl-libc.c Update. 2002-04-13 07:55:02 +00:00
dl-load.c * sysdeps/pthread/bits/libc-tsd.h: Include <tls.h>. 2002-08-02 03:32:24 +00:00
dl-lookup.c Update. 2002-06-30 08:26:20 +00:00
dl-minimal.c Update. 2002-07-25 08:29:34 +00:00
dl-misc.c Update. 2002-02-06 00:19:11 +00:00
dl-object.c Update. 2002-02-03 19:39:52 +00:00
dl-open.c Update. 2002-03-13 02:17:12 +00:00
dl-profile.c Update. 2002-03-01 09:44:29 +00:00
dl-profstub.c Update. 2002-01-31 03:41:25 +00:00
dl-reloc.c Update. 2002-04-13 07:55:02 +00:00
dl-runtime.c Update. 2002-04-13 07:55:02 +00:00
dl-support.c (_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. 2002-07-23 22:59:19 +00:00
dl-sym.c Update. 2002-04-13 07:55:02 +00:00
dl-version.c Update. 2002-03-01 09:44:29 +00:00
dl-xstat64.c Update. 2002-02-01 23:24:05 +00:00
do-lookup.h Update. 2002-04-13 07:55:02 +00:00
do-rel.h Update. 2002-06-29 17:20:10 +00:00
dynamic-link.h Update. 2002-04-03 00:36:12 +00:00
elf.h Update. 2002-05-30 23:35:59 +00:00
failobj.c Update. 2000-12-17 17:50:56 +00:00
filter.c
filtmod1.c Update. 2000-12-17 17:50:56 +00:00
filtmod2.c Update. 2000-12-17 17:50:56 +00:00
firstobj.c Add prototype. 2001-02-06 10:38:10 +00:00
gen-trusted-dirs.awk
genrtldtbl.awk
global.c (main): Use proper prototype. 2001-03-21 07:21:34 +00:00
globalmod1.c Update. 2001-04-06 15:23:41 +00:00
initfirst.c Update. 2001-02-02 06:54:15 +00:00
interp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lateglobal.c
ldconfig.c Update. 2002-01-17 07:38:47 +00:00
ldd.bash.in Update. 2002-01-17 07:38:47 +00:00
link.h Update. 2001-07-25 20:47:02 +00:00
loadfail.c
loadtest.c Update. 2001-09-08 16:27:08 +00:00
ltglobmod1.c Update. 2000-12-17 17:50:56 +00:00
ltglobmod2.c
Makefile Update. 2002-06-30 07:17:02 +00:00
multiload.c
neededobj1.c Update. 2000-12-17 17:50:56 +00:00
neededobj2.c Update. 2000-12-17 17:50:56 +00:00
neededobj3.c Update. 2000-12-17 17:50:56 +00:00
neededobj4.c Update. 2000-12-17 17:50:56 +00:00
neededobj5.c Update. 2000-12-31 06:09:08 +00:00
neededobj6.c Update. 2000-12-31 06:09:08 +00:00
neededtest.c
neededtest2.c
neededtest3.c
neededtest4.c Update. 2000-12-31 06:09:08 +00:00
next.c
nextmod1.c Update. 2000-12-17 17:50:56 +00:00
nextmod2.c Update. 2000-12-17 17:50:56 +00:00
nodelete.c
nodelmod1.c
nodelmod2.c
nodelmod3.c Update. 2000-12-17 17:50:56 +00:00
nodelmod4.c
nodlopen.c
nodlopen2.c Update. 2002-02-10 22:40:17 +00:00
nodlopenmod.c
nodlopenmod2.c Update. 2002-03-03 19:43:30 +00:00
noload.c
order.c
origtest.c
pathoptobj.c Update. 2000-12-17 17:50:56 +00:00
preloadtest.c
readlib.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
reldep.c
reldep2.c Update. 2001-09-08 17:45:32 +00:00
reldep3.c
reldep4.c Avoid compile warning. 2001-09-22 15:44:07 +00:00
reldep4mod1.c Update. 2001-05-22 23:55:23 +00:00
reldep4mod2.c Update. 2001-06-22 13:50:51 +00:00
reldep4mod3.c Update. 2001-05-22 23:55:23 +00:00
reldep4mod4.c Update. 2001-06-22 13:50:51 +00:00
reldep5.c Update. 2001-09-22 15:44:35 +00:00
reldep6.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod0.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod1.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod2.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod3.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod4.c Update. 2001-10-01 00:14:14 +00:00
reldep7.c Update. 2002-04-15 17:10:22 +00:00
reldep7mod1.c Update. 2002-04-15 17:10:22 +00:00
reldep7mod2.c Update. 2002-04-15 17:10:22 +00:00
reldepmod1.c Update. 2000-12-17 17:50:56 +00:00
reldepmod2.c Update. 2000-12-17 17:50:56 +00:00
reldepmod3.c Update. 2000-12-17 17:50:56 +00:00
reldepmod4.c Update. 2000-12-17 17:50:56 +00:00
reldepmod5.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
reldepmod6.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
resolvfail.c
restest1.c
restest2.c Update. 2001-05-22 22:30:18 +00:00
rtld.c * elf/rtld.c (dl_main): Fix typo in error message. 2002-07-31 23:16:57 +00:00
sln.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sofini.c
soinit.c Update. 2001-11-16 01:27:24 +00:00
sprof.c Update. 2002-02-23 09:20:59 +00:00
testobj.h
testobj1.c
testobj1_1.c
testobj2.c
testobj3.c
testobj4.c
testobj5.c
testobj6.c
tls-macros.h Update. 2002-04-08 21:05:48 +00:00
tst-pathopt.c
tst-pathopt.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-tls1.c Update. 2002-02-13 17:45:55 +00:00
tst-tls2.c Update. 2002-02-13 17:45:55 +00:00
tst-tls3.c Update. 2002-02-13 17:45:55 +00:00
tst-tls4.c Update. 2002-02-13 08:03:56 +00:00
tst-tls5.c Update. 2002-02-13 08:03:56 +00:00
tst-tls6.c Update. 2002-02-14 03:54:02 +00:00
tst-tls7.c Update. 2002-02-14 07:57:19 +00:00
tst-tls8.c Update. 2002-02-14 10:34:55 +00:00
tst-tlsmod1.c Update. 2002-03-03 19:43:30 +00:00
tst-tlsmod2.c Update. 2002-02-14 07:57:19 +00:00
tst-tlsmod3.c Update. 2002-02-14 10:34:55 +00:00
tst-tlsmod4.c Update. 2002-02-14 10:34:55 +00:00
unload.c
unload2.c
unload2dep.c Update. 2000-12-17 17:50:56 +00:00
unload2mod.c Update. 2000-12-17 17:50:56 +00:00
unloadmod.c
Versions Update. 2002-04-07 17:30:05 +00:00
vismain.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
vismod.h
vismod1.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
vismod2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
vismod3.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00