kopensolaris-gnu/glibc.git
18 years agoDefine to something else and undefine after including wcstol_l.c.
drepper [Thu, 8 Aug 2002 11:44:51 +0000 (11:44 +0000)]
Define to something else and undefine after including wcstol_l.c.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 09:04:02 +0000 (09:04 +0000)]
Update.

18 years ago(TLS_DO_SET_THREAD_AREA): Removed.
drepper [Thu, 8 Aug 2002 09:02:49 +0000 (09:02 +0000)]
(TLS_DO_SET_THREAD_AREA): Removed.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 08:45:14 +0000 (08:45 +0000)]
Update.

18 years ago(write_gmon): Use O_NOFOLLOW in open calls if available.
drepper [Thu, 8 Aug 2002 08:42:49 +0000 (08:42 +0000)]
(write_gmon): Use O_NOFOLLOW in open calls if available.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 08:14:53 +0000 (08:14 +0000)]
Update.

18 years agoRegenerated.
drepper [Thu, 8 Aug 2002 08:14:14 +0000 (08:14 +0000)]
Regenerated.

18 years agoMake the test for broken_alias_attribute stricter.
drepper [Thu, 8 Aug 2002 08:12:27 +0000 (08:12 +0000)]
Make the test for broken_alias_attribute stricter.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 07:53:36 +0000 (07:53 +0000)]
Update.

18 years ago(routines): Add sched_getaffinity and sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:46:18 +0000 (07:46 +0000)]
(routines): Add sched_getaffinity and sched_setaffinity.

18 years agoAdd declarations for sched_getaffinity and sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:45:30 +0000 (07:45 +0000)]
Add declarations for sched_getaffinity and sched_setaffinity.

18 years agoStub implementation of sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:44:20 +0000 (07:44 +0000)]
Stub implementation of sched_setaffinity.

18 years agoStub implementation for sched_getaffinity.
drepper [Thu, 8 Aug 2002 07:43:50 +0000 (07:43 +0000)]
Stub implementation for sched_getaffinity.

18 years agoAdd sched_getaffinity and sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:42:36 +0000 (07:42 +0000)]
Add sched_getaffinity and sched_setaffinity.

18 years agoIf TIMES is NULL pass it through to utimes.
drepper [Thu, 8 Aug 2002 06:42:30 +0000 (06:42 +0000)]
If TIMES is NULL pass it through to utimes.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 06:38:19 +0000 (06:38 +0000)]
Update.

18 years ago(_dl_map_object_from_fd): Add missing \n in error message.
drepper [Thu, 8 Aug 2002 06:33:28 +0000 (06:33 +0000)]
(_dl_map_object_from_fd): Add missing \n in error message.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 05:40:50 +0000 (05:40 +0000)]
Update.

18 years agoDefine LINUXTHREADS_INITIAL_REPORT_EVENTS.
drepper [Thu, 8 Aug 2002 05:40:03 +0000 (05:40 +0000)]
Define LINUXTHREADS_INITIAL_REPORT_EVENTS.

18 years ago(td_thr_event_enable): If th->th_unique is null write to
drepper [Thu, 8 Aug 2002 05:37:38 +0000 (05:37 +0000)]
(td_thr_event_enable): If th->th_unique is null write to
__linuxthreads_initial_report_events.

18 years ago(symbol_list_arr): Add __linuxthreads_initial_report_events.
drepper [Thu, 8 Aug 2002 05:35:46 +0000 (05:35 +0000)]
(symbol_list_arr): Add __linuxthreads_initial_report_events.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 05:34:04 +0000 (05:34 +0000)]
Update.

18 years ago(__linuxthreads_initial_report_events): New variable.
drepper [Thu, 8 Aug 2002 05:20:04 +0000 (05:20 +0000)]
(__linuxthreads_initial_report_events): New variable.
(__pthread_initialize_manager): Use it to initialize p_report_events
of initial thread.
[TLS]: Store pointer to descriptor of manager in __pthread_handles.

18 years ago.
roland [Thu, 8 Aug 2002 04:58:42 +0000 (04:58 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 04:58:30 +0000 (04:58 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Add an extra argument with
an "m" constraint to the asm so the compiler knows LDT_ENTRY was used.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 04:48:50 +0000 (04:48 +0000)]
Update.

18 years ago(get_null_defines): Treat NOT_IN_libc special. It is known to be defined.
drepper [Thu, 8 Aug 2002 04:44:47 +0000 (04:44 +0000)]
(get_null_defines): Treat NOT_IN_libc special.  It is known to be defined.

18 years agoDefine index and rindex only if _ISOMAC is not defined.
drepper [Thu, 8 Aug 2002 04:43:55 +0000 (04:43 +0000)]
Define index and rindex only if _ISOMAC is not defined.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 04:16:54 +0000 (04:16 +0000)]
Update.

18 years agoInclude <errno.h>.
drepper [Thu, 8 Aug 2002 04:13:38 +0000 (04:13 +0000)]
Include <errno.h>.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 03:35:15 +0000 (03:35 +0000)]
Update.

18 years agoInclude <errno.h>.
drepper [Thu, 8 Aug 2002 03:31:34 +0000 (03:31 +0000)]
Include <errno.h>.

18 years ago.
roland [Thu, 8 Aug 2002 02:01:41 +0000 (02:01 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 02:01:31 +0000 (02:01 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* resolv/res_debug.c (latlon2ul): Add const to argument type, and use
it internally.
(precsize_aton): Likewise.

18 years ago.
roland [Thu, 8 Aug 2002 01:33:05 +0000 (01:33 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 01:32:52 +0000 (01:32 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c (__newlocale): Use a bit mask instead of a second
loop to notice missing categories in a composite name.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 01:32:50 +0000 (01:32 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* locale/locale.h (LC_CTYPE_MASK, LC_NUMERIC_MASK, LC_TIME_MASK,
LC_COLLATE_MASK, LC_MONETARY_MASK, LC_MESSAGES_MASK, LC_ALL_MASK,
LC_PAPER_MASK, LC_NAME_MASK, LC_ADDRESS_MASK, LC_TELEPHONE_MASK,
LC_MEASUREMENT_MASK, LC_IDENTIFICATION_MASK, LC_ALL_MASK): New macros.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 01:32:48 +0000 (01:32 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call
the static symbols added in the last change (doofus is me).

18 years agoUpdate.
drepper [Wed, 7 Aug 2002 23:08:10 +0000 (23:08 +0000)]
Update.

18 years agoAdd tests for one or both parameters being zero.
drepper [Wed, 7 Aug 2002 23:06:11 +0000 (23:06 +0000)]
Add tests for one or both parameters being zero.

18 years ago.
roland [Wed, 7 Aug 2002 22:14:40 +0000 (22:14 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Wed, 7 Aug 2002 22:14:15 +0000 (22:14 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber,
unrelocated initial value for DTPOFF32 and TPOFF32 relocs.
Reported by Jakub Jelinek  <jakub@redhat.com>.

18 years ago.
roland [Wed, 7 Aug 2002 19:32:54 +0000 (19:32 +0000)]
.

18 years ago2002-08-07 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 7 Aug 2002 19:32:41 +0000 (19:32 +0000)]
2002-08-07  Jakub Jelinek  <jakub@redhat.com>

        * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before
division.

18 years ago.
roland [Tue, 6 Aug 2002 21:10:50 +0000 (21:10 +0000)]
.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 21:10:37 +0000 (21:10 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr):
Define as a macro for __dl_iterate_phdr.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 21:10:35 +0000 (21:10 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* include/getopt.h: But private decls inside [_GETOPT_H].
Use libc_hidden_proto for getopt_long, getopt_long_only.
* posix/getopt1.c [_LIBC]: Include <getopt.h> instead of "getopt.h".
Add libc_hidden_def.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 21:10:33 +0000 (21:10 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name,
made static.  Add __ name as a strong alias.
(internal_endnetgrent): Likewise.
(internal_getnetgrent_r): Likewise.

18 years ago.
roland [Tue, 6 Aug 2002 08:40:20 +0000 (08:40 +0000)]
.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 08:39:56 +0000 (08:39 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* locale/Versions (libc: GLIBC_2.3): Add all the *_l functions
with no __ prefix.
* locale/langinfo.h [__USE_GNU]: Declare nl_langinfo_l.
* ctype/ctype.h [__USE_GNU]: Add declarations and macros for
all *_l functions with no __ prefix.
* wctype/wcfuncs_l.c: Define weak aliases without __ for all fns.
* ctype/ctype_l.c: Likewise.
* locale/nl_langinfo.c: Likewise.
* string/string.h [__USE_GNU]: Add decls for all *_l fns with no __.
* stdlib/stdlib.h [__USE_GNU]: Likewise.
* wcsmbs/wchar.h [__USE_GNU]: Likewise.
* wctype/wctype.h [__USE_GNU]: Likewise.
* string/strcoll_l.c (strcoll_l): Define as weak alias.
* string/strxfrm_l.c (strxfrm_l): Define as weak alias.
* sysdeps/generic/strcasecmp_l.c (strcasecmp_l): Define as weak alias.
* sysdeps/generic/strncase_l.c (strncasecmp_l): Define as weak alias.
* stdlib/strtod_l.c (strtod_l): Define as weak alias.
* stdlib/strtof_l.c (strtof_l): Define as weak alias.
* stdlib/strtold_l.c (strtold_l): Define as weak alias.
* wcsmbs/wcscasecmp_l.c (wcscasecmp_l): Define as weak alias.
(__wcscasecmp_l): Add libc_hidden_def.
* wcsmbs/wcsncase_l.c (wcsncasecmp_l): Define as weak alias.
(__wcsncasecmp_l): Add libc_hidden_def.
* wcsmbs/wcstof_l.c (wcstof_l): Define as weak alias.
* wcsmbs/wcstod_l.c (wcstod_l): Define as weak alias.
* wcsmbs/wcstold_l.c (wcstold_l): Define as weak alias.
* wcsmbs/wcscoll_l.c (wcscoll_l): Define as weak alias.
* wcsmbs/wcsxfrm_l.c (wcsxfrm_l): Define as weak alias.
* sysdeps/generic/wcstol_l.c (wcstol_l): Define as weak alias.
* sysdeps/generic/wcstoll_l.c (wcstoll_l): Define as weak alias.
* sysdeps/generic/wcstoul_l.c (wcstoul_l): Define as weak alias.
* sysdeps/generic/wcstoull_l.c (wcstoull_l): Define as weak alias.
* sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define as weak alias.
* sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Define as weak alias.
* wctype/wctrans_l.c (wctrans_l) Define as weak alias.
* wctype/towctrans_l.c (towctrans_l) Define as weak alias.
* wctype/wctype_l.c (wctype_l) Define as weak alias.

18 years ago.
roland [Tue, 6 Aug 2002 06:09:28 +0000 (06:09 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:09:09 +0000 (06:09 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset.
* wcsmbs/wmemchr.c: Add libc_hidden_def.
* wcsmbs/wmemset.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:09:00 +0000 (06:09 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset.
* wcsmbs/wmemchr.c: Add libc_hidden_def.
* wcsmbs/wmemset.c: Add libc_hidden_def.
* include/wchar.h: Use libc_hidden_proto for mbrtowc.
* wcsmbs/mbrtowc.c: Add libc_hidden_weak.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:48 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname, key_gendes.
* sunrpc/netname.c: Add libc_hidden_def.
* sunrpc/key_call.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:38 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo,
freeaddrinfo.
* inet/getnameinfo.c: Add libc_hidden_def.
* sysdeps/generic/getaddrinfo.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:25 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply.
* sunrpc/rpc_prot.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:16 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* string/envz.c (envz_strip): index -> strchr

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:07 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H.
(index, rindex): Define as macros for strchr, strrchr.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:07:59 +0000 (06:07 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/wchar.h: Use libc_hidden_proto for mbrtowc.
* wcsmbs/mbrtowc.c: Add libc_hidden_weak.

18 years ago.
roland [Tue, 6 Aug 2002 05:10:45 +0000 (05:10 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:35 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/stdlib.h: Use libc_hidden_proto for wctomb.
* stdlib/wctomb.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:33 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror.
* resolv/herror.c: Likewise.
* inet/rcmd.c: Add libc_hidden_def.
* inet/ruserpass.c: Likewise.
* inet/getnetgrent_r.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:30 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/svc.h: Use libc_hidden_proto for svc_register,
svc_unregister, remove *_internal decls.  Use libc_hidden_proto
for svcerr_auth, svcerr_noprog, svcerr_progvers.
* sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to
libc_hidden_def.
(svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def.
* sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:27 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname.
* sunrpc/netname.c: Add libc_hidden_def.

18 years ago.
roland [Tue, 6 Aug 2002 04:30:03 +0000 (04:30 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:45 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/system.c (do_system): New function, guts broken out of
__libc_system.
(__libc_system): Call it, putting just the line == NULL test here.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:44 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext.
* elf/dl-close.c (_dl_close): Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:41 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname.
* sunrpc/netname.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:40 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/libc-symbols.h (__hidden_proto): Add extern keywords so
variables work right.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:38 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netinet/ether.h: Use libc_hidden_proto for ether_ntoa_r,
ether_aton_r.
* inet/ether_aton_r.c: Add libc_hidden_def.
* inet/ether_ntoa_r.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:36 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netinet/in.h: Use libc_hidden_proto for bindresvport,
in6addr_any, in6addr_loopback.  Remove decls for
bindresvport_internal, in6addr_any_internal, in6addr_loopback_internal.
* sunrpc/svc_udp.c (svcudp_bufcreate): Nix INTUSE for bindresvport.
* sunrpc/svc_tcp.c (svctcp_create): Likewise.
* sunrpc/clnt_udp.c (clntudp_bufcreate): Likewise.
* sunrpc/bindrsvprt.c: Change INTDEF to libc_hidden_def.
* inet/in6_addr.c: Change INTVARDEF to libc_hidden_def.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Nix INTUSE for
in6addr_loopback.
* inet/gethstbyad_r.c (PREPROCESS): Nix INTUSE for in6addr_any.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:32 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
rexec_af, rresvport_af, ruserok_af.
* inet/rcmd.c: Add libc_hidden_def.
* inet/getnetgrent_r.c: Likewise.

18 years ago.
roland [Tue, 6 Aug 2002 01:23:32 +0000 (01:23 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 01:23:20 +0000 (01:23 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/svc.h: Use libc_hidden_proto for xprt_register,
xprt_unregister.
* sunrpc/svc.c: Add libc_hidden_def.
* include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport,
pmap_set, pmap_unset.
* sunrpc/pmap_clnt.c: Add libc_hidden_def.
* sunrpc/pm_getport.c: Likewise.
* include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey.
* sunrpc/publickey.c: Add libc_hidden_def.

18 years agoUpdate.
drepper [Tue, 6 Aug 2002 01:00:59 +0000 (01:00 +0000)]
Update.

18 years ago(_dl_start): Don't use memset. Use same tricks as for the other
drepper [Tue, 6 Aug 2002 00:55:24 +0000 (00:55 +0000)]
(_dl_start): Don't use memset.  Use same tricks as for the other
memset call in this function.

18 years ago(_dl_allocate_tls_init): Store dtv pointer at correct index. Clear
drepper [Tue, 6 Aug 2002 00:51:51 +0000 (00:51 +0000)]
(_dl_allocate_tls_init): Store dtv pointer at correct index.  Clear
BSS region now that memalign is used.

18 years ago.
roland [Mon, 5 Aug 2002 22:47:19 +0000 (22:47 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Mon, 5 Aug 2002 22:47:08 +0000 (22:47 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/sys/utsname.h: Use libc_hidden_proto for uname, __uname.
* sysdeps/generic/uname.c: Add libc_hidden_def.
* sysdeps/mach/hurd/uname.c: Likewise.

18 years ago.
roland [Mon, 5 Aug 2002 22:11:14 +0000 (22:11 +0000)]
.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:11:03 +0000 (22:11 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add
        libc_hidden_proto.
        * sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto.
        * sunrpc/des_soft.c (des_setparity): Likewise.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:11:02 +0000 (22:11 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror,
        clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto.
        * sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror,
        clnt_perror, clnt_sperror): Add libc_hidden_def.
        * sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:10:59 +0000 (22:10 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/rpc/rpc.h (__rpc_thread_svc_max_pollfd,
        __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset,
        __rpc_thread_createerr): Add libc_hidden_proto.
        * sunrpc/rpc_thread.c (__rpc_thread_svc_max_pollfd,
        __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset,
        __rpc_thread_createerr): Add libc_hidden_def.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:10:58 +0000 (22:10 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll,
        wcspbrk): Add libc_hidden_proto.
        * time/strftime.c (my_strftime): Add libc_hidden_def.
        (strftime): Remove libc_hidden_def.
        * wcsmbs/wcschr.c (wcschr): Add libc_hidden_def.
        * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
        * wcsmbs/wcsspn.c (wcsspn): Likewise.
        * wcsmbs/wcscmp.c (wcscmp): Likewise.
        * wcsmbs/wcrtomb.c (wcrtomb): Add libc_hidden_weak.
        * wcsmbs/wcscoll.c (wcscoll): Likewise.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:10:54 +0000 (22:10 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/rpc/auth.h (key_encryptsession_pk, key_decryptsession_pk):
        Add libc_hidden_proto.
        * sunrpc/key_call.c (key_encryptsession_pk, key_decryptsession_pk):
        Add libc_hidden_def.

18 years ago(dl_main): fix typo in last change
roland [Mon, 5 Aug 2002 19:03:29 +0000 (19:03 +0000)]
(dl_main): fix typo in last change

18 years ago.
roland [Mon, 5 Aug 2002 18:56:19 +0000 (18:56 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Mon, 5 Aug 2002 18:56:03 +0000 (18:56 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member
`bool _dl_initial_dtv_malloced' with `void *_dl_initial_dtv'.
* elf/rtld.c (dl_main): Set it to the new dtv for the main thread.
* sysdeps/generic/dl-tls.c (__tls_get_addr): When reallocating the
dtv, check if it matches _dl_initial_dtv; if so, malloc and copy the
old data, abandoning the original memory allocated by rtld at startup,
instead of calling realloc normally.

18 years agoUpdate.
drepper [Mon, 5 Aug 2002 17:30:31 +0000 (17:30 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Mon, 5 Aug 2002 16:56:10 +0000 (16:56 +0000)]
Update from translation team.

18 years ago.
roland [Mon, 5 Aug 2002 06:58:03 +0000 (06:58 +0000)]
.

18 years ago2002-08-04 Roland McGrath <roland@redhat.com>
roland [Mon, 5 Aug 2002 06:57:52 +0000 (06:57 +0000)]
2002-08-04  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/make-syscalls.sh: If the syscall name field is -
then generate a dummy module under the given name, obeying the
normal rules for the "caller" field.

18 years ago.
roland [Mon, 5 Aug 2002 06:38:00 +0000 (06:38 +0000)]
.

18 years ago2002-08-04 Roland McGrath <roland@redhat.com>
roland [Mon, 5 Aug 2002 06:37:31 +0000 (06:37 +0000)]
2002-08-04  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop
actually iterate over the elements.  Fix typo p_type -> p_vaddr.

18 years ago2002-08-04 Roland McGrath <roland@redhat.com>
roland [Mon, 5 Aug 2002 06:37:29 +0000 (06:37 +0000)]
2002-08-04  Roland McGrath  <roland@redhat.com>

* include/pthread.h: Don't declare __pthread_initialize_minimal as
weak here; we declare it weak or strong in the one place we use it.
* sysdeps/generic/libc-start.c: ... which is here.
Don't make the decl weak if [USE_TLS], since static programs need TLS
setup even when single-threaded.

18 years ago.
roland [Mon, 5 Aug 2002 04:59:44 +0000 (04:59 +0000)]
.

18 years ago2002-08-04 Roland McGrath <roland@frob.com>
roland [Mon, 5 Aug 2002 04:59:28 +0000 (04:59 +0000)]
2002-08-04  Roland McGrath  <roland@frob.com>

* stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command.

18 years ago.
roland [Mon, 5 Aug 2002 04:58:18 +0000 (04:58 +0000)]
.

18 years ago2002-08-04 Roland McGrath <roland@frob.com>
roland [Mon, 5 Aug 2002 04:58:03 +0000 (04:58 +0000)]
2002-08-04  Roland McGrath  <roland@frob.com>

* elf/Makefile (test-srcs): Add $(modules-names) to it.
(CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c,
CFLAGS-reldepmod3.c, CFLAGS-reldepmod4.c, CFLAGS-ltglobmod2.c): Remove
all these variables.

18 years agoUpdate.
drepper [Mon, 5 Aug 2002 03:28:59 +0000 (03:28 +0000)]
Update.