Andreas Jaeger [Wed, 21 Nov 2001 12:22:05 +0000 (12:22 +0000)]
Update.
2001-11-21 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
* sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
sys/debugreg.h
Andreas Jaeger [Mon, 19 Nov 2001 10:12:27 +0000 (10:12 +0000)]
Update.
2001-11-15 Andreas Jaeger <aj@suse.de>
* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
compilers that support it.
* posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* stdlib/stdlib.h: Likewise.
Andreas Jaeger [Mon, 19 Nov 2001 10:12:15 +0000 (10:12 +0000)]
* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
compilers that support it.
* posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* stdlib/stdlib.h: Likewise.
Ulrich Drepper [Sat, 17 Nov 2001 12:05:25 +0000 (12:05 +0000)]
Update.
2001-11-17 Ulrich Drepper <drepper@redhat.com>
* posix/regex.c (byte_re_match_2_internal): For gcc replace switch
statement with gotos.
Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
2001-11-16 Stephen L Moshier <moshier@mediaone.net>
Ulrich Drepper [Sat, 17 Nov 2001 12:03:29 +0000 (12:03 +0000)]
(byte_re_match_2_internal): For gcc replace switch statement with gotos.
Andreas Jaeger [Fri, 16 Nov 2001 20:19:46 +0000 (20:19 +0000)]
Update.
2001-11-16 Stephen L Moshier <moshier@mediaone.net>
* sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
Andreas Jaeger [Fri, 16 Nov 2001 20:19:31 +0000 (20:19 +0000)]
(__erfcl): Fix K&R header.
Ulrich Drepper [Fri, 16 Nov 2001 01:43:09 +0000 (01:43 +0000)]
Update.
2001-11-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
Ulrich Drepper [Fri, 16 Nov 2001 01:27:24 +0000 (01:27 +0000)]
Update.
2001-10-02 Jakub Jelinek <jakub@redhat.com>
H.J. Lu <hjl@gnu.org>
* configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
if gcc supports this flag.
(EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
(gcc3): Allow glibc to be compiled with gcc 3.x.
* config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
* config.make.in (static-libgcc, unwind-find-fde): Add.
* Makerules (build-shlib-helper, build-module-helper): Use it.
* scripts/versions.awk: Make sure GLIBC_ versions come first.
* elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
necessary.
(_fini): Call __deregister_frame_info_bases if
__register_frame_info_bases was used to register.
* elf/Versions (__register_frame_info, __deregister_frame_info): Add
for GLIBC_2.0.
(__register_frame_info_bases, __register_frame_info_table_bases,
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
* elf/Makefile (routines): Add unwind-dw2-fde.
(shared-only-routines): Add unwind-dw2-fde.
* sysdeps/alpha/gccframe.h: New file.
* sysdeps/arm/gccframe.h: New file.
* sysdeps/generic/framestate.c: New file.
* sysdeps/generic/dwarf2.h: New file.
* sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
* sysdeps/generic/unwind-dw2-fde.c: New file.
* sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
* sysdeps/generic/unwind-dw2-fde.h: New file.
* sysdeps/generic/unwind-dw2.c: New file.
* sysdeps/generic/unwind-pe.h: New file.
* sysdeps/generic/unwind.h: New file.
* sysdeps/hppa/gccframe.h: New file.
* sysdeps/i386/gccframe.h: New file.
* sysdeps/m68k/gccframe.h: New file.
* sysdeps/mips/gccframe.h: New file.
* sysdeps/powerpc/gccframe.h: New file.
* sysdeps/s390/gccframe.h: New file.
* sysdeps/sh/gccframe.h: New file.
* sysdeps/sparc/gccframe.h: New file.
* sysdeps/vax/gccframe.h: New file.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
Set on all architectures except ia64.
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
for i386.
* sysdeps/mach/hurd/i386/Versions (__register_frame_info,
__deregister_frame_info): Move to elf/Versions.
* sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
* sysdeps/unix/sysv/linux/mips/Versions: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
* sysdeps/generic/strnlen.c: New file.
Ulrich Drepper [Thu, 15 Nov 2001 22:11:41 +0000 (22:11 +0000)]
Update.
2001-11-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/Implies: Removed.
* sysdeps/i386/i686/Versions: New file.
Ulrich Drepper [Thu, 15 Nov 2001 18:27:28 +0000 (18:27 +0000)]
Update.
2001-11-15 Jeff Law <law@redhat.com>
* posix/regex.c (uintptr_t): Do not provide a definition if the
system provided one.
Ulrich Drepper [Wed, 14 Nov 2001 08:49:20 +0000 (08:49 +0000)]
Update.
Roland McGrath [Tue, 13 Nov 2001 10:07:33 +0000 (10:07 +0000)]
* stdio-common/tmpfile.c: Moved to ...
* sysdeps/generic/tmpfile.c: ... here.
* sysdeps/mach/hurd/tmpfile.c: New file.
* hurd/fopenport.c (__fopenport): Renamed from fopenport.
[USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
(fopenport): Define as weak alias.
* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
* libio/libioP.h: ... to here.
Roland McGrath [Tue, 13 Nov 2001 10:06:27 +0000 (10:06 +0000)]
2001-11-13 Roland McGrath <roland@frob.com>
* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
* libio/libioP.h: ... to here.
Ulrich Drepper [Mon, 12 Nov 2001 21:04:45 +0000 (21:04 +0000)]
Update.
2001-11-12 Ulrich Drepper <drepper@redhat.com>
* elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
program header twice. Construct list with the needed information.
Ulrich Drepper [Sun, 11 Nov 2001 01:48:58 +0000 (01:48 +0000)]
Update.
* po/ca.po: Update from translation team.
Ulrich Drepper [Sat, 10 Nov 2001 22:47:40 +0000 (22:47 +0000)]
Update.
2001-11-10 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Remove use of
_dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
* sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.
Ulrich Drepper [Sat, 10 Nov 2001 22:43:10 +0000 (22:43 +0000)]
(_dl_map_object_from_fd): Remove use of _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
Andreas Jaeger [Sat, 10 Nov 2001 10:39:05 +0000 (10:39 +0000)]
Update.
2001-11-10 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
* sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
Contributed by Stephen L Moshier <moshier@mediaone.net>.
Andreas Jaeger [Sat, 10 Nov 2001 10:38:27 +0000 (10:38 +0000)]
128-bit long double implementation of e_log2.
Ulrich Drepper [Sat, 10 Nov 2001 06:00:37 +0000 (06:00 +0000)]
(is_dst): Pretty printing.
Ulrich Drepper [Sat, 10 Nov 2001 03:28:35 +0000 (03:28 +0000)]
Update.
2001-11-09 Ulrich Drepper <drepper@redhat.com>
* elf/dl-minimal.c (realloc): Handle NULL for first parameter
correctly.
* elf/dl-load.c (is_dst): New function.
(_dl_dst_count): Use is_dst to check for DST variable.
(_dl_dst_substitute): Likewise.
Ulrich Drepper [Sat, 10 Nov 2001 03:23:20 +0000 (03:23 +0000)]
(realloc): Handle NULL for first parameter correctly.
Roland McGrath [Sat, 10 Nov 2001 00:37:59 +0000 (00:37 +0000)]
Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
* NEWS: Mention it.
* sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
* sysdeps/mach/hurd/powerpc/init-first.c: New file.
* sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
* sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
* sysdeps/mach/hurd/powerpc/register-dump.h: New file.
* sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
* sysdeps/mach/hurd/powerpc/static-start.S: New file.
* sysdeps/mach/hurd/powerpc/trampoline.c: New file.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
* sysdeps/mach/hurd/powerpc/Dist: New file.
Roland McGrath [Sat, 10 Nov 2001 00:11:38 +0000 (00:11 +0000)]
* hurd/privports.c (__get_privileged_ports):
Only contact the proc server if necessary for this call.
Suggested by Neal H Walfield <neal@cs.uml.edu>.
Check error return for mach_port_mod_refs.
Roland McGrath [Sat, 10 Nov 2001 00:11:33 +0000 (00:11 +0000)]
2001-11-09 Roland McGrath <roland@frob.com>
* hurd/privports.c (__get_privileged_ports):
Only contact the proc server if necessary for this call.
Suggested by Neal H Walfield <neal@cs.uml.edu>.
Check error return for mach_port_mod_refs.
Ulrich Drepper [Fri, 9 Nov 2001 20:17:52 +0000 (20:17 +0000)]
Update.
* elf/dl-load.c (lose): Remove some unnecessary code. The new
object is always the last in the list.
(_dl_map_object_from_fd): Delete code to remove from object list
when DF_1_NOOPEN is seen. This is done in lose.
Ulrich Drepper [Fri, 9 Nov 2001 20:16:10 +0000 (20:16 +0000)]
(lose): Remove some unnecessary code. The new object is always the last in the list.
Andreas Schwab [Fri, 9 Nov 2001 19:58:14 +0000 (19:58 +0000)]
* sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
Andreas Schwab [Fri, 9 Nov 2001 19:57:55 +0000 (19:57 +0000)]
New file to fix RLIM_INFINITY.
Ulrich Drepper [Fri, 9 Nov 2001 19:32:36 +0000 (19:32 +0000)]
Update.
2001-11-09 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Delete code to remove
from object list when DF_1_NOOPEN is seen. This is done in lose.
Ulrich Drepper [Thu, 8 Nov 2001 22:32:38 +0000 (22:32 +0000)]
Update.
2001-11-08 Ulrich Drepper <drepper@redhat.com>
* elf/dl-object.c (_dl_new_object): Various small optimizations.
Ulrich Drepper [Thu, 8 Nov 2001 01:48:57 +0000 (01:48 +0000)]
Update.
* sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
HWCAP_CHECK macro code.
* elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
Now returns MAP_FAILED on error.
* elf/rtld.c: Adjust caller.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/ldsodefs.h: Adjust description.
Ulrich Drepper [Wed, 7 Nov 2001 23:21:00 +0000 (23:21 +0000)]
Update.
2001-11-07 Ulrich Drepper <drepper@redhat.com>
* elf/dl-version.c (match_symbol): Optimize error handling for size.
(_dl_check_map_versions): Likewise.
Ulrich Drepper [Wed, 7 Nov 2001 07:44:06 +0000 (07:44 +0000)]
Update.
2001-11-06 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Don't call
_dl_signal_error directly, always use lose. Set fd to -1 after
file is closed.
(lose): Don't call close if fd == -1.
Ulrich Drepper [Wed, 7 Nov 2001 07:21:22 +0000 (07:21 +0000)]
Update.
2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
* manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
Also fix typo @code {mbsinit} to @code{mbsinit}.
Ulrich Drepper [Wed, 7 Nov 2001 06:32:27 +0000 (06:32 +0000)]
Update.
* elf/dl-profile.c: Replace state variable with simple flag named
running. Remove commented-out code.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.
Ulrich Drepper [Wed, 7 Nov 2001 00:31:36 +0000 (00:31 +0000)]
Update.
2001-11-06 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (decompose_rpath): Optimize error handling for size.
(_dl_init_paths): Likewise.
(_dl_map_object_from_fd): Likewise.
Ulrich Drepper [Tue, 6 Nov 2001 21:08:49 +0000 (21:08 +0000)]
Update.
* sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
Ulrich Drepper [Tue, 6 Nov 2001 20:15:40 +0000 (20:15 +0000)]
(DL_DEBUG_HELP): New macro.
Roland McGrath [Tue, 6 Nov 2001 10:59:17 +0000 (10:59 +0000)]
* sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
Roland McGrath [Tue, 6 Nov 2001 10:57:14 +0000 (10:57 +0000)]
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
sysdeps/powerpc/elf/sysdep.h.
Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
Roland McGrath [Tue, 6 Nov 2001 10:56:56 +0000 (10:56 +0000)]
2001-11-06 Roland McGrath <roland@frob.com>
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
sysdeps/powerpc/elf/sysdep.h.
Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
Ulrich Drepper [Tue, 6 Nov 2001 03:57:31 +0000 (03:57 +0000)]
Update.
(process_envvars): Some more optimizations.
Ulrich Drepper [Tue, 6 Nov 2001 03:53:40 +0000 (03:53 +0000)]
Update.
* elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
speed.
(process_envvars): More some optimizations.
Ulrich Drepper [Tue, 6 Nov 2001 00:16:32 +0000 (00:16 +0000)]
Update.
* elf/elf.h: Add dynamic tag definitions for prelinking.
* elf/rtld.c (process_envvars): Avoid using array of string pointers.
Rewrite code to remove environment varables for SUID binaries.
Small optimization in LD_PROFILE handling.
* sysdeps/generic/unsecvars.h: Adjust format for process_envvars
changes.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
* sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
Ulrich Drepper [Mon, 5 Nov 2001 22:13:46 +0000 (22:13 +0000)]
Update.
* elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
strings. Change type of second parameter.
* sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
for last change.
Ulrich Drepper [Mon, 5 Nov 2001 21:02:41 +0000 (21:02 +0000)]
Update.
2001-11-05 Ulrich Drepper <drepper@redhat.com>
* io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
* manual/string.texi: Fix typos.
* manual/examples/argp-ex2.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
Ulrich Drepper [Mon, 5 Nov 2001 20:55:42 +0000 (20:55 +0000)]
Fix typos.
Roland McGrath [Mon, 5 Nov 2001 09:30:32 +0000 (09:30 +0000)]
* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
the more-specific unix/sysv/linux/powerpc file and breaks everything.
* sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
here, put under [__ELF__].
Roland McGrath [Mon, 5 Nov 2001 09:30:21 +0000 (09:30 +0000)]
2001-11-05 Roland McGrath <roland@frob.com>
* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
the more-specific unix/sysv/linux/powerpc file and breaks everything.
* sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
here, put under [__ELF__].
Ulrich Drepper [Mon, 5 Nov 2001 08:11:26 +0000 (08:11 +0000)]
Update.
2001-11-05 Ulrich Drepper <drepper@redhat.com>
* manual/charset.texi: Extensive editing work.
* manual/nss.texi: Likewise.
Changes by Dennis Grace <dgrace@us.ibm.com>.
Ulrich Drepper [Mon, 5 Nov 2001 08:04:39 +0000 (08:04 +0000)]
Editing.
Roland McGrath [Sun, 4 Nov 2001 10:31:47 +0000 (10:31 +0000)]
* hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
parameter to dir_mkfile.
Roland McGrath [Sun, 4 Nov 2001 10:31:13 +0000 (10:31 +0000)]
2001-11-04 Roland McGrath <roland@frob.com>
* hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
parameter to dir_mkfile.
Ulrich Drepper [Sat, 3 Nov 2001 09:05:11 +0000 (09:05 +0000)]
Update.
2001-11-02 Jakub Jelinek <jakub@redhat.com>
* string/bits/string2.h (__strndup): If n is smaller than len, set
len to n + 1.
* string/tester.c (test_strndup): New function.
(main): Call it.
* sunrpc/rpc_main.c: Optimize variable definitions a bit.
Ulrich Drepper [Fri, 2 Nov 2001 02:16:01 +0000 (02:16 +0000)]
Update.
* sunrpc/rpc_main.c: Optomize variable definitions a bit.
Ulrich Drepper [Fri, 2 Nov 2001 02:08:57 +0000 (02:08 +0000)]
Update.
* sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
* scripts/cpp: New file.
Ulrich Drepper [Thu, 1 Nov 2001 23:16:25 +0000 (23:16 +0000)]
Update.
2001-11-01 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
for rtld_search_dirs content. Minor optimizations.
Ulrich Drepper [Thu, 1 Nov 2001 04:46:27 +0000 (04:46 +0000)]
Update.
2001-10-31 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object): Make code a bit more compact by
avoiding unnecessary duplication.
2001-10-31 Jakub Jelinek <jakub@redhat.com>
* elf/dl-load.c (_dl_map_object): If library was found using
LD_LIBRARY_PATH, don't try RUNPATH list.
2001-10-29 Kevin Ryde <user42@zip.com.au>
Ulrich Drepper [Wed, 31 Oct 2001 21:48:48 +0000 (21:48 +0000)]
Update.
2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/register-dump (REGISTER_DUMP):
Correct second argument of register_dump call.
* sysdeps/unix/sysv/linux/s390/s390-64/register-dump (REGISTER_DUMP):
Likewise.
Ulrich Drepper [Wed, 31 Oct 2001 21:46:29 +0000 (21:46 +0000)]
(REGISTER_DUMP): Correct second argument of register_dump call.
Andreas Jaeger [Wed, 31 Oct 2001 12:53:01 +0000 (12:53 +0000)]
Removed Makefile since it's not needed anymore with current GCC.
2001-10-31 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/Makefile: Remove, we do not need it anymore.
Ulrich Drepper [Wed, 31 Oct 2001 09:32:37 +0000 (09:32 +0000)]
Update.
2001-10-31 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
modules.
* iconvdata/TESTS: Likewise.
* iconvdata/gconv-modules: Likewise.
* iconvdata/ibm1132.c: New file.
* iconvdata/ibm1132.h: New file.
* iconvdata/ibm1133.c: New file.
* iconvdata/ibm1133.h: New file.
* iconvdata/ibm1162.c: New file.
* iconvdata/ibm1162.h: New file.
* iconvdata/testdata/IBM1132: New file.
* iconvdata/testdata/IBM1132..UTF8: New file.
* iconvdata/testdata/IBM1133: New file.
* iconvdata/testdata/IBM1133..UTF8: New file.
* iconvdata/testdata/IBM1162: New file.
* iconvdata/testdata/IBM1162..UTF8: New file.
Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
* string/string.h: Fix typo in comment.
* wcsmbs/wchar.h: Likewise.
2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
* manual/getopt.texi (getopt_long, getopt_long_only): Include
const in type of longopts parameter.
* sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
* manual/stdio.texi (Integer Conversions): Corrections to sample printf
Ulrich Drepper [Wed, 31 Oct 2001 08:30:48 +0000 (08:30 +0000)]
(getopt_long, getopt_long_only): Include const in type of longopts parameter.
Andreas Jaeger [Mon, 29 Oct 2001 17:24:29 +0000 (17:24 +0000)]
Update.
2001-10-29 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal
functions.
Andreas Jaeger [Mon, 29 Oct 2001 15:56:34 +0000 (15:56 +0000)]
Update.
2001-10-29 Kevin Ryde <user42@zip.com.au>
* stdio.texi (Integer Conversions): Corrections to sample printf
output, clarify `#' behaviour on 0.
(Floating-Point Conversions): Clarify that %g only uses %e when
the exponent would be greater than 1.
Andreas Jaeger [Mon, 29 Oct 2001 15:56:29 +0000 (15:56 +0000)]
* stdio.texi (Integer Conversions): Corrections to sample printf
output, clarify `#' behaviour on 0.
(Floating-Point Conversions): Clarify that %g only uses %e when
the exponent would be greater than 1.
Roland McGrath [Mon, 29 Oct 2001 04:39:05 +0000 (04:39 +0000)]
Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
* sysdeps/mach/powerpc/machine-sp.h: New file.
* sysdeps/mach/powerpc/sysdep.h: New file.
* sysdeps/mach/powerpc/thread_state.h: New file.
* sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
* sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
expect to need the same thing on every platform.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
* sysdeps/generic/sys/ucontext.h: ... to replace this one.
Roland McGrath [Mon, 29 Oct 2001 02:19:33 +0000 (02:19 +0000)]
* sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
Move all these assembly-related definitions to ...
* sysdeps/powerpc/elf/sysdep.h: ... this new file.
* sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
by Peter Bruin <pjbruin@dds.nl>.
Roland McGrath [Sun, 28 Oct 2001 22:10:32 +0000 (22:10 +0000)]
* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
packing results for a `poll' call.
Roland McGrath [Sun, 28 Oct 2001 22:10:26 +0000 (22:10 +0000)]
2001-10-28 Roland McGrath <roland@frob.com>
* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
packing results for a `poll' call.
Ulrich Drepper [Sat, 27 Oct 2001 03:00:50 +0000 (03:00 +0000)]
Update.
* posix/tst-fnmatch.input: Add tests for - at beginning and end of
bracket expression.
* string/tst-strxfrm.c (test): Also test __strxfrm_l.
Ulrich Drepper [Sat, 27 Oct 2001 00:38:28 +0000 (00:38 +0000)]
Update.
* posix/fnmatch_loop.c: Recognize - at end of bracket expression
correctly.
Ulrich Drepper [Sat, 27 Oct 2001 00:23:28 +0000 (00:23 +0000)]
Update.
2001-10-26 Ulrich Drepper <drepper@redhat.com>
* string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
nrules value.
2001-10-24 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
Use __BEGIN_DECLS/__END_DECLS around prototypes.
* sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
2001-10-21 Jim Meyering <meyering@lucent.com>
* malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
* posix/getopt.c (_): Likewise.
* posix/regex.c (_): Likewise.
2001-10-26 Ulrich Drepper <drepper@redhat.com>
* resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
lookup not ip6.int.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
2001-10-19 Jakub Jelinek <jakub@redhat.com>
* misc/sys/cdefs.h (__attribute_used__): Define.
* elf/rtld.c (_dl_start): Add __attribute_used__.
* elf/dl-runtime.c (fixup, profile_fixup): Likewise.
Ulrich Drepper [Fri, 26 Oct 2001 23:35:32 +0000 (23:35 +0000)]
(__attribute_used__): Define.
Andreas Schwab [Thu, 25 Oct 2001 10:21:02 +0000 (10:21 +0000)]
*** empty log message ***
2001-10-25 Andreas Schwab <schwab@suse.de>
* stdlib/a64l.c: Expect least significant digit first.
* stdlib/l64a.c: Produce least significant digit first.
* stdlib/Makefile (tests): Add test-a64l.
* stdlib/test-a64l.c: New file.
Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
Andreas Schwab [Thu, 25 Oct 2001 10:20:40 +0000 (10:20 +0000)]
* stdlib/a64l.c: Expect least significant digit first.
* stdlib/l64a.c: Produce least significant digit first.
* stdlib/Makefile (tests): Add test-a64l.
* stdlib/test-a64l.c: New file.
Ulrich Drepper [Sun, 21 Oct 2001 17:34:56 +0000 (17:34 +0000)]
Update.
2001-10-21 Ulrich Drepper <drepper@redhat.com>
* po/sk.po: Update from translation team.
Ulrich Drepper [Fri, 19 Oct 2001 02:12:38 +0000 (02:12 +0000)]
Update.
2001-10-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/elf/start.S (_fp_hw): Define object type.
parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
close PR libc/2589.
Ulrich Drepper [Fri, 19 Oct 2001 02:11:06 +0000 (02:11 +0000)]
(_fp_hw): Define object type.
Andreas Schwab [Thu, 18 Oct 2001 11:46:36 +0000 (11:46 +0000)]
* math/libm-test.inc (print_ulps): Print ulp values rounded to
next whole number.
(print_function_ulps): Likewise.
(print_complex_function_ulps): Likewise.
(print_max_error): Likewise.
(print_complex_max_error): Likewise. Handle ignore_max_ulp.
Andreas Schwab [Tue, 16 Oct 2001 20:21:57 +0000 (20:21 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
implementation.
Andreas Schwab [Tue, 16 Oct 2001 14:20:44 +0000 (14:20 +0000)]
* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
BSD_SETJMP or BSD__SETJMP is defined, resp.
* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
a tail call to __sigsetjmp that would require extending the
caller's frame.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/m68k/bsd-setjmp.S: Deleted.
* sysdeps/m68k/bsd-_setjmp.S: Deleted.
Reported by Jes Sorensen <jes@trained-monkey.org>.
Andreas Schwab [Tue, 16 Oct 2001 14:20:17 +0000 (14:20 +0000)]
* sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
BSD_SETJMP or BSD__SETJMP is defined, resp.
* sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
a tail call to __sigsetjmp that would require extending the
caller's frame.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/m68k/bsd-setjmp.S: Deleted.
* sysdeps/m68k/bsd-_setjmp.S: Deleted.
Andreas Jaeger [Tue, 16 Oct 2001 11:05:14 +0000 (11:05 +0000)]
Update.
2001-10-16 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
parentheses.
Reported by David Byron <dbyron@porto.coactive.com>, close PR libc/2589.
2001-10-15 Ralf Baechle <ralf@gnu.org>
Andreas Jaeger [Tue, 16 Oct 2001 11:02:24 +0000 (11:02 +0000)]
Fix parentheses.
Ulrich Drepper [Mon, 15 Oct 2001 16:18:43 +0000 (16:18 +0000)]
Update.
2001-10-15 Ulrich Drepper <drepper@redhat.com>
* po/ca.po: New file. Contributed by the translation team.
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
a varargs prototype. Remove dependency from kernel header files.
Ulrich Drepper [Mon, 15 Oct 2001 16:17:36 +0000 (16:17 +0000)]
Catalon message catalog for glibc.
Andreas Jaeger [Mon, 15 Oct 2001 11:56:44 +0000 (11:56 +0000)]
Update.
2001-08-15 Ralf Baechle <ralf@gnu.org>
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype a
varargs prototype. Remove dependency from kernel header files.
* sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
__USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
Andreas Jaeger [Mon, 15 Oct 2001 11:55:20 +0000 (11:55 +0000)]
General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
Ulrich Drepper [Mon, 15 Oct 2001 03:32:58 +0000 (03:32 +0000)]
Update.
Ulrich Drepper [Sun, 14 Oct 2001 22:33:08 +0000 (22:33 +0000)]
Update.
2001-10-14 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
to generate hexadecimal identifier.
Patch by Jungshik Shin <jungshik.shin@yale.edu>.
2001-10-09 Stephen L Moshier <moshier@mediaone.net>
* sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
2001-10-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ieee754/ldbl-128/e_powl.c: New file.
* sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
Contributed by Stephen L Moshier <moshier@mediaone.net>.
* sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
* sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
* sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
* timezone/africa: Update from tzdata2001d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
* sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
Ulrich Drepper [Fri, 12 Oct 2001 07:59:07 +0000 (07:59 +0000)]
Update.
2001-10-12 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h (PT_TLS): New definition.
* sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
bits/errno.h
Ulrich Drepper [Thu, 11 Oct 2001 01:28:19 +0000 (01:28 +0000)]
(SHT_GNU_LIBLIST): Added.
Roland McGrath [Wed, 10 Oct 2001 20:11:04 +0000 (20:11 +0000)]
2001-10-10 Jeff Bailey <jbailey@nisa.net>
* sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
bits/errno.h
2001-10-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
Roland McGrath [Wed, 10 Oct 2001 20:10:51 +0000 (20:10 +0000)]
2001-10-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
Ulrich Drepper [Wed, 10 Oct 2001 18:44:33 +0000 (18:44 +0000)]
Update.
2001-10-10 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Add more ELFOSABI_* constants.
(sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
Ulrich Drepper [Sun, 7 Oct 2001 20:26:31 +0000 (20:26 +0000)]
Update.
2001-10-04 Ben Collins <bcollins@debian.org>
* sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
decleration of __need_wchar_t.
2001-10-03 Jakub Jelinek <jakub@redhat.com>
* string/bits/string2.h (__strsep_g): Add prototype.
(__strsep): Use it.
* string/Versions (__strsep): Remove.
* sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
2001-10-07 Ulrich Drepper <drepper@redhat.com>
* manua/llio.texi: Clarify file references added by mmap.
Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
Ulrich Drepper [Mon, 1 Oct 2001 00:14:14 +0000 (00:14 +0000)]
Update.
2001-09-29 Jes Sorensen <jes@trained-monkey.org>
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
Add sc_loadrs and sc_rbs_bas to match current kernel.
2001-09-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
2001-09-27 Jakub Jelinek <jakub@redhat.com>
* elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
object has been bumped because of relocation dependency, avoid
duplicates in l_scope.
(show_scope): Fix typos.
* elf/Makefile: Add rules to build and run reldep6.
* elf/reldep6.c: New file.
* elf/reldep6mod0.c: New file.
* elf/reldep6mod1.c: New file.
* elf/reldep6mod2.c: New file.
* elf/reldep6mod3.c: New file.
* elf/reldep6mod4.c: New file.
2001-09-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
sparc64_fixup_plt.
(sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
for non-lazy binding. Fix .plt[32768+] handling.
(elf_machine_plt_value): Don't add addend.
(elf_machine_rela): Call sparc64_fixup_plt instead of
elf_machine_fixup_plt.
(elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
dynamic linker at 0xfffff800XXXXXXXX.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.