platform/upstream/linaro-glibc.git
21 years ago* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
Andreas Jaeger [Thu, 13 Nov 2003 16:40:13 +0000 (16:40 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):

Define appropriately for x86_64.
(__ASSUME_UTIMES): Likewise.
(__ASSUME_FADVISE64_64_SYSCALL): Likewise.
(__ASSUME_CLONE_THREAD_FLAGS): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 09:54:39 +0000 (09:54 +0000)]
Update.

2003-11-13  Ulrich Drepper  <drepper@redhat.com>

* posix/regcomp.c (parse_expression): In BRE consecutive
duplications are not allowed.

21 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 06:38:30 +0000 (06:38 +0000)]
Update.

* posix/regcomp.c (parse_bracket_exp): If end of expression is
seen, return EBRACK error, not BADPAT.

21 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 06:01:46 +0000 (06:01 +0000)]
Update.

* posix/regcomp.c (parse_expression): If token is OP_OPEN_DUP_NUM
and RE_CONTEXT_INVALID_DUP syntax flag is set, fail.
* posix/regex.h (RE_CONTEXT_INVALUD_OPS): New macro.
(RE_SYNTAX_POSIX_BASIC): Use RE_CONTEXT_INVALUD_OPS.

* posix/regcomp.c (parse_sub_exp): In case of not-matching ( )
return REG_EPAREN.

21 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 01:04:26 +0000 (01:04 +0000)]
Update.

2003-11-12  Ulrich Drepper  <drepper@redhat.com>

* posix/PTESTS: Cleanup.  Fix typoes.  Correct bugs in 2003.2.
* posix/runptests.c (main): Handle comments.
* posix/PTESTS2C.sed: Handle comments.

21 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 19:09:20 +0000 (19:09 +0000)]
Update.

* posix/regcomp.c (optimize_utf8): New function.
(re_compile_fastmap_iter): Use dfa->mb_cur_max > 1 instead
of !icase.
(re_compile_internal): Call optimize_utf8 if not case insensitive
and in UTF-8 locale.
* posix/regex_internal.h: Ifdef out some prototypes if
RE_NO_INTERNAL_PROTOTYPES is defined to shut up warnings.
* posix/Makefile (tests): Add bug-regex20.
(bug-regex20-ENV): Add LOCPATH.
* posix/bug-regex20.c: New test.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 17:47:46 +0000 (17:47 +0000)]
Update.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

* io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

* posix/tst-regex.c (umemlen): New variable.
(test_expr): Add expectedicase argument.  Test case insensitive
searches as well as backwards searches (case sensitive and
insensitive) too.
(run_test): Add icase argument.  Use it to compute regcomp flags.
(run_test_backwards): New function.
(main): Cast read to size_t to avoid warning.  Set umemlen.
Add expectedicase arguments to test_expr.
* posix/regex_internal.c (re_string_reconstruct): If is_utf8,
find previous character by walking back instead of converting
all chars from beginning.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (struct re_string_t): Add is_utf8
and mb_cur_max fields.
(struct re_dfa_t): Likewise.  Reorder fields to make structure
smaller on 64-bit arches.
(re_string_allocate, re_string_construct): Add mb_cur_max and
is_utf8 arguments.
(re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max
instead of MB_CUR_MAX.
* posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max
instead of MB_CUR_MAX.
(re_compile_internal): Pass new arguments to re_string_construct.
(init_dfa): Initialize mb_cur_max and is_utf8 fields.
(peek_token, peek_token_bracket): Use input->mb_cur_max instead
of MB_CUR_MAX.
(parse_expression, parse_bracket_exp, parse_charclass_op): Use
dfa->mb_cur_max instead of MB_CUR_MAX.
* posix/regex_internal.c (re_string_construct_common): Add
mb_cur_max and is_utf8 arguments.  Initialize fields with them.
(re_string_allocate, re_string_construct): Add mb_cur_max and
is_utf8 arguments, pass them to re_string_construct_common.
Use mb_cur_max instead of MB_CUR_MAX.
(re_string_realloc_buffers): Use pstr->mb_cur_max instead of
MB_CUR_MAX.
(re_string_reconstruct): Likewise.
(re_string_context_at): Use input->mb_cur_max instead of
MB_CUR_MAX.
(create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max
instead of MB_CUR_MAX.
* posix/regexec.c (re_search_internal): Likewise.
Pass new arguments to re_string_allocate.
(check_matching, transit_state_sb): Use dfa->mb_cur_max instead of
MB_CUR_MAX.
(extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX.

2003-11-12  Jakub Jelinek  <jakub@redhat.com>

* posix/Makefile (tests): Add bug-regex19.
(bug-regex19-ENV): Add LOCPATH.
* posix/bug-regex19.c: New test.

21 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 07:56:31 +0000 (07:56 +0000)]
Update.

* posix/bug-regex17.c: New file
* posix/bug-regex18.c: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 06:13:10 +0000 (06:13 +0000)]
Update.

2003-11-11  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE
with MB_CUR_MAX > 1 locales in the fastmap.

2003-11-11  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.c (build_wcs_buffer): Fix comment typo.
(build_wcs_upper_buffer): Likewise.  Use towupper for wchar_t instead
of toupper.
* posix/Makefile (tests): Add bug-regex17 and bug-regex18.
(bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH.
* posix/bug-regex18.c: New test.

21 years agoDon't declare __pthread_unwind as weak inside libpthread.
Ulrich Drepper [Wed, 12 Nov 2003 05:36:25 +0000 (05:36 +0000)]
Don't declare __pthread_unwind as weak inside libpthread.

21 years ago* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite):
Roland McGrath [Wed, 12 Nov 2003 01:04:12 +0000 (01:04 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite):

Define __NR_pread/__NR_pwrite if not done in kernel headers

21 years ago* manual/xtract-typefun.awk: Swallow [(){}*] from function names.
Roland McGrath [Wed, 12 Nov 2003 00:50:03 +0000 (00:50 +0000)]
* manual/xtract-typefun.awk: Swallow [(){}*] from function names.

21 years ago* manual/Makefile (info): Don't depend on dir-add.info.
Roland McGrath [Wed, 12 Nov 2003 00:37:15 +0000 (00:37 +0000)]
* manual/Makefile (info): Don't depend on dir-add.info.

(libc.dvi libc.pdf libc.info): Depend on dir-add.texi.
(dir-add.info): Target removed, replaced with ...
(dir-add.texi): New target.
(distribute): Add it.
(install): Remove variant with --section arguments.
Let the @dircategory directives do their work.
(mostlyclean): Don't remove dir-add.info here.
(realclean): Remove dir-add.texi here.
* manual/libc.texinfo: @include dir-add.texi
* configure.in: Remove check for old Debian install-info.
* configure: Regenerated.
* config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.

21 years ago2003-11-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 12 Nov 2003 00:37:03 +0000 (00:37 +0000)]
2003-11-11  Roland McGrath  <roland@redhat.com>

* manual/Makefile (info): Don't depend on dir-add.info.
(libc.dvi libc.pdf libc.info): Depend on dir-add.texi.
(dir-add.info): Target removed, replaced with ...
(dir-add.texi): New target.
(distribute): Add it.
(install): Remove variant with --section arguments.
Let the @dircategory directives do their work.
(mostlyclean): Don't remove dir-add.info here.
(realclean): Remove dir-add.texi here.
* manual/libc.texinfo: @include dir-add.texi
* configure.in: Remove check for old Debian install-info.
* configure: Regenerated.
* config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.

21 years agoUpdate.
Ulrich Drepper [Tue, 11 Nov 2003 07:25:45 +0000 (07:25 +0000)]
Update.

2003-11-08  Andreas Schwab  <schwab@suse.de>

* scripts/data/c++-types-ia64-linux-gnu.data: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 11 Nov 2003 07:22:02 +0000 (07:22 +0000)]
Update.

2003-11-10  Carlos O'Donell  <carlos@baldric.uwo.ca>

* io/ftwtest-sh: Fix nested sed commands.

2003-11-10  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (re_string_char_size_at): Don't look beyond
valid_len wide chars.

21 years ago(re_string_char_size_at): Don't look beyond valid_len wide chars.
Ulrich Drepper [Tue, 11 Nov 2003 06:58:52 +0000 (06:58 +0000)]
(re_string_char_size_at): Don't look beyond valid_len wide chars.

21 years ago* manual/examples/dir2.c (one): Add const to argument type.
Roland McGrath [Mon, 10 Nov 2003 01:18:56 +0000 (01:18 +0000)]
* manual/examples/dir2.c (one): Add const to argument type.

Reported by J de Haan <j.de.haan@home.nl>.

21 years ago2003-11-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 10 Nov 2003 01:18:43 +0000 (01:18 +0000)]
2003-11-09  Roland McGrath  <roland@redhat.com>

* manual/examples/dir2.c (one): Add const to argument type.
Reported by J de Haan <j.de.haan@home.nl>.

21 years agoUpdate.
Ulrich Drepper [Sat, 8 Nov 2003 17:36:31 +0000 (17:36 +0000)]
Update.

2003-11-08  Ulrich Drepper  <drepper@redhat.com>

* locales/ne_NP: New file.
* locales/gu_IN: New file.
* locales/kn_IN: New file.
* locales/pa_IN: New file.
Patch by Gnutupalli Karunakar <karunakar@freedomink.org>.

* SUPPORTED (SUPPORTED-LOCALES): Add ne_NP, gu_IN, kn_IN, and pa_IN.

21 years agoUpdate.
Ulrich Drepper [Sat, 8 Nov 2003 02:50:11 +0000 (02:50 +0000)]
Update.

2003-11-07  Ulrich Drepper  <drepper@redhat.com>

* po/pl.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Fri, 7 Nov 2003 23:00:00 +0000 (23:00 +0000)]
Update.

2003-11-07  Jakub Jelinek  <jakub@redhat.com>

* io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
(ftw_dir, ftw_startup): Add __attribute ((noinline)).
(NFTW_OLD_NAME, NFTW_NEW_NAME): New functions.
(NFTW_NAME): Only define if !_LIBC, add versioned_symbol
and compat_symbol.
* io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
* io/Versions (libc): Export nftw@@GLIBC_2.3.3
and nftw64@@GLIBC_2.3.3.

* io/ftw.h (FTW_ACTIONRETVAL): New flag.
(FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New.
* io/ftw.c (ftw_dir): Add old_dir argument.
Clear result if it was FTW_SKIP_SIBLINGS after processing all
dir entries.  Change cwd back if old_dir != NULL.
(process_entry): Adjust caller.  Don't change cwd back here.
Change FTW_SKIP_SUBTREE result to 0.
(ftw_startup): Adjust ftw_dir caller.
Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS.
* io/ftwtest.c (skip_subtree, skip_siblings): New variables.
(options, main): Add --skip-subtree and --skip-siblings options.
(cb): Use return FTW_CONTINUE instead of return 0.
Handle --skip-subtree and --skip-siblings.
* io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL.
* manual/filesys.texi: Document FTW_ACTIONRETVAL.

21 years agoUpdate.
Ulrich Drepper [Thu, 6 Nov 2003 09:48:05 +0000 (09:48 +0000)]
Update.

2003-11-06  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Add magic to clean up correctly.

21 years agoUpdate.
Ulrich Drepper [Thu, 6 Nov 2003 04:29:42 +0000 (04:29 +0000)]
Update.

2003-11-05  Jakub Jelinek  <jakub@redhat.com>

* unwind.c (FRAME_LEFT): Define.
(unwind_stop): Handle old style cleanups here.
(__pthread_unwind): Handle old style cleanups only if
!HAVE_FORCED_UNWIND.
* Makefile (tests): Add tst-cleanup4 and tst-cleanupx4.
(CFLAGS-tst-cleanupx4.c): Add -fexceptions.
($(objpfx)tst-cleanup4): Depend on $(objpfx)tst-cleanup4aux.o.
($(objpfx)tst-cleanupx4): Likewise.
* tst-cleanup4.c: New test.
* tst-cleanup4aux.c: New.
* tst-cleanupx4.c: New test.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 23:43:40 +0000 (23:43 +0000)]
Update.

2003-11-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/bits/stdio-lock.h: Use lll_*lock instead of
lll_mutex_*lock macros to skip atomic operations on some archs.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 21:11:41 +0000 (21:11 +0000)]
Update.

2003-11-04  Jakub Jelinek  <jakub@redhat.com>

* io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns
non-zero.
* io/Makefile (tests): Add bug-ftw4.
* io/bug-ftw4.c: New test.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 20:07:11 +0000 (20:07 +0000)]
Update.

2003-11-04  Ulrich Drepper  <drepper@redhat.com>

* tst-numeric.data: Fix fallout from nb_NO introduction.
* Makefile (LOCALES): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 09:58:57 +0000 (09:58 +0000)]
Update.

2003-10-27  Daniel Jacobowitz  <drow@mvista.com>

* libio/libioP.h [_IO_USE_OLD_IO_FILE]
(struct _IO_FILE_complete_plus): New type.
* libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus.
* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
* libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise.
Call _IO_old_init instead of _IO_init.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 07:57:51 +0000 (07:57 +0000)]
Update.

* intl/locale.alias: nb_NO is now the correct name, not no_NO.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 07:06:08 +0000 (07:06 +0000)]
Update.

* SUPPORTED (SUPPORTED-LOCALES): Add more support locales.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 04:58:50 +0000 (04:58 +0000)]
Update.

* locales/aa_DJ: New file.
* locales/aa_ER: New file.
* locales/aa_ER@saaho: New file.
* locales/aa_ET: New file.
* locales/byn_ER: New file.
* locales/gez_ER: New file.
* locales/gez_ER@abegede: New file.
* locales/gez_ET: New file.
* locales/gez_ET@abegede: New file.
* locales/om_ET: New file.
* locales/om_KE: New file.
* locales/sid_ET: New file.
* locales/so_DJ: New file.
* locales/so_ET: New file.
* locales/so_KE: New file.
* locales/so_SO: New file.
* locales/tig_ER: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 21:27:13 +0000 (21:27 +0000)]
Update.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>

* locale/iso-639.def: Add Blin.
Patch by Daniel Yacob <locales@geez.org>.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 19:13:38 +0000 (19:13 +0000)]
Update.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/tst-timer.c (main): Initialize
sigev2.sigev_value as well.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 17:41:17 +0000 (17:41 +0000)]
Update.

2003-10-31  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/strncmp.S: New File.
* sysdeps/powerpc/powerpc64/strncmp.S: New File.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 17:20:32 +0000 (17:20 +0000)]
Update.

2003-11-01  Randolph Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
Add missing parentheses.

21 years ago(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5,...
Ulrich Drepper [Mon, 3 Nov 2003 17:18:38 +0000 (17:18 +0000)]
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.

21 years ago* libio/bug-ftell.c (do_test): Add a cast.
Roland McGrath [Sat, 1 Nov 2003 21:11:05 +0000 (21:11 +0000)]
* libio/bug-ftell.c (do_test): Add a cast.

21 years ago* Makerules (shlib.lds): Make sure that ld doesn't try to link
Roland McGrath [Sat, 1 Nov 2003 00:36:04 +0000 (00:36 +0000)]
* Makerules (shlib.lds): Make sure that ld doesn't try to link

anything while generating the linker script.

21 years ago* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
Roland McGrath [Fri, 31 Oct 2003 23:35:42 +0000 (23:35 +0000)]
* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's

special members.

21 years ago2003-10-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 31 Oct 2003 23:35:21 +0000 (23:35 +0000)]
2003-10-31  Roland McGrath  <roland@redhat.com>

* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
special members.

21 years agoUpdate.
Ulrich Drepper [Thu, 30 Oct 2003 02:14:20 +0000 (02:14 +0000)]
Update.

2003-10-29  Ulrich Drepper  <drepper@redhat.com>

* po/be.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 20:09:12 +0000 (20:09 +0000)]
Update.

* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
_dl_map_object.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 09:18:17 +0000 (09:18 +0000)]
Update.

* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 08:44:53 +0000 (08:44 +0000)]
Update.

2003-10-27  Ulrich Drepper  <drepper@redhat.com>

* inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
rest of line.  We use getline which means this cannot happen.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 04:05:04 +0000 (04:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs):
Avoid infinite loops in case the mounts file is hosed.
* io/Makefile: Add rules to build and run tst-statvfs.
* io/tst-statvfs.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 01:36:12 +0000 (01:36 +0000)]
Update.

* include/dlfcn.h (__RTLD_OPENEXEC): Define.
* elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading
executables unless __RTLD_OPENEXEC flag is present.
* elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to
_dl_map_object when loading the executable.

reverse lookup format for IPv6 addresses is using bitstring and
* resolv/ns_name.c: Implement encoding and decoding bitstring in

21 years agoUpdate.
Ulrich Drepper [Sun, 26 Oct 2003 20:47:33 +0000 (20:47 +0000)]
Update.

* sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping
correctly.
* posix/globtest.sh: Add tests for GLOB_BRACE and escaping.

21 years agoUpdate.
Ulrich Drepper [Sun, 26 Oct 2003 08:34:38 +0000 (08:34 +0000)]
Update.

2003-10-26  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default
reverse lookup format for IPv6 addresses is using bitfields and
.ip6.arpa suffix.
* resolv/ns_name.c: Implement encoding and decoding bitfields in
hex format.

21 years agoUpdate.
Ulrich Drepper [Fri, 24 Oct 2003 03:26:33 +0000 (03:26 +0000)]
Update.

2003-10-23  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locale.c (show_info): Fix printing word values on
64-bit big-endian architectures.

2003-10-19  Bruno Haible  <bruno@clisp.org>

* intl/hash-string.c (hash_string): Zero-extend each char from the
string; the old code did a sign-extend on some platforms.

21 years ago(__hash_string): Zero-extend each char from the string; the old code did a sign-exten...
Ulrich Drepper [Fri, 24 Oct 2003 03:22:26 +0000 (03:22 +0000)]
(__hash_string): Zero-extend each char from the string; the old code did a sign-extend on some platforms.

21 years ago* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
Roland McGrath [Wed, 22 Oct 2003 21:30:08 +0000 (21:30 +0000)]
* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't

append options to these.
* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.

21 years ago2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Wed, 22 Oct 2003 21:30:03 +0000 (21:30 +0000)]
2003-10-22  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
append options to these.
* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.

21 years agoNo need for compile time measurements.
Ulrich Drepper [Wed, 22 Oct 2003 19:07:07 +0000 (19:07 +0000)]
No need for compile time measurements.

21 years ago* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
Roland McGrath [Wed, 22 Oct 2003 07:10:00 +0000 (07:10 +0000)]
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.

2003-10-15  Roland McGrath  <roland@redhat.com>

* elf/dl-iteratephdr.c [! SHARED] (dl_iterate_phdr): New function.
Fake an entry for the main executable and then call __dl_iterate_phdr.
* elf/Makefile (routines): Remove dl-iteratephdr-static.
(elide-routines.os): Likewise.
(CFLAGS-dl-iterate-phdr-static.c): Variable removed.
* sysdeps/generic/dl-iteratephdr-static.c: File removed.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: File removed.

21 years ago* sysdeps/pthread/configure.in: Barf if visibility attribute support
Roland McGrath [Thu, 16 Oct 2003 01:38:30 +0000 (01:38 +0000)]
* sysdeps/pthread/configure.in: Barf if visibility attribute support

is missing.
* sysdeps/pthread/configure: Regenerated.

21 years agobogon reversion
Roland McGrath [Thu, 16 Oct 2003 01:38:16 +0000 (01:38 +0000)]
bogon reversion

21 years ago* sysdeps/generic/dl-iteratephdr-static.c: Really implement it.
Roland McGrath [Wed, 15 Oct 2003 19:34:04 +0000 (19:34 +0000)]
* sysdeps/generic/dl-iteratephdr-static.c: Really implement it.

21 years ago2003-10-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 15 Oct 2003 19:33:56 +0000 (19:33 +0000)]
2003-10-15  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/configure.in: Barf if visibility attribute support
is missing.
* sysdeps/pthread/configure: Regenerated.

21 years agoUpdate.
Ulrich Drepper [Wed, 15 Oct 2003 06:24:26 +0000 (06:24 +0000)]
Update.

2003-10-15  Jakub Jelinek  <jakub@redhat.com>

* elf/rtld.c (print_statistics): Print also number of relative
relocations.

21 years agoUpdate.
Ulrich Drepper [Wed, 15 Oct 2003 05:47:36 +0000 (05:47 +0000)]
Update.

2003-10-12  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/sysdep.h: Undef JUMPTARGET before use.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Define PSEUDO_ERRVAL,
SYSCALL_ERROR_LABEL under all conditions, INTERNAL_SYSCALL_DECL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL,
and undef JUMPTARGET before use.
[PIC]: Save pic register around syscall.
* sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall):
Cleanup asm statment.

2003-10-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep.h (DO_CALL): Add SYSCALL_INST_PAD
after trapa instruction.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Oct 2003 23:05:45 +0000 (23:05 +0000)]
Update.

2003-10-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid.

21 years agoAdd waitpid.
Ulrich Drepper [Sun, 12 Oct 2003 22:56:00 +0000 (22:56 +0000)]
Add waitpid.

21 years ago* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.
Roland McGrath [Sat, 11 Oct 2003 01:29:07 +0000 (01:29 +0000)]
* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.

21 years ago* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
Roland McGrath [Thu, 9 Oct 2003 22:34:22 +0000 (22:34 +0000)]
* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there

is no file to name.

21 years ago2003-10-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Oct 2003 22:34:17 +0000 (22:34 +0000)]
2003-10-09  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
is no file to name.

21 years agoUpdate.
Ulrich Drepper [Wed, 8 Oct 2003 21:12:18 +0000 (21:12 +0000)]
Update.

2003-10-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
two identical copies of strings.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Oct 2003 18:50:07 +0000 (18:50 +0000)]
Update.

2003-10-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Backout 2003-10-02
changes.
(SAVE_OLDTYPE_0): Fix a typo.

21 years agoUpdate.
Ulrich Drepper [Mon, 6 Oct 2003 23:44:15 +0000 (23:44 +0000)]
Update.

* posix/bug-regex11.c: Add some more tests which fail so far.
Disable them.  Patch by Paolo Bonzini <bonzini@gnu.org>.

2003-10-05  Paolo Bonzini  <bonzini@gnu.org>

* posix/bug-regex11.c: Add more backreference-related test cases.
(main): Show the failing regex in the error messages.
* posix/regexec.c (check_dst_limits_calc_pos):
Simplify some nested conditionals.  Replace if's with a switch
statement.
(check_dst_limits_calc_pos <TYPE_BKREF>): Rename parameter NODE to
FROM_NODE, it shadows a local variable; don't recurse if FROM_NODE
does not change in the recursive invocation, fixing an infinite loop
in the ()\1*\1* regex.
(sift_states_backward): Fix function comment.
* posix/regcomp.c (calc_epsdest): Add an assertion.

2003-10-06  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Mon, 6 Oct 2003 21:21:58 +0000 (21:21 +0000)]
Update.

* manual/examples/testopt.c: Fix warnings.  Better error message
for missing -c argument.
Patch mostly by Gitonga Marete <bgmarete@comcast.net>.

21 years agoFix warnings. Better error message for missing -c argument.
Ulrich Drepper [Mon, 6 Oct 2003 21:20:39 +0000 (21:20 +0000)]
Fix warnings.  Better error message for missing -c argument.

21 years agofix file names
Roland McGrath [Mon, 6 Oct 2003 20:52:43 +0000 (20:52 +0000)]
fix file names

* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 6 Oct 2003 17:48:42 +0000 (17:48 +0000)]
Update.

2003-10-06  Ulrich Drepper  <drepper@redhat.com>

* timezone/asia: Update from tzdata2003d.
* australasia: Likewise.
* backward: Likewise.
* europe: Likewise.
* iso3166.tab: Likewise.
* northamerica: Likewise.
* southamerica: Likewise.
* zone.tab: Likewise.

modified after comments from Ulrich Drepper.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Oct 2003 19:33:05 +0000 (19:33 +0000)]
Update.

2003-10-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/backtrace.c: New file.
* sysdeps/x86_64/backtrace.c: New file.
* sysdeps/generic/unwind.h (_Unwind_Trace_Fn): New type.
(_Unwind_Backtrace): New prototype.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Oct 2003 20:29:57 +0000 (20:29 +0000)]
Update.

2003-10-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/elf/bsd-setjmp.S: Use linkonce section for PIC stub.
* sysdeps/i386/elf/setjmp.S: Likewise.

21 years ago(__pthread_once): Check __sigsetjmp return value.
Ulrich Drepper [Fri, 3 Oct 2003 19:49:23 +0000 (19:49 +0000)]
(__pthread_once): Check __sigsetjmp return value.

21 years ago* argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].
Roland McGrath [Fri, 3 Oct 2003 00:44:51 +0000 (00:44 +0000)]
* argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].

* argp/argp-namefrob.h
[_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]
(__argp_short_program_name): Don't declare fn, define it as a macro.

21 years ago2003-10-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 3 Oct 2003 00:44:39 +0000 (00:44 +0000)]
2003-10-02  Roland McGrath  <roland@redhat.com>

* argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].
* argp/argp-namefrob.h
[_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]
(__argp_short_program_name): Don't declare fn, define it as a macro.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 22:55:10 +0000 (22:55 +0000)]
Update.

2003-08-22  Simon Josefsson  <jas@extundo.com>

* argp/argp-fmtstream.h [!__attribute__]: Define to nothing.

* argp/argp-help.c: Don't include malloc.h, some platforms
complain and it doesn't appear to be used.
[!_LIBC && HAVE_STRERROR_R && !HAVE_DECL_STRERROR_R]: Declare
strerror_r.
[!_LIBC && !HAVE_STRERROR_R && !HAVE_DECL_STRERROR]: Declare
strerror.
(hol_entry_long_iterate): Change __attribute to __attribute__.
(_help, __argp_error, __argp_failure) [!_LIBC && (HAVE_FLOCKFILE
&& HAVE_FUNLOCKFILE)]: Protect call to flockfile and funlockfile.
(__argp_basename) [!_LIBC]: New. Taken from LSH, by Niels Möller,
modifed after comments from Ulrich Drepper.
(__argp_short_program_name): Ditto.
(__argp_state_help, __argp_error, __argp_failure): Use it.
(__argp_failure): Use strerror when necessary.

* argp/argp-namefrob.h (__flockfile, __funlockfile, __mempcpy)
(__strchrnul, __strerror_r, __strndup) [!_LIBC]: Remove __-prefix.
(clearerr_unlocked, feof_unlocked, ferror_unlocked)
(fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked)
(fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked)
(putc_unlocked, putchar_unlocked) [!_LIBC && !HAVE_DECL_*]: Map to
non-unlocked functions.
[!_LIBC]: Add prototypes for __argp_basename and
__argp_short_program_name.

* argp/argp-parse.c (argp_default_parser): Only use
program_invocation{_short,}_name if declared.
(parser_init): Use __argp_short_program_name.

* argp/argp-xinl.c [_LIBC || HAVE_FEATURES_H]: Add CPP check for
'#include features.h'.

* argp/argp.h [!__attribute__]: Define to nothing.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 22:41:11 +0000 (22:41 +0000)]
Update.

2003-09-26  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (parse_sub_exp): Pass RE_CARET_ANCHORS_HERE
for the first token in a subexpression as well.

2003-10-02  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (peek_token): Add 2003-09-20 changes for anchor
handling again.
(parse_reg_exp): Likewise.
* posix/regex.h (RE_CARET_ANCHORS_HERE): Define.

* posix/bug-regex11.c (tests): Add new tests.
* posix/bug-regex12.c (tests): Add new test.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 18:58:31 +0000 (18:58 +0000)]
Update.

2003-10-01  Thorsten Kukuk  <kukuk@suse.de>

* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
variables only used if TLS_DTV_AT_TP is defined into the #if branch.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 18:56:20 +0000 (18:56 +0000)]
Update.

2003-10-02  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from
        the old thread-m.h header too.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 17:32:59 +0000 (17:32 +0000)]
Update.

2003-10-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix saving and
restoring of the old cancellation type.

* sysdeps/pthread/malloc-machine.h: New file

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 15:37:21 +0000 (15:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Go
back to 131027 since this is what the kernel enforces.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 09:36:32 +0000 (09:36 +0000)]
Update.

2003-10-02  Ulrich Drepper  <drepper@redhat.com>

* inet/getnameinfo.c: Move domain out of nrl_domainname scope and
define it with libc_freeres_ptr.

21 years agoUpdate.
Ulrich Drepper [Wed, 1 Oct 2003 07:21:38 +0000 (07:21 +0000)]
Update.

* SUPPORTED (SUPPORTED-LOCALES): Add uz_UZ@cyrillic.UTF-8.

21 years agoUpdate.
Ulrich Drepper [Wed, 1 Oct 2003 07:19:56 +0000 (07:19 +0000)]
Update.

2003-10-01  Ulrich Drepper  <drepper@redhat.com>

* locales/uz_UZ: New version by Mashrab Kuvatov.
* locales/uz_UZ@cyrillic: New file.  Patch by Mashrab Kuvatov.

21 years agoMostly replaced.
Ulrich Drepper [Wed, 1 Oct 2003 07:18:18 +0000 (07:18 +0000)]
Mostly replaced.

21 years ago* elf/rtld.c (dl_main): Add cast in last change.
Roland McGrath [Wed, 1 Oct 2003 07:15:10 +0000 (07:15 +0000)]
* elf/rtld.c (dl_main): Add cast in last change.

21 years ago* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove
Roland McGrath [Wed, 1 Oct 2003 07:00:03 +0000 (07:00 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove

"#if 0" surrounding most of contents.
(SYSCALL_ERROR_LABEL): Define.
(__SYSCALL_CLOBBERS): Add $10.
(internal_syscall7): Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.

21 years agoformatting fix
Roland McGrath [Wed, 1 Oct 2003 06:51:59 +0000 (06:51 +0000)]
formatting fix

2003-09-27  Wolfram Gloger  <wg@malloc.de>

* sysdeps/pthread/malloc-machine.h: New file.

21 years agoUpdate
Ulrich Drepper [Wed, 1 Oct 2003 06:27:22 +0000 (06:27 +0000)]
Update

2003-09-30  Jakub Jelinek  <jakub@redhat.com>
* sysdeps/pthread/malloc-machine.h: Remove misleading comment.

2003-09-27  Wolfram Gloger  <wg@malloc.de>

21 years agoUpdate.
Ulrich Drepper [Wed, 1 Oct 2003 06:25:58 +0000 (06:25 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Tue, 30 Sep 2003 20:37:46 +0000 (20:37 +0000)]
Update.

2003-09-30  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Also set l_map_start.

2003-09-30  Daniel Jacobowitz  <drow@mvista.com>

* elf/rtld.c (dl_main): Set l_libname and l_name for the sysinfo DSO
to work around kernel problem.

21 years agoUpdate.
Ulrich Drepper [Tue, 30 Sep 2003 02:15:31 +0000 (02:15 +0000)]
Update.

* sysdeps/pthread/malloc-machine.h: New file.

2003-09-27  Wolfram Gloger  <wg@malloc.de>

21 years agoUpdate.
Ulrich Drepper [Tue, 30 Sep 2003 02:10:33 +0000 (02:10 +0000)]
Update.

2003-09-27  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c: Include <malloc-machine.h> earlier instead of
"thread-m.h", so that default parameters can be overridden in a
system-specific malloc-machine.h.  Remove extra ; from extern "C"
closing brace.
* sysdeps/generic/malloc-machine.h: New file.
* sysdeps/mach/hurd/malloc-machine.h: New file.
* malloc/thread-m.h: Removed.
* malloc/Makefile: Remove CFLAGS-malloc.c parameter addition, it
is in sysdeps/generic/malloc-machine.h now.

* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
variables only used if TLS_TCB_AT_TP is defined into the #if
branch.

21 years agoUpdate.
Ulrich Drepper [Mon, 29 Sep 2003 22:23:14 +0000 (22:23 +0000)]
Update.

2003-09-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as
well to cover using long long in C90.

21 years agoUpdate.
Ulrich Drepper [Mon, 29 Sep 2003 21:57:16 +0000 (21:57 +0000)]
Update.

2003-09-28  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop):
Redefine and use __libc_cleanup_region_end instead.

2003-09-29  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Use __inline and
fix prototypes for picky C++ compilers.

21 years agoUpdate.
Ulrich Drepper [Sat, 27 Sep 2003 17:02:41 +0000 (17:02 +0000)]
Update.

2003-09-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ustat.c (ustat): Set errno to EINVAL if
the device ID is invalid and return -1.
* sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 26 Sep 2003 08:45:18 +0000 (08:45 +0000)]
Update.

2003-09-26  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/getcontext.S: Pass fourth argument to
rt_sigprocmask system call.

21 years agoPass fourth argument to rt_sigprocmask system call.
Ulrich Drepper [Fri, 26 Sep 2003 08:41:51 +0000 (08:41 +0000)]
Pass fourth argument to rt_sigprocmask system call.