aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-31Linux/x86-64 makecontext implementation.Andreas Jaeger1-0/+113
2002-08-31* Makefile (extra-objs, omit-deps): Add crtn.Roland McGrath2-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-312002-08-30 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+3
* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage crtn.o pathname too.
2002-08-31Update.Ulrich Drepper1-0/+5
2002-08-30 Ulrich Drepper <drepper@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Mark with always_inline attribute.
2002-08-31(elf_get_dynamic_info): Mark with always_inline attribute.Ulrich Drepper1-1/+1
2002-08-31* stdlib/tst-setcontext.c (main): If makecontext does nothing,Roland McGrath2-2/+16
presume it's the stub and bail without error.
2002-08-31* nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status isRoland McGrath2-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.
2002-08-30* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): NewRoland McGrath2-2/+39
macros replace the i686 versions for 64-bit mode.
2002-08-30* locale/duplocale.c: Include <string.h>.Roland McGrath6-3/+29
2002-08-30* intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.Roland McGrath2-2/+21
[_LIBC] (category_to_name): Don't define the function. Instead define a macro using _nl_category_names.
2002-08-30* locale/xlocale.h (struct __locale_struct): New member `__names'.Roland McGrath17-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.
2002-08-30* locale/localename.c: If the current locale is the global locale, useRoland McGrath2-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-302002-08-29 Roland McGrath <roland@redhat.com>Roland McGrath1-6/+11
* sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.
2002-08-30Update I/O mmap entry.Ulrich Drepper1-3/+4
2002-08-30Update.Ulrich Drepper5-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.
2002-08-30(_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.Ulrich Drepper1-1/+5
2002-08-30* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit):Roland McGrath4-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.
2002-08-30* sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.Roland McGrath11-23/+69
* sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64). * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort. * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto. * assert/assert-perr.c: Add libc_hidden_def. * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function. * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions found at all. * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat sys_errlist stuff to ... * sysdeps/unix/sysv/linux/Versions: ... here. * mach/mach.h: Include <features.h>.
2002-08-29* elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing.Roland McGrath3-19/+28
* sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME.
2002-08-29* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.Roland McGrath2-5/+11
* iconv/gconv_int.h: Include <stdlib.h> for alloca decl. (norm_add_slashes): alloca -> __alloca * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR p_vaddr/p_offset when computing LOADADDR.
2002-08-292002-08-29 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+1
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
2002-08-29(process_string_arg): Fix typo.Ulrich Drepper2-2/+2
2002-08-29Update.Ulrich Drepper6-26/+51
2002-08-29 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfprintf.c (vfprintf): Add builtin_expect for string_malloced, it is unlikely to be set. Only call free with non-NULL workspace. * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use -mcpu=ultrasparc, not only tune for it. (ASFLAGS*): Set unconditionally. 2002-08-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/readelflib.c (process_elf_file): Make loadaddr ElfW(Addr). Don't mask upper 32-bits and lower 12 bits off from p_vaddr/p_offset when computing loadaddr.
2002-08-29Update.Ulrich Drepper3-1/+6
* version.h (VERSION): Bump to 2.2.92. * time/Makefile (tst-ftime_l-ENV): New variable.
2002-08-29Update.Ulrich Drepper2-2/+28
2002-08-29 Ulrich Drepper <drepper@redhat.com> * iconvdata/ibm870.c: All bytes are now used, no holes anymore. * localedata/charmaps/IBM870: Add correct mapping for <U017E>, <U017A>, <U017D> and <U0179>. Add missing mappings. Patch by Antonin Kopecky <akopecky@tajmac-zps.cz>. * gmon/sys/gmon.h (ARCDENSITY): Bump to 3. Define ARCINDEX. Bump MAXARCS to 1 << 20. (struct tostruct): Use ACRINDEX as type for link field. (statuc gmonparam): Likewise for froms. * gmon/gmon.c (__monstartup): Use currect cast for assignments to kcount and froms. (write_call_graph): Use correct type for from_index and to_index. * gmon/mcount.c: Use correct types for frompcindex and toindex variables. Patches by Dan Kegel <dank@kegel.com>. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine canonical name. * time/strptime.c (ISSPACE): New #define. Use isspace or __isspace_l. Replace calls to isspace. (match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL.
2002-08-29Add correct mapping for <U017E>, <U017A>, <U017D> and <U0179>. Add missing ↵Ulrich Drepper1-5/+16
mappings.
2002-08-29* string/tst-strxfrm.c: Remove __ from function names.Roland McGrath1-0/+4
2002-08-29Use correct types for frompcindex and toindex variables.Ulrich Drepper2-5/+7
2002-08-29(ARCDENSITY): Bump to 3. Define ARCINDEX. Bump MAXARCS to 1 << 20. (struct ↵Ulrich Drepper1-8/+34
tostruct): Use ACRINDEX as type for link field. (statuc gmonparam): Likewise for froms.
2002-08-292002-08-29 Roland McGrath <roland@redhat.com>Roland McGrath1-4/+4
* string/tst-strxfrm.c: Remove __ from function names.
2002-08-29(gaih_inet): Fix code to determine canonical name.Ulrich Drepper2-17/+55
2002-08-29Update.Ulrich Drepper9-36/+185
2002-08-28 Ulrich Drepper <drepper@redhat.com> * include/wchar.h: Declare __mbsrtowcs_l. * wcsmbs/Makefile (routines): Add mbsrtowcs_l. * wcsmbs/mbsrtowcs.c: Add support for compilation with USE_IN_EXTENDED_LOCALE_MODEL. * wcsmbs/mbsrtowcs_l: New file. * wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't define as static. Change all uses. (__wcsmbs_getfct): Renamed from getfct. Don't define as static. Change all callers. * wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct. * time/strftime.c: When translating for the extended locale model use the _l functions. * time/Makefile (tests): Add tst-ftime_l. * time/tst-ftime_l.c: New file.
2002-08-29Test for strftime_l and wcsftime_l.Ulrich Drepper1-0/+85
2002-08-29* locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable.Roland McGrath3-4/+28
* locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return from _nl_find_locale ok if for _nl_C_name.
2002-08-29* locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.defRoland McGrath3-1/+21
iterator to refer to each category's _nl_current_LC_FOO symbol, so we know they are all linked in.
2002-08-29* NEWS: Added 2.2.6 text from 2.2 branch version.Roland McGrath3-4/+14
2002-08-29* time/strptime.c (strptime_internal): Remove spurious const.Roland McGrath1-0/+2
2002-08-292002-08-28 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+1
* time/strptime.c (strptime_internal): Remove spurious const.
2002-08-29Add dl-brk.S.Ulrich Drepper1-0/+1
2002-08-29Update.Ulrich Drepper23-80/+385
* sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define. (_rtld_global): Use it. * sysdeps/gnu/Dist: Remove errlist-compat.c. * sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the object directory. Pass all Versions files to the awk script. * sysdeps/gnu/errlist-compat.c: Removed. * sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the first Versions file in the search path which has them. Allow multiple errlist symbol versions to have the same count of errors. * sysdeps/gnu/errlist-compat.awk: Include <errlist-compat.c> instead of "errlist-compat.c". * sysdeps/gnu/errlist.c: Regenerated. * sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. (librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3. * sysdeps/unix/sysv/linux/hppa/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/Versions: New file. * sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to ECANCELLED if not defined by kernel headers. * sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if already defined by kernel headers. * sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file. * sysdeps/pthread/aio_cancel.c: Don't include aio.h and its aio_cancel64 renaming hack nor provide weak_alias if aio_cancel is a macro. * Versions.def (GLIBC_2.3) [librt]: Add. * sysdeps/unix/sysv/linux/alpha/pipe.S: New file. 2002-08-28 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
2002-08-28[!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive.Ulrich Drepper1-1/+1
2002-08-28* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,Roland McGrath21-323/+540
_nl_select_era_entry): Moved to ... * time/era.c: ... here, new file. (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry): Add internal_function to definitions. Take an additional argument giving the `struct locale_data *' to use. * locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Moved to ... * time/alt_digit.c: ... here, new file. * time/lc-time-cleanup.c: New file. * locale/lc-time.c (_nl_postload_time, free_mem): Functions removed. * locale/localeinfo.h (_nl_postload_time): Remove decl. (_nl_cleanup_time): Declare it. (_nl_get_era_entry, _nl_select_era_entry): Update decls. (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise. * time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup. * time/strftime.c: Pass locale data to helper functions. * time/strptime.c: Likewise. * locale/localeinfo.h (struct locale_data): New member `private' * locale/loadlocale.c (_nl_intern_locale_data): Initialize it. (_nl_unload_locale): Call LOCALE->private.cleanup if it is set. * 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. * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD): Redefine this too.
2002-08-282002-08-28 Roland McGrath <roland@redhat.com>Roland McGrath1-8/+20
* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry): Moved to ... * time/era.c: ... here, new file. (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry): Add internal_function to definitions. Take an additional argument giving the `struct locale_data *' to use. * locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Moved to ... * time/alt_digit.c: ... here, new file. * time/lc-time-cleanup.c: New file. * locale/lc-time.c (_nl_postload_time, free_mem): Functions removed. * locale/localeinfo.h (_nl_postload_time): Remove decl. (_nl_cleanup_time): Declare it. (_nl_get_era_entry, _nl_select_era_entry): Update decls. (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise. * time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup. * time/strftime.c: Pass locale data to helper functions. * time/strptime.c: Likewise. * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD): Redefine this too.
2002-08-28Update.Ulrich Drepper9-15/+118
2002-08-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define unconditionally. * sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New check. (PI_STATIC_AND_HIDDEN): Define if check succeeded. 2002-08-28 Jakub Jelinek <jakub@redhat.com> * locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0 check to close_and_out close. Replace return NULL statements where fd might be >= 0 with goto close_and_out. Close the file descriptor when it is no longer needed.
2002-08-28Update.Ulrich Drepper7-381/+392
2002-08-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in string constants. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/arm/dl-machine.h: Likewise. * sysdeps/cris/dl-machine.h: Likewise. * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise. * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.
2002-08-28Regenerated from source filesUlrich Drepper1-3003/+3253
2002-08-28* Makeconfig (default_cflags): Revert unintended change.Roland McGrath1-0/+4
2002-08-282002-08-28 Roland McGrath <roland@redhat.com>Roland McGrath1-3/+0
* Makeconfig (default_cflags): Revert unintended change.
2002-08-28(open_archive): Replace using label 'again' with a loop to work around gcc ↵Ulrich Drepper2-47/+52
3.2 bug.
2002-08-28Update.Ulrich Drepper5-6/+23
2002-08-28 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.2.91. * configure.in: Disable TLS support by default for now. * sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float. * sysdeps/generic/strtol.c (strtol): Add some more casts to avoid warnings. * stdlib/strtod.c (STRTOF): Correct type in cast of last patch. * stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of fprintf/fwprintf calls.