kopensolaris-gnu/glibc.git
16 years ago2003-10-31 Roland McGrath <roland@redhat.com>
roland [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.

16 years agoUpdate.
drepper [Thu, 30 Oct 2003 02:14:20 +0000 (02:14 +0000)]
Update.

16 years agoUpdate from translation team.
drepper [Thu, 30 Oct 2003 02:12:58 +0000 (02:12 +0000)]
Update from translation team.

16 years agoUpdate.
drepper [Mon, 27 Oct 2003 20:09:12 +0000 (20:09 +0000)]
Update.

16 years ago(map_doit): Pass __RTLD_OPENEXEC in last parameter to _dl_map_object.
drepper [Mon, 27 Oct 2003 20:08:32 +0000 (20:08 +0000)]
(map_doit): Pass __RTLD_OPENEXEC in last parameter to _dl_map_object.

16 years agoUpdate.
drepper [Mon, 27 Oct 2003 09:18:17 +0000 (09:18 +0000)]
Update.

16 years ago(load_shobj): Use l_map_start not l_addr to locate ELF header.
drepper [Mon, 27 Oct 2003 09:17:14 +0000 (09:17 +0000)]
(load_shobj): Use l_map_start not l_addr to locate ELF header.

16 years agoUpdate.
drepper [Mon, 27 Oct 2003 08:44:53 +0000 (08:44 +0000)]
Update.

16 years ago(__validuser2_sa): Remove unnecessary code to skip rest of line. We
drepper [Mon, 27 Oct 2003 08:14:02 +0000 (08:14 +0000)]
(__validuser2_sa): Remove unnecessary code to skip rest of line.  We
use getline which means this cannot happen.

16 years agoUpdate.
drepper [Mon, 27 Oct 2003 04:05:04 +0000 (04:05 +0000)]
Update.

16 years agoAdd rules to build and run tst-statvfs.
drepper [Mon, 27 Oct 2003 04:03:44 +0000 (04:03 +0000)]
Add rules to build and run tst-statvfs.

16 years agoTest of statvfs.
drepper [Mon, 27 Oct 2003 04:03:23 +0000 (04:03 +0000)]
Test of statvfs.

16 years ago(__internal_statvfs): Avoid infinite loops in case the mounts file is hosed.
drepper [Mon, 27 Oct 2003 03:58:45 +0000 (03:58 +0000)]
(__internal_statvfs): Avoid infinite loops in case the mounts file is hosed.

16 years agoUpdate.
drepper [Mon, 27 Oct 2003 01:36:12 +0000 (01:36 +0000)]
Update.

16 years agoAdd test for [:punct:] not matching leading period.
drepper [Mon, 27 Oct 2003 01:35:23 +0000 (01:35 +0000)]
Add test for [:punct:] not matching leading period.

16 years ago(_dl_map_object_from_fd): Don't allow loading executables unless
drepper [Mon, 27 Oct 2003 01:29:48 +0000 (01:29 +0000)]
(_dl_map_object_from_fd): Don't allow loading executables unless
__RTLD_OPENEXEC flag is present.

16 years ago(dl_main): Pass __RTLD_OPENEXEC flag to _dl_map_object when loading
drepper [Mon, 27 Oct 2003 01:29:16 +0000 (01:29 +0000)]
(dl_main): Pass __RTLD_OPENEXEC flag to _dl_map_object when loading
the executable.

16 years ago(__RTLD_OPENEXEC): Define.
drepper [Mon, 27 Oct 2003 01:28:44 +0000 (01:28 +0000)]
(__RTLD_OPENEXEC): Define.

16 years agoUpdate.
drepper [Sun, 26 Oct 2003 20:47:33 +0000 (20:47 +0000)]
Update.

16 years agoAdd tests for GLOB_BRACE and escaping.
drepper [Sun, 26 Oct 2003 20:46:38 +0000 (20:46 +0000)]
Add tests for GLOB_BRACE and escaping.

16 years ago(glob): Handle GLOB_BRACE and escaping correctly.
drepper [Sun, 26 Oct 2003 20:46:17 +0000 (20:46 +0000)]
(glob): Handle GLOB_BRACE and escaping correctly.

16 years agoPrevent buffer overrun introduced in last change.
drepper [Sun, 26 Oct 2003 20:44:25 +0000 (20:44 +0000)]
Prevent buffer overrun introduced in last change.

16 years agoUpdate.
drepper [Sun, 26 Oct 2003 08:34:38 +0000 (08:34 +0000)]
Update.

16 years ago(_nss_dns_gethostbyaddr_r): Default reverse lookup format for IPv6
drepper [Sun, 26 Oct 2003 08:33:27 +0000 (08:33 +0000)]
(_nss_dns_gethostbyaddr_r): Default reverse lookup format for IPv6
addresses is using bitfields and .ip6.arpa ending.

16 years agoImplement encoding and decoding bitfields in hex format.
drepper [Sun, 26 Oct 2003 08:32:37 +0000 (08:32 +0000)]
Implement encoding and decoding bitfields in hex format.

16 years agoUpdate.
drepper [Fri, 24 Oct 2003 03:26:33 +0000 (03:26 +0000)]
Update.

16 years ago(show_info): Fix printing word values on 64-bit big-endian architectures.
drepper [Fri, 24 Oct 2003 03:23:23 +0000 (03:23 +0000)]
(show_info): Fix printing word values on 64-bit big-endian architectures.

16 years ago(__hash_string): Zero-extend each char from the string; the old code
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.

16 years ago.
roland [Wed, 22 Oct 2003 21:30:08 +0000 (21:30 +0000)]
.

16 years ago2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
roland [Wed, 22 Oct 2003 21:30:02 +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.

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

16 years ago.
roland [Wed, 22 Oct 2003 07:10:00 +0000 (07:10 +0000)]
.

16 years ago2003-10-15 Roland McGrath <roland@redhat.com>
roland [Wed, 22 Oct 2003 07:09:41 +0000 (07:09 +0000)]
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.

16 years ago2003-10-18 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Wed, 22 Oct 2003 07:09:31 +0000 (07:09 +0000)]
2003-10-18  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.

16 years ago.
roland [Thu, 16 Oct 2003 01:38:30 +0000 (01:38 +0000)]
.

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

16 years ago.
roland [Wed, 15 Oct 2003 19:34:04 +0000 (19:34 +0000)]
.

16 years ago2003-10-15 Roland McGrath <roland@redhat.com>
roland [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.

16 years agoUpdate.
drepper [Wed, 15 Oct 2003 06:24:26 +0000 (06:24 +0000)]
Update.

16 years ago(print_statistics): Print also number of relative relocations.
drepper [Wed, 15 Oct 2003 06:23:26 +0000 (06:23 +0000)]
(print_statistics): Print also number of relative relocations.

16 years agoUpdate.
drepper [Wed, 15 Oct 2003 05:54:57 +0000 (05:54 +0000)]
Update.

16 years ago(__pthread_self_stack): _STACK_GROWS_UP case added.
drepper [Wed, 15 Oct 2003 05:53:44 +0000 (05:53 +0000)]
(__pthread_self_stack): _STACK_GROWS_UP case added.
(__pthread_find_self): Likewise.

16 years ago(thread_segment): _STACK_GROWS_UP case added.
drepper [Wed, 15 Oct 2003 05:53:06 +0000 (05:53 +0000)]
(thread_segment): _STACK_GROWS_UP case added.

16 years agoUpdate.
drepper [Wed, 15 Oct 2003 05:47:36 +0000 (05:47 +0000)]
Update.

16 years agoDefine PSEUDO_ERRVAL, SYSCALL_ERROR_LABEL under all conditions,
drepper [Wed, 15 Oct 2003 05:46:00 +0000 (05:46 +0000)]
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.

16 years ago(syscall): Cleanup asm statment.
drepper [Wed, 15 Oct 2003 05:45:16 +0000 (05:45 +0000)]
(syscall): Cleanup asm statment.

16 years agoUndef JUMPTARGET before use.
drepper [Wed, 15 Oct 2003 05:31:42 +0000 (05:31 +0000)]
Undef JUMPTARGET before use.

16 years agoUpdate.
drepper [Wed, 15 Oct 2003 05:29:36 +0000 (05:29 +0000)]
Update.

16 years agomalloc definitions for HP/PA.
drepper [Wed, 15 Oct 2003 04:40:10 +0000 (04:40 +0000)]
malloc definitions for HP/PA.

16 years ago(DO_CALL): Add SYSCALL_INST_PAD after trapa instruction.
drepper [Wed, 15 Oct 2003 04:36:32 +0000 (04:36 +0000)]
(DO_CALL): Add SYSCALL_INST_PAD after trapa instruction.

16 years ago(calc_epsdest): Add an assertion.
drepper [Wed, 15 Oct 2003 04:33:01 +0000 (04:33 +0000)]
(calc_epsdest): Add an assertion.

16 years agoUpdate.
drepper [Sun, 12 Oct 2003 23:05:45 +0000 (23:05 +0000)]
Update.

16 years ago(PSEUDO): Also defined symbol for entry point to avoid cancellation.
drepper [Sun, 12 Oct 2003 23:04:14 +0000 (23:04 +0000)]
(PSEUDO): Also defined symbol for entry point to avoid cancellation.

16 years agoAdjust for new mutex implementation.
drepper [Sun, 12 Oct 2003 23:04:00 +0000 (23:04 +0000)]
Adjust for new mutex implementation.

16 years agoSupport for not-cancelable syscalls.
drepper [Sun, 12 Oct 2003 23:02:26 +0000 (23:02 +0000)]
Support for not-cancelable syscalls.

16 years agoNot needed anymore.
drepper [Sun, 12 Oct 2003 23:01:32 +0000 (23:01 +0000)]
Not needed anymore.

16 years agoRewrite mutex locking.
drepper [Sun, 12 Oct 2003 23:00:51 +0000 (23:00 +0000)]
Rewrite mutex locking.
Merge bits from lowlevelmutex.S we still need.

16 years agoCompletely revamp the locking macros. No distinction between normal and mutex
drepper [Sun, 12 Oct 2003 23:00:38 +0000 (23:00 +0000)]
Completely revamp the locking macros.  No distinction between normal and mutex
locking anymore.

16 years agoUpdate.
drepper [Sun, 12 Oct 2003 22:58:09 +0000 (22:58 +0000)]
Update.

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

16 years ago.
roland [Sat, 11 Oct 2003 01:29:07 +0000 (01:29 +0000)]
.

16 years ago2003-10-10 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Sat, 11 Oct 2003 01:28:59 +0000 (01:28 +0000)]
2003-10-10  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.

16 years ago.
roland [Sat, 11 Oct 2003 01:28:20 +0000 (01:28 +0000)]
.

16 years ago2003-10-10 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Sat, 11 Oct 2003 01:28:08 +0000 (01:28 +0000)]
2003-10-10  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: New file.

16 years ago.
roland [Thu, 9 Oct 2003 22:34:22 +0000 (22:34 +0000)]
.

16 years ago2003-10-09 Roland McGrath <roland@redhat.com>
roland [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.

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

16 years ago(_dl_important_hwcaps): Don't generate two identical copies of strings.
drepper [Wed, 8 Oct 2003 21:11:09 +0000 (21:11 +0000)]
(_dl_important_hwcaps): Don't generate two identical copies of strings.

16 years agoUpdate.
drepper [Tue, 7 Oct 2003 18:50:07 +0000 (18:50 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 7 Oct 2003 18:43:16 +0000 (18:43 +0000)]
Update.

16 years agoBackout 2003-10-02 changes.
drepper [Tue, 7 Oct 2003 18:42:51 +0000 (18:42 +0000)]
Backout 2003-10-02 changes.
(SAVE_OLDTYPE_0): Fix a typo.

16 years agoThe test is correct.
drepper [Mon, 6 Oct 2003 23:44:51 +0000 (23:44 +0000)]
The test is correct.

16 years agoUpdate.
drepper [Mon, 6 Oct 2003 23:44:15 +0000 (23:44 +0000)]
Update.

16 years agoAdd some more tests which fail so far. Disable them.
drepper [Mon, 6 Oct 2003 23:43:20 +0000 (23:43 +0000)]
Add some more tests which fail so far.  Disable them.

16 years ago(check_dst_limits_calc_pos): Simplify some nested conditionals. Replace if's
drepper [Mon, 6 Oct 2003 21:36:53 +0000 (21:36 +0000)]
(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.

16 years agoAdd more backreference-related test cases.
drepper [Mon, 6 Oct 2003 21:36:03 +0000 (21:36 +0000)]
Add more backreference-related test cases.
(main): Show the failing regex in the error messages.

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

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

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

16 years agoUpdate.
drepper [Mon, 6 Oct 2003 17:48:42 +0000 (17:48 +0000)]
Update.

16 years agoUpdate from tzdata2003d.
drepper [Mon, 6 Oct 2003 17:46:22 +0000 (17:46 +0000)]
Update from tzdata2003d.

16 years agoUpdate.
drepper [Sun, 5 Oct 2003 19:33:05 +0000 (19:33 +0000)]
Update.

16 years ago(_Unwind_Trace_Fn): New type.
drepper [Sun, 5 Oct 2003 19:31:37 +0000 (19:31 +0000)]
(_Unwind_Trace_Fn): New type.
(_Unwind_Backtrace): New prototype.

16 years agoBacktrace function for x86-64.
drepper [Sun, 5 Oct 2003 19:30:25 +0000 (19:30 +0000)]
Backtrace function for x86-64.

16 years agoBacktrace function for ia64.
drepper [Sun, 5 Oct 2003 19:28:39 +0000 (19:28 +0000)]
Backtrace function for ia64.

16 years agoUpdate.
drepper [Fri, 3 Oct 2003 20:29:57 +0000 (20:29 +0000)]
Update.

16 years agoUse linkonce section for PIC stub.
drepper [Fri, 3 Oct 2003 20:29:03 +0000 (20:29 +0000)]
Use linkonce section for PIC stub.

16 years agoUse linkonce section for PIC stub.
drepper [Fri, 3 Oct 2003 20:25:46 +0000 (20:25 +0000)]
Use linkonce section for PIC stub.

16 years agoUpdate.
drepper [Fri, 3 Oct 2003 19:50:31 +0000 (19:50 +0000)]
Update.

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

16 years ago.
roland [Fri, 3 Oct 2003 00:44:51 +0000 (00:44 +0000)]
.

16 years ago2003-10-02 Roland McGrath <roland@redhat.com>
roland [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.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 22:55:10 +0000 (22:55 +0000)]
Update.

16 years ago[!__attribute__]: Define to nothing.
drepper [Thu, 2 Oct 2003 22:54:33 +0000 (22:54 +0000)]
[!__attribute__]: Define to nothing.

16 years ago[_LIBC || HAVE_FEATURES_H]: Add CPP check for '#include features.h'.
drepper [Thu, 2 Oct 2003 22:53:55 +0000 (22:53 +0000)]
[_LIBC || HAVE_FEATURES_H]: Add CPP check for '#include features.h'.

16 years ago(argp_default_parser): Only use
drepper [Thu, 2 Oct 2003 22:53:45 +0000 (22:53 +0000)]
(argp_default_parser): Only use
program_invocation{_short,}_name if declared.
(parser_init): Use __argp_short_program_name.

16 years ago(__flockfile, __funlockfile, __mempcpy)
drepper [Thu, 2 Oct 2003 22:53:31 +0000 (22:53 +0000)]
(__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.

16 years agoDon't include malloc.h, some platforms
drepper [Thu, 2 Oct 2003 22:53:15 +0000 (22:53 +0000)]
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.

16 years ago[!__attribute__]: Define to nothing.
drepper [Thu, 2 Oct 2003 22:52:50 +0000 (22:52 +0000)]
[!__attribute__]: Define to nothing.

16 years agoUpdate.
drepper [Thu, 2 Oct 2003 22:41:11 +0000 (22:41 +0000)]
Update.