| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Patch by Stephen R. van den Berg.
|
|
|
|
| |
* sysdeps/generic/strstr.c (strstr): Update. New optimized version.
|
|
|
|
|
|
| |
2001-12-14 Ulrich Drepper <drepper@redhat.com>
* crypt/md5.h: Define md5_uintptr.
|
| |
|
| |
|
|
|
|
|
| |
* libio/tst_swprintf.c (main): Add test for string argument with
zero precision.
|
|
|
|
| |
* stdio-common/Makefile (tests): Add tst-sprintf.
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-13 Ulrich Drepper <drepper@redhat.com>
* stdio-common/tst-sprintf.c: New file.
2001-12-13 Andreas Schwab <schwab@suse.de>
* stdio-common/vfprintf.c (process_string_arg): Correctly handle
zero precision with wide character string format.
|
|
|
|
|
|
|
| |
2001-12-13 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/posix/cuserid.c (cuserid): If we don't find the UID,
but have a user supplied buffer, return the empty buffer, not NULL.
|
|
|
|
|
|
|
|
|
|
| |
2001-12-13 Ulrich Drepper <drepper@redhat.com>
* crypt/md5.c (md5_process_bytes): Correct handling of alignment.
Patch by Eric Sharkey <sharkey@netrics.com>.
* crypt/md5test.c (main): Add test for multiple calls to
__md5_process_bytes to itererate over input string.
|
|
|
|
|
| |
* nis/nis_intern.h: Define parameters controlling __nis_findfastest
[PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-12 Ulrich Drepper <drepper@redhat.com>
* nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code
from __nis_findfastest. Take timeout value from parameter.
(__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly.
* nis/nis_intern.h: Define parameters controlling __nis_findfastest.
Patch by Alexander Belopolsky <alexb@rentec.com>.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
combreloc test so that it works in this case.
2001-12-12 Andreas Jaeger <aj@suse.de>
* configure.in: Use -nostartfiles -nostdlib for linker tests, fix
combreloc test so that it works in this case.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last
patch.
|
|
|
|
|
|
|
|
|
| |
2001-12-12 NIIBE Yutaka <gniibe@m17n.org>
* sysdeps/sh/Makefile: New file.
* sysdeps/sh/_mcount.S: New file.
* sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented.
* sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready.
|
| |
|
| |
|
|
|
|
|
|
|
| |
2001-12-11 Ulrich Drepper <drepper@redhat.com>
* resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS
limitation [PR libc/2564].
|
|
|
|
|
|
| |
2001-12-11 Ulrich Drepper <drepper@redhat.com>
* SUPPORTED (SUPPORTED-LOCALES): Add vi_VN.TCVN.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-11 Jakub Jelinek <jakub@redhat.com>
* elf/Makefile (dl-routines): Add conflict.
(rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove.
(ld.so): Add _begin local symbol.
* elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM):
Define.
* elf/dl-deps.c (_dl_build_local_scope): New.
(_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes
of all libraries.
* elf/do-rel.h (VALIDX): Define.
(elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do
lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations
can be skipped.
* elf/dl-conflict.c: New file.
* elf/dl-lookup.c (_dl_debug_bindings): New.
(_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always
non-NULL.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined,
define to ElfW(Rel).
* elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic
tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI
ranges.
Don't adjust address dynamic tags if l_addr is 0.
* elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables.
(_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked.
(VALIDX, ADDRIDX): Define.
(_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end.
(dl_main): Print library list for LD_TRACE_PRELINKING.
If prelinking information can be used, skip relocating libraries and
call _dl_resolve_conflicts instead.
(process_envvars): Handle LD_TRACE_PRELINKING envvar.
* elf/dl-load.c (_dl_map_object): Don't create fake libs
if LD_TRACE_PRELINKING.
* include/link.h (struct link_map) [l_info]: Add DT_VALNUM
+ DT_ADDRNUM.
* sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration.
(DL_DEBUG_PRELINK): Define.
(_dl_resolve_conflicts): Add prototype.
* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize
.plt for prelinked libraries where prelinking info cannot be used.
(elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict
section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map.
* sysdeps/arm/bits/link.h: New file.
* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original
content of .got[1].
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/i386/bits/link.h: New file.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original
content of .got[1].
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating
conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP
to find out map for R_PPC_JMP_SLOT relocs.
* sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define.
(OPCODE_BA): Define.
(elf_machine_runtime_setup): Reinitialize .plt for prelinked
libraries where prelinking info cannot be used.
(sparc_fixup_plt): Renamed from elf_machine_fixup_plt.
(elf_machine_fixup_plt): Call sparc_fixup_plt.
(elf_machine_rela): Set value to 0 if relocating conflicts.
Call sparc_fixup_plt for R_SPARC_JMP_SLOT.
* sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define.
(sparc64_fixup_plt): Fix a typo.
(elf_machine_rela): Set value to 0 if relocating conflicts.
Handle R_SPARC_JMP_SLOT relocs when relocating conflicts.
(elf_machine_runtime_setup): Reinitialize .plt for prelinked
libraries where prelinking info cannot be used.
* sysdeps/sh/bits/link.h: New file.
* sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original
content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/s390/s390-32/bits/link.h: New file.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
Save original content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/s390/s390-64/bits/link.h: New file.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup):
Save original content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
* sysdeps/x86_64/bits/link.h: New file.
* sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
Save original content of .got[1].
(elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
|
|
|
|
|
|
|
| |
2001-12-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof
where appropriate instead of numbers. Little optimizations.
|
|
|
|
| |
optimizations.
|
|
|
|
| |
set it.
|
|
|
|
| |
set to GLIBC_2.2.5, not GLIBC_2.2.4.
|
|
|
|
|
| |
Fix conditionals so this is set by default for stdio and not for libio.
* sysdeps/mach/hurd/configure: Regenerated.
|
|
|
|
|
|
| |
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):
Fix conditionals so this is set by default for stdio and not for libio.
* sysdeps/mach/hurd/configure: Regenerated.
|
|
|
|
|
|
|
|
|
| |
2001-12-10 Thorsten Kukuk <kukuk@suse.de>
* io/ftw.c (ftw_startup): Check, if the path is search and readable.
* io/Makefile (tests): Add bug-ftw3.
* io/bug-ftw3.c: New file.
|
|
|
|
|
|
|
|
|
|
| |
2001-12-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/glob.c (glob): Return only pattern if nothing
matches and GLOB_NOCHECK is set.
* posix/globtest.sh: Correct expected result for NOCHECK test.
* po/ca.po: Update from translation team.
|
|
|
|
|
|
|
| |
2001-12-10 Ulrich Drepper <drepper@redhat.com>
* locales/ca_ES: Fix typos (desembre -> decembre).
Patch by Xavi Drudis Ferran <xdrudis@tinet.org>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-09 Ulrich Drepper <drepper@redhat.com>
Implement transliteration of characters in strings of the locale
definitions.
* locale/programs/linereader.c: Adjust for additional parameter to
lr_token.
(get_string): If character <Uxxxx> is not found try to transliterate
it.
* locale/programs/ld-ctype.c: Adjust for additional parameter to
lr_token. Add const to charmap parameter of all functions.
(find_translit, find_translit2): New functions.
* locale/programs/charmap.c: Adjust for additional parameter to
lr_token.
* locale/programs/repertoire.c: Likewise.
* locale/programs/linereader.h: Likewise.
* locale/programs/ld-address.c: Likewise. Add const to charmap
parameter of all functions.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/localedef.h: Likewise.
* locale/programs/locfile.h: Likewise. Add declaration for
find_translit.
* locale/programs/simple-hash.c: Add const to first parameter of
find_entry, iterate_table, and lookup.
* locale/programs/simple-hash.h: Likewise.
* locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h>
instead.
* include/locale.h: Define __LC_LAST.
* iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.
|
| |
|
|
|
|
|
|
|
|
| |
* sysdeps/powerpc/fpu/Dist: Likewise.
2001-12-07 Geoff Keating <geoffk@redhat.com>
* sysdeps/powerpc/Dist: Update for recent FP changes.
* sysdeps/powerpc/fpu/Dist: Likewise.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
save/restore functions here.
(libm-support): Don't define these functions here.
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
functions here.
* sysdeps/powerpc/fe_nomask.c: Move to...
* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
* sysdeps/powerpc/fprrest.S: Move to...
* sysdeps/powerpc/fpu/fprrest.S: ... here.
* sysdeps/powerpc/fprsave.S: Move to...
* sysdeps/powerpc/fpu/fprsave.S: ... here.
2001-12-06 Geoff Keating <geoffk@redhat.com>
* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
save/restore functions here.
(libm-support): Don't define these functions here.
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
functions here.
* sysdeps/powerpc/fe_nomask.c: Move to...
* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
* sysdeps/powerpc/fprrest.S: Move to...
* sysdeps/powerpc/fpu/fprrest.S: ... here.
* sysdeps/powerpc/fprsave.S: Move to...
* sysdeps/powerpc/fpu/fprsave.S: ... here.
|
|
|
|
|
|
| |
2001-12-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/opensock.c: New file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Substitute with_fp.
* configure: Regenerate.
* powerpc/Makefile: Set -msoft-float when --without-fp is specified,
and don't change FPU environment.
2001-12-06 Geoff Keating <geoffk@redhat.com>
* config.make.in (with-fp): Define from configure.
* configure.in: Substitute with_fp.
* configure: Regenerate.
* sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is
specified, and don't change FPU environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-06 Ulrich Drepper <drepper@redhat.com>
* libio/vasprintf.c (_IO_vasprintf): Free buffer on failure.
* assert/assert.c: Check result of __asprintf call and don't use
string if it failed.
* assert/assert-perr.c: Likewise.
* inet/rcmd.c: Likewise.
* locale/programs/localedef.c (main): Check result of
construct_output_path and exit if it failed.
(construct_output_path): Check result of asprintf and mkdir calls and
fail if they failed.
* posix/getopt.c: Check result of __asprintf calls and fail if
they failed.
Patch by Dmitry V. Levin <ldv@alt-linux.org>.
|
|
|
|
|
|
| |
* string/tester.c: Add tests for strcasecmp and strncasecmp.
* Versions.def (libc): Add GCC_3.0.
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0.
|
|
|
|
| |
* sysdeps/generic/strncase.c: Likewise.
|
|
|
|
|
|
|
| |
2001-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance
patch.
|
| |
|
|
|
|
| |
* scripts/cpp: Test the exit status from 'type', not 'awk'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.
2001-12-05 Geoff Keating <geoffk@redhat.com>
* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.
|
|
|
|
|
| |
* locales/bg_BG: Rewrite.
Patch by Alexander Shopov <al_shopov@web.bg>.
|
|
|
|
|
| |
* iconvdata/testdata/TCVN-5712: New file.
* iconvdata/testdata/TCVN-5712..UTF8: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* iconvdata/ibm1129.h: Remove duplicate mappings.
* iconvdata/ibm937.c: Handle overflow errors. Handle new tables.
* iconvdata/ibm937.h: Reorganize table to safe a lot of space.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
* timezone/zic.c: Fix handling of turnaround times.
Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.
2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com>
* sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
overflow problem.
2001-12-05 Ulrich Drepper <drepper@redhat.com>
* posix/regex.c: For use outside glibc defined bounded pointer
macros here. Patch by Jim Meyering <jim@meyering.net>.
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-05 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add TCVN5712-1.
* iconvdata/TESTS: Add TCVN5712-1.
* iconvdata/gconv-modules: Likewise.
* iconvdata/tcvn5712-1.c: New file.
* iconvdata/testdata/TCVN5712-1: New file.
* iconvdata/testdata/TCVN5712-1..UTF8: New file.
|