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 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
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 Include <stdio.h> for puts prototype. 2000-08-19 08:30:28 +00:00
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 Update. 2000-12-15 16:03:57 +00:00
dep2.c Update. 2000-12-15 16:03:57 +00:00
dep3.c Update. 2000-12-15 16:03:57 +00:00
dep4.c Update. 2000-12-15 16:03:57 +00:00
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 Update. 2000-08-19 07:17:09 +00:00
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 Update. 1999-05-03 21:59:35 +00:00
genrtldtbl.awk Testsuite for owrdexp. 1998-03-05 16:42:56 +00:00
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 Update. 2000-10-21 07:16:18 +00:00
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 Update. 2000-11-26 06:18:02 +00:00
loadtest.c Update. 2001-09-08 16:27:08 +00:00
ltglobmod1.c Update. 2000-12-17 17:50:56 +00:00
ltglobmod2.c Update. 2000-12-15 16:03:57 +00:00
Makefile Update. 2002-06-30 07:17:02 +00:00
multiload.c Update. 2000-11-26 06:18:02 +00:00
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
neededtest2.c Update. 2000-10-23 22:58:40 +00:00
neededtest3.c Update. 2000-10-24 17:04:14 +00:00
neededtest4.c Update. 2000-12-31 06:09:08 +00:00
neededtest.c (main): Correct tests for failing dlopen. 2000-10-24 15:25:53 +00:00
next.c Update. 2000-11-26 06:18:02 +00:00
nextmod1.c Update. 2000-12-17 17:50:56 +00:00
nextmod2.c Update. 2000-12-17 17:50:56 +00:00
nodelete.c Update. 2000-11-26 06:18:02 +00:00
nodelmod1.c Update. 2000-08-25 19:33:19 +00:00
nodelmod2.c Update. 2000-08-25 19:33:19 +00:00
nodelmod3.c Update. 2000-12-17 17:50:56 +00:00
nodelmod4.c Update. 2000-08-25 19:33:19 +00:00
nodlopen2.c Update. 2002-02-10 22:40:17 +00:00
nodlopen.c Update. 2000-07-21 04:42:21 +00:00
nodlopenmod2.c Update. 2002-03-03 19:43:30 +00:00
nodlopenmod.c Update. 2000-07-21 04:42:21 +00:00
noload.c Update. 2000-11-26 06:18:02 +00:00
order.c Update. 2000-11-26 06:18:02 +00:00
origtest.c Update. 2000-11-26 06:18:02 +00:00
pathoptobj.c Update. 2000-12-17 17:50:56 +00:00
preloadtest.c Update. 2000-12-15 16:03:57 +00:00
readlib.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
reldep2.c Update. 2001-09-08 17:45:32 +00:00
reldep3.c Update. 2000-08-26 23:41:19 +00:00
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
reldep.c Update. 2000-08-26 23:41:19 +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 Update. 1999-08-02 19:56:07 +00:00
restest1.c Update. 2000-11-26 06:18:02 +00:00
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 Update. 1997-09-30 17:10:40 +00:00
soinit.c Update. 2001-11-16 01:27:24 +00:00
sprof.c Update. 2002-02-23 09:20:59 +00:00
testobj1_1.c Update. 2000-12-15 16:03:57 +00:00
testobj1.c Update. 2000-12-15 16:03:57 +00:00
testobj2.c Update. 2000-12-15 16:03:57 +00:00
testobj3.c Update. 2000-12-15 16:03:57 +00:00
testobj4.c Update. 2000-12-15 16:03:57 +00:00
testobj5.c Update. 2000-12-15 16:03:57 +00:00
testobj6.c Update. 2000-12-15 16:03:57 +00:00
testobj.h Update. 2000-12-15 16:03:57 +00:00
tls-macros.h Update. 2002-04-08 21:05:48 +00:00
tst-pathopt.c Update. 2000-10-30 00:13:29 +00:00
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
unload2.c Update. 2000-10-21 06:02:49 +00:00
unload2dep.c Update. 2000-12-17 17:50:56 +00:00
unload2mod.c Update. 2000-12-17 17:50:56 +00:00
unload.c Update. 2000-10-23 22:58:40 +00:00
unloadmod.c Update. 2000-08-26 23:41:19 +00:00
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
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
vismod.h Update. 2000-12-17 17:09:01 +00:00