about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-09-033-1/+4
| | | | * sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S.
* Update.Ulrich Drepper2002-09-032-1/+5
| | | | | | 2002-09-02 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.2.93.
* Update.Ulrich Drepper2002-09-021-2/+2
| | | | | * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects as relocated.
* 2002-09-02 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-09-022-3/+15
| | | | | * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects as relocated.
* * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.Roland McGrath2002-09-022-409/+181
|
* * locale/localeinfo.h (struct locale_data): Add private.ctype.Roland McGrath2002-09-0216-201/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale, __wcsmbs_to_wc, update_conversion_ptrs): Removed. (__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs. (__wcsmbs_load_conv): Remove const from argument. (_nl_cleanup_ctype): New proto. (get_gconv_fcts): New function. * wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed. (__wcsmbs_to_wc): Rename back to... (to_wc): ... this. (__wcsmbs_gconv_fcts): Rename to... (__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc. (lock): Removed. (__libc_setlocale_lock): New extern. (__wcsmbs_load_conv): Remove const from argument. Initialize new_category->private.ctype instead of a global variable. (__wcsmbs_clone_conv): Use get_gconv_fcts instead of update_function_ptrs. No locking is necessary. (_nl_cleanup_ctype): New function. * wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of update_function_ptrs and a global __wcsmbs_gconv_fcts variable. * wcsmbs/mbrtowc.c (__mbrtowc): Likewise. * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. * wcsmbs/wcrtomb.c (__wcrtomb): Likewise. * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. * wcsmbs/wctob.c (wctob): Likewise. * stdlib/mblen.c (mblen): Likewise. * stdlib/mbtowc.c (mbtowc): Likewise. * stdlib/wctomb.c (wctomb): Likewise. * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs. * wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs): Removed.
* * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64.Roland McGrath2002-09-022-1/+5
|
* * ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower):Roland McGrath2002-09-0213-115/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Variable declarations removed. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare these functions to replace them. (__isctype, tolower, toupper, _tolower, _toupper): Use those accessor functions plus an indirection rather than the old global variables. * include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper): Macros removed. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern inline functions. * ctype/ctype-info.c: Revert last reversion back the other way. Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER. Define real function versions of include/ctype.h inlines here. * ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc, __ctype_tolower_loc, __ctype_toupper_loc. * locale/lc-ctype.c: Revert last reversion back the other way. (_nl_postload_ctype): If current thread uses the global locale, update its tsd vars. * locale/uselocale.c (__uselocale): Update tsd vars from new locale. * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER. * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed from __libc_tsd_threadvar_location. (__libc_tsd_set, __libc_tsd_get): Update uses.
* 2002-09-01 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-023-0/+15
| | | | | | | | | | * sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro. (__libc_internal_tsd_address): Declare it. * Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add __libc_internal_tsd_address. * specific.c (libc_internal_tsd_address): New function. (__libc_internal_tsd_address): New variable. * no-tsd.c (__libc_internal_tsd_address): New variable.
* Update.Ulrich Drepper2002-09-015-62/+131
| | | | | | | | | | | * ctype/ctype.h: Undo the patch before the last one. Put back the macro definitions for the standard functions to access the classification and mapping arrays. * include/ctype.h: Partly revert last patch. Move the macro definitions for the exported functions back to the public header. #undef all the macros defined here before redefining. * ctype/ctype-info.c: Revert last patch. * locale/lc-ctype.c: Revert last patch.
* Update.Ulrich Drepper2002-09-015-2/+49
| | | | | | | | | | 2002-09-01 Ulrich Drepper <drepper@redhat.com> * ctype/Makefile (routines): Add isctype. * ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3. * ctype/ctype.h: Add declaration of isctype. * include/ctype.h: Declare __isctype. * ctype/isctype.c: New file.
* Declare __isctype.Ulrich Drepper2002-09-011-0/+2
|
* * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): PassRoland McGrath2002-09-0124-272/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1. * include/getopt.h: Include <features.h> before <posix/getopt.h>. * locale/findlocale.c (_nl_remove_locale): Don't search in _nl_locale_file_list if DATA->alloc is ld_archive. Use _nl_unload_locale to do the rest of the work. * locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count of new structure to UNDELETABLE. * wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank, towlower, towupper): Macros removed. * ctype/ctype.h (__tobody): Put parens around macro argument. (__isctype): Macro removed. (__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed. (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, tolower, toupper): Macros and inlines removed. * include/ctype.h [! NOT_IN_libc] (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint, ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper, tolower, toupper): Define here instead, using _NL_CURRENT. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros using _NL_CURRENT. * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise. * ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper): Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT. (__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise. (__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed. * locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables, conditional on SHLIB_COMPAT. Don't set removed variables at all. * wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals. * wcsmbs/wcwidth.h (internal_wcwidth): Likewise. * resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars. (ISSORTMASK): Update use. * intl/localealias.c [__GNUC__]: #undef alloca before #define. * nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'. (_nss_files_getENTNAME_r): Likewise. * nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r): Likewise. * Makerules (all-nonlib): Renamed from all-tests. Include $(others) here too. * locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef, CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric, CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification, CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader, CPPFLAGS-charmap-dir): Variables removed. Instead, catch all the program modules via cppflags-iterator.mk. * sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed. Instead, catch all rpcgen-objs via cppflags-iterator.mk. * posix/tst-getconf.sh: If no third arg, work with static linking.
* * locale/categories.def (LC_TIME): No more _nl_postload_time.Roland McGrath2002-08-312-1/+14
| | | | | * locale/setlocale.c (_nl_category_postload): Use weak refs only under [_NL_CURRENT_INDIRECT].
* 2002-08-31 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-311-1/+1
| | | | * locale/categories.def (LC_TIME): No more _nl_postload_time.
* Update.Ulrich Drepper2002-08-311-1/+5
| | | | | | | | 2002-08-31 Ulrich Drepper <drepper@redhat.com> * time/tst-ftime_l.c (main): Also test strftime with uselocale. errlist-compat.c if versioning==yes.
* (main): Also test strftime with uselocale.Ulrich Drepper2002-08-311-0/+41
|
* * locale/newlocale.c (__newlocale): Don't use strdup for names.Roland McGrath2002-08-315-93/+106
| | | | | | | | Instead, make the single allocation of the structure larger to hold the name strings. * locale/duplocale.c (__duplocale): Don't strdup names individually. Instead, calculate size for a single allocation and copy into it. * locale/freelocale.c (__freelocale): Don't free names individually.
* * locale/newlocale.c (__newlocale): Don't leak old data or names.Roland McGrath2002-08-311-0/+5
| | | | | * locale/xlocale.h (__locale_struct): Move __names member last, for binary compatibility.
* 2002-08-31 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-311-23/+27
| | | | * locale/newlocale.c (__newlocale): Don't leak old data or names.
* Only depend on Versions.v.i for errlist-compat.c if versioning==yes.Ulrich Drepper2002-08-311-1/+1
|
* * locale/duplocale.c (__duplocale): Free names from the right array.Roland McGrath2002-08-313-9/+17
| | | | | | | | | * locale/uselocale.c (__uselocale): Return previous locale when setting a new one. * locale/newlocale.c: Commit changes from 2002-08-30 batch where I failed to commit this file: (__newlocale): Fill in __names array.
* 2002-08-31 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-311-3/+55
| | | | | * locale/newlocale.c: Commit changes from 2002-08-30 batch where I failed to commit this file.
* Update.Ulrich Drepper2002-08-311-0/+5
| | | | | | | 2002-08-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/gnu/Makefile: Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.
* Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.Ulrich Drepper2002-08-311-3/+6
|
* Update.Andreas Jaeger2002-08-3117-3/+1599
| | | | | | | | | | | | | | | | | | | | | | * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare external functions with hidden attribute. (elf_machine_rela): Optimize. * sysdeps/x86_64/memset.S: New file. * sysdeps/x86_64/bzero.S: New file. * sysdeps/x86_64/stpcpy.S: New file. * sysdeps/x86_64/strcat.S: New file. * sysdeps/x86_64/strchr.S: New file. * sysdeps/x86_64/strcpy.S: New file. * sysdeps/x86_64/strcspn.S: New file. * sysdeps/x86_64/strlen.S: New file. * sysdeps/x86_64/strpbrk.S: New file. * sysdeps/x86_64/strspn.S: New file. * sysdeps/x86_64/strcmp.S: New file. * sysdeps/x86_64/strtok_r.S: New file. * sysdeps/x86_64/strtok.S: New file. * sysdeps/x86_64/memcpy.S: New file. * sysdeps/x86_64/mempcpy.S: New file.
* Update.Andreas Jaeger2002-08-312-8/+17
| | | | | | | | 2002-08-31 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm. * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests.
* Add ulps for double tests.Andreas Jaeger2002-08-311-4/+4
|
* Update.Ulrich Drepper2002-08-314-4/+15
| | | | | | * stdio-common/Makefile (generated): Add errlist-compat.c. * locale/Makefile (extra-objs): Add $(localedef-aux:=.o).
* Update.Ulrich Drepper2002-08-313-46/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-31 Ulrich Drepper <drepper@redhat.com> * locale/localeinfo.h: Pretty printing. * stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in form_number handling. (__aux_init_cache): New function. (__aux_init_cache): New function. * locale/programs/locarchive.c (struct oldlocrecent): New type. (oldlocrecentcmp): New function. * sysdeps/x86_64/fpu/bits/mathinline.h: New file. * sysdeps/x86_64/fpu/s_copysign.S: New file. * sysdeps/x86_64/fpu/s_copysignf.S: New file. * sysdeps/x86_64/fpu/s_copysignl.S: New file. * sysdeps/x86_64/fpu/s_finitel.S: New file. * sysdeps/x86_64/fpu/s_fmax.S: New file. * sysdeps/x86_64/fpu/s_fmaxf.S: New file. * sysdeps/x86_64/fpu/s_fmaxl.S: New file. * sysdeps/x86_64/fpu/s_fmin.S: New file. * sysdeps/x86_64/fpu/s_fminf.S: New file. * sysdeps/x86_64/fpu/s_fminl.S: New file. * locale/programs/locarchive.c (struct nameent, struct dataent): New types. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file. * sysdeps/x86_64/fpu/s_llrint.S: New file. * sysdeps/x86_64/fpu/s_llrintf.S: New file. * sysdeps/x86_64/fpu/s_llrintl.S: New file. * sysdeps/x86_64/fpu/s_lrint.S: New file. * sysdeps/x86_64/fpu/s_lrintf.S: New file. * sysdeps/x86_64/fpu/s_lrintl.S: New file. * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro. (CAUSE_SHIFT): New macro. * sysdeps/sparc/sparc64/configure.in: New file. * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file. * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file. * sysdeps/x86_64/bits/setjmp.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file. * elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS. * sysdeps/unix/sysv/linux/mips/sys/user.h: New file. * config.h.in (HAVE_BUILTIN_MEMSET): New macro. * elf/dl-deps.c (_dl_build_local_scope): New function. * elf/dl-lookup.c (_dl_debug_bindings): New function. (elf_machine_rela, elf_machine_rela_relative): New functions. (elf_machine_rela, elf_machine_rela_relative): New functions. * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New functions.
* Don't use rule for crt%.o, spell it out as rules for crti.o and crtn.o.Ulrich Drepper2002-08-311-1/+4
|
* Update.Andreas Jaeger2002-08-312-59/+1375
| | | | | * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long double tests.
* Update.Andreas Jaeger2002-08-317-3/+118
| | | | | | | | | | | | | | | | | | | | | | | 2002-08-31 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add __start_context. * sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file. * sysdeps/unix/sysv/linux/x86_64/makecontext.c: New file. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for registers used for passing args. * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore all needed registers. * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all registers. * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed registers.
* Linux/x86-64 makecontext implementation.Andreas Jaeger2002-08-311-0/+113
|
* * Makefile (extra-objs, omit-deps): Add crtn.Roland McGrath2002-08-312-5/+22
| | | | | | | | | | | ($(objpfx)libpthread.so): Depend on $(objpfx)crtn.o. ($(objpfx)libpthread.so: +postinit): Append $(objpfx)crtn.o. ($(objpfx)crtn.S): New target. ($(objpfx)crt%.o): Pattern rule replaces crti.o target. (generated): Add crtn.S. * sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage crtn.o pathname too.
* 2002-08-30 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-311-1/+3
| | | | | * sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage crtn.o pathname too.
* Update.Ulrich Drepper2002-08-311-0/+5
| | | | | | | 2002-08-30 Ulrich Drepper <drepper@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Mark with always_inline attribute.
* (elf_get_dynamic_info): Mark with always_inline attribute.Ulrich Drepper2002-08-311-1/+1
|
* * stdlib/tst-setcontext.c (main): If makecontext does nothing,Roland McGrath2002-08-312-2/+16
| | | | presume it's the stub and bail without error.
* * nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status isRoland McGrath2002-08-312-4/+10
| | | | | | neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]). * nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one.
* * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): NewRoland McGrath2002-08-302-2/+39
| | | | macros replace the i686 versions for 64-bit mode.
* * locale/duplocale.c: Include <string.h>.Roland McGrath2002-08-306-3/+29
|
* * intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.Roland McGrath2002-08-302-2/+21
| | | | | [_LIBC] (category_to_name): Don't define the function. Instead define a macro using _nl_category_names.
* * locale/xlocale.h (struct __locale_struct): New member `__names'.Roland McGrath2002-08-3017-61/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | * locale/xlocale.c (_nl_C_locobj): Update initializer. * locale/global-locale.c (_nl_global_locale): Likewise. * locale/duplocale.c (__duplocale): strdup __names elements. * locale/freelocale.c (__freelocale): Free __names elements. * locale/localename.c (_nl_current_names): Variable removed. (__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead. * locale/localeinfo.h (_nl_current_names): Removed decl. * locale/setlocale.c: Use _nl_global_locale->__names in place of _nl_current_names throughout. * locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C). * sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist and sys_nerr in the output file. * sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment. * scripts/cpp: Just use the environment variable. * libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag. * libio/tst-mmap-offend.c (do_test): Likewise. * libio/tst-mmap-fflushsync.c (do_test): Likewise. * libio/tst-mmap-eofsync.c (do_test): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
* * locale/localename.c: If the current locale is the global locale, useRoland McGrath2002-08-302-6/+13
| | | | | | | | | _nl_current_names; otherwise use the locale object. 2002-08-29 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro. 2002-08-29 Roland McGrath <roland@redhat.com>
* 2002-08-29 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-301-6/+11
| | | | * sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.
* Update I/O mmap entry.Ulrich Drepper2002-08-301-3/+4
|
* Update.Ulrich Drepper2002-08-305-6/+47
| | | | | | | | | | | | | | | 2002-08-29 Ulrich Drepper <drepper@redhat.com> * libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O. * libio/libio.h (_IO_FILE): Rename _blksize field to _flags2. The former wasn't used (anymore?). (_IO_FLAGS2_MMAP): New define. * libio/genops.c (_IO_no_init): Initialize _flags2 field. * libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if _IO_FLAGS2_MMAP bit is set. * libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier. Enable mmap-using mode only if 'm' was set.
* (_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.Ulrich Drepper2002-08-301-1/+5
|
* * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit):Roland McGrath2002-08-304-3/+23
| | | | | | | | | | Change argument type from int to intptr_t. * locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the initializer on [! _HURD_THREADVAR_H] (bad kludge). * sysdeps/mach/hurd/i386/init-first.c (init): Initialize _HURD_THREADVAR_LOCALE slot to &_nl_global_locale. * hurd/hurdsig.c (_hurdsig_init): Likewise. Zero other slots.