aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-09-28(td_thr_tls_get_addr): Fix reference to dtv.Ulrich Drepper
2002-09-28* sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): FixAndreas Jaeger
number of args to syscall. * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise. Patch by Guido Guenther <agx@sigxcpu.org>.
2002-09-28Fix number of args to syscall.Andreas Jaeger
2002-09-28Update.Ulrich Drepper
2002-09-27 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regcomp.c (reg_free): Free the debug area. (re_compile_internal): Allocate debug area for the input string. (create_initial_state): Check the back references in initial states if they are really match null string in the initial state. (parse_reg_exp): Mark the dfa that the dfa can have plural matchings. (parse_expression): Likewise. (parse_bracket_exp): Likewise. * posix/regex_internal.c (re_node_set_intersect): Remove unused function. (re_node_set_contains): Change to return the index of node. * posix/regex_internal.h (re_backref_cache_entry): Change the members. (re_match_context_t): Likewise. (struct re_dfa_t): Likewise. (re_sift_context_t): New structure. * posix/regexec.c (match_ctx_clear_flag): New function. (sift_ctx_init): Likewise. (update_cur_sifted_state): Likewise. (add_epsilon_src_nodes): Likewise. (sub_epsilon_src_nodes): Likewise. (check_subexp_limits): Likewise. (search_subexp): Likewise. (sift_states_bkref): Likewise. (merge_state_array): Likewise. (sift_states_iter_bkref): Remove unused function. (add_epsilon_backreference): Remove unused function. (re_search_internal): Adapt new members and interfaces. (check_matching): Check the back references in initial states if they are really match null string in the initial state. (proceed_next_node): Change the evaluation of back references, since we have real registers here. (set_regs): Adapt new interface of proceed_next_node. (sift_states_backward): Add invocation of update_cur_sifted_state instead of add_epsilon_backreference. Add a sentinel to the outermost while loop. Move the handling of back references to sift_states_bkref function, since we can't handle some back references (e.g. a back reference which match NULL string) here. (transit_state_mb): Handle the new member max_mb_elem_len. (transit_state_bkref_loop): Move the evaluation of back references to search_subexp function, since we can't evaluate some back references (e.g. a back reference which can have plural matchings) here. (match_ctx_init): Adapt the new member. (match_ctx_add_entry): Adapt the new members. 2002-09-25 Alan Modra <amodra@bigpond.net.au> * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro instead of 'elf_machine_rel_relative'. * sysdeps/hppa/dl-machine.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' with extra map parameter required by HPPA. (elf_machine_rela_relative): Add plt relocation changes. 2001-11-14 Matthew Wilcox <willy@debian.org> * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file.
2002-09-28Update.Ulrich Drepper
2002-09-27 Ulrich Drepper <drepper@redhat.com> * locales/zh_TW: Use shorter forms for abday and day. Patch by Rex Tsai <chihchun@kalug.linux.org.tw>.
2002-09-28Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative'. ↵Ulrich Drepper
(elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro instead of 'elf_machine_rel_relative'.
2002-09-28* sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath
(__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined. * sysdeps/unix/sysv/linux/powerpc/lchown.S [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition on chown compatibility symbol; use compat_symbol, not symbol_version.
2002-09-282002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined.
2002-09-28SysV shared memory definitions for Linux/PA.Ulrich Drepper
2002-09-28(Hash Search Function): Describe that memory must be cleared before calling ↵Ulrich Drepper
hcreate_r.
2002-09-282002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/x86_64/tls.h [__ASSEMBLER__]: Don't include <pt-machine.h>.
2002-09-27* sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.Roland McGrath
2002-09-27* sysdeps/powerpc/powerpc64/MakefileRoland McGrath
[$(build-shared) = yes] (pic-ccflag): Define it. [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.
2002-09-27* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): RemoveRoland McGrath
unneeded TLS cases.
2002-09-27* elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_startRoland McGrath
unconditionally. Set dli_fname to _dl_argv[0] only for main program. 2002-09-27 Roland McGrath <roland@redhat.com> * elf/dl-addr.c (_dl_addr): Add a cast. * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64. * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64, R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32, R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros. (R_X86_64_NUM): Update the value.
2002-09-27* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don'tRoland McGrath
rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the addend. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use the same l_addr computation. * sysdeps/sparc/sparc64/configure.in: Removed. * sysdeps/sparc/sparc64/configure: Removed. * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.
2002-09-272002-09-24 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the addend. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use the same l_addr computation. * sysdeps/sparc/sparc64/configure.in: Removed. * sysdeps/sparc/sparc64/configure: Removed. * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.
2002-09-27Update.Ulrich Drepper
2002-09-26 Ulrich Drepper <drepper@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry if necessary. * elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated. * elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the symbol table if necessary.
2002-09-27(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.Ulrich Drepper
2002-09-26* stdlib/longlong.h: Replaced with current version from GCC mainline,Roland McGrath
last modified 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>.
2002-09-262002-09-26 Roland McGrath <roland@redhat.com>Roland McGrath
* stdlib/longlong.h: Replaced with current version from GCC mainline, last modified 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>.
2002-09-25* sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.Andreas Jaeger
Patch by Guido Guenther <agx@sigxcpu.org>.
2002-09-25Add syscall_exit.Andreas Jaeger
2002-09-25* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).Roland McGrath
2002-09-252002-09-25 Roland McGrath <roland@redhat.com>Roland McGrath
* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).
2002-09-25Update.Ulrich Drepper
2002-09-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.
2002-09-25Recognize nptl add-on name.Ulrich Drepper
2002-09-25* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,Roland McGrath
__libc_write, __libc_lseek64, to ... (ld: GLIBC_PRIVATE): ... here.
2002-09-25* csu/Versions: Use %include <tls.h> to get USE_TLS defined.Roland McGrath
(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno. (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead. * resolv/Versions: Use %include <tls.h> to get USE_TLS defined. (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno, and _res. (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here. * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): New macros for x86-64. * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. It was indentical to the linux/bits/time.h file. * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning. * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.
2002-09-252002-09-24 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. It was indentical to the linux/bits/time.h file.
2002-09-24Update.Ulrich Drepper
2002-09-24(td_thr_tls_get_addr): Change second parameter to be the address of the link ↵Ulrich Drepper
map in the inferior process.
2002-09-24* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]Roland McGrath
for gethostname declaration.
2002-09-242002-09-23 Roland McGrath <roland@redhat.com>Roland McGrath
* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K] for gethostname declaration.
2002-09-24Update.Ulrich Drepper
2002-09-23 Ulrich Drepper <drepper@redhat.com> * po/zh_CN.po: New file.
2002-09-24Simplified Chinese translations for libc.Ulrich Drepper
2002-09-24* catgets/open_catalog.c (__open_catalog): Don't use a value typeRoland McGrath
as the __builtin_expect expression, just the Boolean value. * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. * iconvdata/tst-loading.c (main): Likewise. * catgets/tst-catgets.c (main): Likewise. * stdlib/tst-xpg-basename.c (main): Likewise. * stdlib/tst-bsearch.c (main): Likewise. * stdio-common/test-vfprintf.c (main): Likewise. * stdio-common/tst-rndseek.c (do_test): Likewise. * libio/tst_swprintf.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. * time/tst-posixtz.c (main): Likewise. * time/tst-strptime.c (test_tm): Likewise. * time/tst-strptime.c (main): Likewise. * time/tst-getdate.c (main): Likewise. * posix/tst-mmap.c (main): Likewise. * posix/tst-getaddrinfo.c (do_test): Likewise. * io/tst-getcwd.c (do_test): Likewise. * resolv/tst-aton.c (main): Likewise. * inet/tst-network.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int for PTYNO. * stdlib/msort.c (qsort): Add a cast to silence warning. * stdio-common/vfprintf.c (process_string_arg): Likewise. * libio/oldfileops.c (_IO_old_do_write): Likewise. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * sysdeps/unix/grantpt.c (grantpt): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise. * rt/tst-aio.c (test_file): Likewise. * rt/tst-aio64.c (test_file): Likewise. * resolv/tst-aton.c (main): Likewise. * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t instead of uint32_t in these macros.
2002-09-242002-09-23 Roland McGrath <roland@redhat.com>Roland McGrath
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t instead of uint32_t in these macros.
2002-09-24Update.Ulrich Drepper
* iconv/iconv_prog.c (main): Provide an error message that identifies the wrong encoding. 2002-09-22 Bruno Haible <bruno@clisp.org> * iconvdata/tscii.c: New file. * iconvdata/testdata/TSCII: New file. * iconvdata/testdata/TSCII..UTF8: New file. * iconvdata/TSCII.precomposed: New file. * iconvdata/TSCII.irreversible: New file. * iconvdata/gconv-modules (TSCII): New module. * iconvdata/Makefile (modules): Add TSCII. (distribute): Add tscii.c. * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output buffer size. * iconvdata/tst-tables.sh: Add TSCII. * iconvdata/TESTS: Add TSCII. 2002-09-22 Bruno Haible <bruno@clisp.org> Revert 2002-04-18 patch. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for FROM_DIRECTION): Make the FROM direction stateful again. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for FROM_DIRECTION): Likewise. 2002-09-22 Bruno Haible <bruno@clisp.org>
2002-09-24(sysdep_routines, shared-only-routines): Don't add divdi3 here.Ulrich Drepper
2002-09-23* iconvdata/tst-e2big.c: New file.Roland McGrath
* iconvdata/Makefile (tests): Add tst-e2big.
2002-09-23* elf/Makefile (test-extras): Define this instead of test-srcs.Roland McGrath
* Makerules (all-nonlib): Include $(test-extras) too.
2002-09-23unnecessary with stratcliffRoland McGrath
2002-09-23* string/bug-stpncpy-offend.c: New file.Roland McGrath
* string/Makefile (tests): Add it.
2002-09-23* sysdeps/hppa/abort-instr.h: New file.Roland McGrath
2002-09-23* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry.Roland McGrath
2002-09-22* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.Roland McGrath
2002-09-22* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.Roland McGrath
2002-09-222002-09-22 Andreas Schwab <schwab@suse.de>Roland McGrath
* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.
2002-09-22* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)Andreas Schwab
(isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]: Use GCC builtins.