about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2002-08-09 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-08-101-7/+9
| | | | | | | * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add prototypes here too. Add libc_hidden_proto. * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add libc_hidden_weak.
* Update.Ulrich Drepper2002-08-101-0/+5
| | | | | | | 2002-08-10 Ulrich Drepper <drepper@redhat.com> * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, iswtolower, iswtoupper): Add libc_hidden_def.
* (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, iswtolower, iswtoupper): ↵Ulrich Drepper2002-08-101-0/+7
| | | | Add libc_hidden_def.
* Update.Andreas Jaeger2002-08-101-0/+4
| | | | | | 2002-08-10 Andreas Jaeger <aj@suse.de> * sysdeps/i386/strchr.S: Add comment.
* Add comment.Andreas Jaeger2002-08-101-2/+4
|
* * include/wchar.h (putwc): Use libc_hidden_proto.Roland McGrath2002-08-1015-10/+51
| | | | | | | | | | | | | | | | | * include/stdio.h (dprintf, fprintf, vfprintf, sprintf, sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise. * stdio-common/dprintf.c: Add libc_hidden_def. * stdio-common/fprintf.c: Likewise. * stdio-common/sprintf.c: Likewise. * stdio-common/sscanf.c: Likewise. * libio/iofwrite.c: Likewise. * libio/memstream.c: Likewise. * libio/putwc.c: Likewise. * stdio-common/perror.c: Likewise. * sysdeps/posix/remove.c: Likewise. * sysdeps/generic/remove.c: Likewise. * libio/rewind.c: Likewise. Use <stdio.h> instead of "stdio.h". * stdio-common/vfprintf.c: Add libc_hidden_def. Include <stdio.h>.
* * include/bits/dlfcn.h: New file.Roland McGrath2002-08-1015-6/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def. * include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto. * include/netinet/ether.h (_nss_files_parse_etherent): Likewise. * include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise. * include/pwd.h (_nss_files_parse_pwent): Likewise. * include/shadow.h (_nss_files_parse_spent): Likewise. * include/netdb.h (_nss_files_parse_protoent, _nss_files_parse_servent, _nss_files_parse_netent): Likewise. * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define. (LINE_PARSER): Use it. * nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto. * nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def. * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add prototypes here too. Add libc_hidden_proto. * wctype/wcfuncs ((iswalpha, iswdigit, iswlower, iswspace, iswxdigit, towlower, towupper): Add libc_hidden_weak. * libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT #endif. * manual/debug.texi (%MENU%): Remove trailing dot. Reported by <hayastan132@hotmail.com>.
* * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek): Add lseekRoland McGrath2002-08-106-4/+22
| | | | | | | | | aliases. (lseek): Dummy. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, lseek): Likewise. * locale/locarchive.h (struct locrecent): Add `refs' member.
* * locale/loadarchive.c (_nl_load_locale_from_archive): Parse localeRoland McGrath2002-08-1028-198/+1085
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name to find codeset name (if any) and normalize it. If the normalized name differs, look up only that in the archive. * locale/programs/locarchive.c (add_locale_to_archive): If the name contains a codeset, normalize the codeset store only the normalized name in the archive. If not, add an alias containing the locale's normalized codeset name. Apply codeset name normalization when matching entries in the alias file. * locale/programs/locarchive.c (delete_locales_from_archive): Don't decrement HEAD->namehash_used here. (add_locale): Only need to insert name string when name_offset != 0. * locale/programs/localedef.c (options): Add -A/--alias-file. (alias_file): New variable. (parse_opt): Grok -A, set that. * locale/programs/localedef.h: Declare it. * locale/programs/locarchive.c (insert_name): New function, broken out of ... (add_locale_to_archive): ... here. Call that. (add_alias): New function. (add_locale): New static function, add_locale_to_archive renamed. (add_locale_to_archive): Call that and use add_alias to add an alias for the name with codeset if the given name lacks it. (enlarge_archive): Call add_locale instead of add_locale_to_archive. * locale/Makefile (routines): Add loadarchive. * locale/loadarchive.c: New file, started from code by Ulrich Drepper. (_nl_load_locale_from_archive): New function. * locale/localeinfo.h: Declare it. * locale/findlocale.c (_nl_find_locale): If using default locale path, try _nl_load_locale_from_archive first. * locale/loadlocale.c (_nl_intern_locale_data): New function, broken out of _nl_load_locale. (_nl_load_locale): Call that. * locale/localeinfo.h: Declare it. (struct locale_data): Replace member `mmaped' with `alloc', an enum. (struct locale_data): Remove unused member `options'. * locale/findlocale.c (_nl_remove_locale): Update uses. * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. * locale/C-collate.c: Update initializer. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. * locale/C-telephone.c: Likewise. * locale/C-address.c: Likewise. * locale/C-name.c: Likewise. * locale/C-paper.c: Likewise. * locale/C-time.c: Likewise. * locale/C-numeric.c: Likewise. * locale/C-monetary.c: Likewise. * locale/C-messages.c : Likewise. * locale/C-ctype.c: Likewise. * locale/hashval.h [! LONGBITS]: Include <limits.h> here and use CHAR_BIT instead of BITSPERBYTE. * locale/localeinfo.h (_nl_find_locale, _nl_load_locale, _nl_unload_locale): Add `internal_function attribute_hidden' to decls. * locale/findlocale.c (_nl_find_locale): Add internal_function to defn. (_nl_remove_locale): Likewise. * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise. * locale/findlocale.c (_nl_default_locale_path): New variable. (_nl_find_locale): If LOCALE_PATH is null, default to that. * locale/localeinfo.h: Declare it. * locale/setlocale.c (setlocale): Use _nl_default_locale_path in place of LOCALEDIR. If no LOCPATH, pass null to _nl_find_locale. * locale/newlocale.c (__newlocale): Likewise. * misc/err.c (vwarnx, vwarn): Fix typos in libc_hidden_def uses. * inet/rexec.c (rexec_af): Add libc_hidden_def. * sysdeps/generic/morecore.c: Likewise. * signal/allocrtsig.c (__libc_current_sigrtmin): Likewise. (__libc_current_sigrtmax): Likewise. 2002-08-08 Roland McGrath <roland@redhat.com> * locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT. * catgets/open_catalog.c (__open_catalog): Likewise. * locale/programs/locarchive.c (INITIAL_NUM_NAMES): Renamed from typo INITIAL_NUM_NANES. (create_archive): Update use.
* 2002-08-08 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-101-5/+1
| | | | | * locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT. * catgets/open_catalog.c (__open_catalog): Likewise.
* Update.Ulrich Drepper2002-08-081-0/+4
| | | | | | 2002-08-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigwait.c: New file.
* sigwait implementation for Linux based in sigtimedwait syscall.Ulrich Drepper2002-08-081-0/+54
|
* * resolv/netdb.h: Don't declare h_errno as a plain global any more.Roland McGrath2002-08-081-0/+4
|
* 2002-08-08 Roland McGrath <roland@frob.com>Roland McGrath2002-08-081-5/+3
| | | | * resolv/netdb.h: Don't declare h_errno as a plain global any more.
* Update.Ulrich Drepper2002-08-083-2/+12
| | | | | | | | 2002-08-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something else and undefine after including wcstol_l.c. * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly.
* Update.Ulrich Drepper2002-08-084-10/+14
| | | | | | 2002-08-08 Ulrich Drepper <drepper@redhat.com> * gmon/gmon.c (write_gmon): Use O_NOFOLLOW in open calls if available.
* Update.Ulrich Drepper2002-08-083-65/+77
| | | | | | 2002-08-08 Alexandre Oliva <aoliva@redhat.com> * configure.in: Make the test for broken_alias_attribute stricter.
* Update.Ulrich Drepper2002-08-087-10/+106
| | | | | | | | | | | | | | | | | 2002-05-24 Robert Love <rml@tech9.net> * posix/Makefile (routines): Add sched_getaffinity and sched_setaffinity. * posix/sched.h: Add declarations for sched_getaffinity and sched_setaffinity. * sysdeps/generic/sched_getaffinity.c: New file. * sysdeps/generic/sched_setaffinity.c: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add sched_getaffinity and sched_setaffinity. 2002-08-06 Andreas Schwab <schwab@suse.de> * sysdeps/unix/utime.c: If TIMES is NULL pass it through to utimes.
* Update.Ulrich Drepper2002-08-086-9/+36
| | | | | * elf/dl-load.c (_dl_map_object_from_fd): Add missing \n in error message.
* Update.Ulrich Drepper2002-08-082-0/+13
| | | | | | | | * stdlib/isomac.c (get_null_defines): Treat NOT_IN_libc special. It is known to be defined. * include/string.h: Define index and rindex only if _ISOMAC is not defined.
* (__linuxthreads_initial_report_events): New variable. ↵Ulrich Drepper2002-08-081-1/+9
| | | | (__pthread_initialize_manager): Use it to initialize p_report_events of initial thread. [TLS]: Store pointer to descriptor of manager in __pthread_handles.
* * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Add an extra argument withRoland McGrath2002-08-081-0/+5
| | | | an "m" constraint to the asm so the compiler knows LDT_ENTRY was used.
* 2002-08-07 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-081-2/+6
| | | | | * 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.
* (get_null_defines): Treat NOT_IN_libc special. It is known to be defined.Ulrich Drepper2002-08-082-10/+16
|
* Update.Ulrich Drepper2002-08-083-0/+3
| | | | * sysdeps/generic/libc-tls.c: Likewise.
* Update.Ulrich Drepper2002-08-081-0/+4
| | | | | | 2002-08-07 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c: Include <errno.h>.
* * resolv/res_debug.c (latlon2ul): Add const to argument type, and useRoland McGrath2002-08-082-17/+21
| | | | | it internally. (precsize_aton): Likewise.
* * inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually callRoland McGrath2002-08-083-11/+51
| | | | | | | | | | | | | | the static symbols added in the last change (doofus is me). * locale/newlocale.c (__newlocale): Use a bit mask instead of a second loop to notice missing categories in a composite name. * 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. * malloc/tst-calloc.c: Add tests for one or both parameters being zero.
* 2002-08-07 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-081-3/+3
| | | | | * inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call the static symbols added in the last change (doofus is me).
* Update.Ulrich Drepper2002-08-071-1/+6
| | | | | | | | | 2002-08-07 Ulrich Drepper <drepper@redhat.com> * malloc/tst-calloc.c: Add tests for one or both parameters being zero. * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before
* Add tests for one or both parameters being zero.Ulrich Drepper2002-08-071-1/+17
|
* * sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber,Roland McGrath2002-08-072-3/+9
| | | | | unrelocated initial value for DTPOFF32 and TPOFF32 relocs. Reported by Jakub Jelinek <jakub@redhat.com>.
* 2002-08-07 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-08-072-2/+7
| | | | | | | * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before division. * include/getopt.h: Put private decls inside [_GETOPT_H].
* * include/getopt.h: But private decls inside [_GETOPT_H].Roland McGrath2002-08-065-10/+45
| | | | | | | | | | | | | | 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. * sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr): Define as a macro for __dl_iterate_phdr. * inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name, made static. Add __ name as a strong alias. (internal_endnetgrent): Likewise. (internal_getnetgrent_r): Likewise.
* * locale/Versions (libc: GLIBC_2.3): Add all the *_l functionsRoland McGrath2002-08-0634-70/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * include/rpc/auth.h: Use libc_hidden_proto for getnetname,Roland McGrath2002-08-0615-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | netname2user, host2netname, user2netname, key_gendes. * sunrpc/netname.c: Add libc_hidden_def. * sunrpc/key_call.c: Likewise. * 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. * 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/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H. (index, rindex): Define as macros for strchr, strrchr. * string/envz.c (envz_strip): index -> strchr * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply. * sunrpc/rpc_prot.c: Add libc_hidden_def. * include/wchar.h: Use libc_hidden_proto for mbrtowc. * wcsmbs/mbrtowc.c: Add libc_hidden_weak.
* * include/stdlib.h: Use libc_hidden_proto for wctomb.Roland McGrath2002-08-0612-21/+48
| | | | | | | | | | | | | | | | | | | | | | | * stdlib/wctomb.c: Add libc_hidden_def. * 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. * include/rpc/auth.h: Use libc_hidden_proto for getnetname, netname2user, host2netname, user2netname. * sunrpc/netname.c: Add libc_hidden_def. * 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.
* * sysdeps/posix/system.c (do_system): New function, guts broken out ofRoland McGrath2002-08-0621-40/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __libc_system. (__libc_system): Call it, putting just the line == NULL test here. * include/libc-symbols.h (__hidden_proto): Add extern keywords so variables work right. * elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext. * elf/dl-close.c (_dl_close): Likewise. * 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. * 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. * include/rpc/auth.h: Use libc_hidden_proto for getnetname, netname2user, host2netname. * sunrpc/netname.c: Add libc_hidden_def. * 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.
* * include/rpc/svc.h: Use libc_hidden_proto for xprt_register,Roland McGrath2002-08-061-0/+12
| | | | | | | | | | | 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.
* 2002-08-05 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-067-1/+19
| | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2002-08-062-37/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-05 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (_dl_start): Don't use memset. Use same tricks as for the other memset call in this function. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Store dtv pointer at correct index. Clear BSS region now that memalign is used. * 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. * 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. * 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. * 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. * 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.
* (_dl_allocate_tls_init): Store dtv pointer at correct index. Clear BSS ↵Ulrich Drepper2002-08-061-5/+5
| | | | region now that memalign is used.
* * include/sys/utsname.h: Use libc_hidden_proto for uname, __uname.Roland McGrath2002-08-054-2/+15
| | | | | * sysdeps/generic/uname.c: Add libc_hidden_def. * sysdeps/mach/hurd/uname.c: Likewise.
* 2002-08-05 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-08-0520-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. * 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. * 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. * 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. * 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.
* * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace memberRoland McGrath2002-08-051-0/+10
| | | | | | | | | `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.
* 2002-08-05 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-053-8/+26
| | | | | | | | | | * 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.
* Update.Ulrich Drepper2002-08-051-0/+4
| | | | | | 2002-08-05 Ulrich Drepper <drepper@redhat.com> * po/fr.po: Update from translation team.
* Update from translation team.Ulrich Drepper2002-08-051-131/+330
|
* * sysdeps/unix/make-syscalls.sh: If the syscall name field is -Roland McGrath2002-08-052-2/+21
| | | | | then generate a dummy module under the given name, obeying the normal rules for the "caller" field.
* * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loopRoland McGrath2002-08-054-10/+20
| | | | | | | | | | actually iterate over the elements. Fix typo p_type -> p_vaddr. * 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.