Ulrich Drepper [Wed, 28 Jul 1999 22:39:04 +0000 (22:39 +0000)]
Update.
1999-07-28 Ulrich Drepper <drepper@cygnus.com>
* misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
to print.
* misc/efgcvt_r.c: Likewise.
* misc/qefgcvt.c: Likewise.
* misc/qefgcvt_r.c: Likewise.
* misc/tst-efgcvt.c: Remove one test which cannot reliably be run
anymore.
Ulrich Drepper [Wed, 28 Jul 1999 19:45:27 +0000 (19:45 +0000)]
Update.
1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/math.texi (FP Function Optimization): Mention drawbacks.
Ulrich Drepper [Wed, 28 Jul 1999 19:37:40 +0000 (19:37 +0000)]
Update.
1999-07-28 Ulrich Drepper <drepper@cygnus.com>
* stdlib/mblen.c: Use static state.
Reported by Bruno Haible <haible@ilog.fr>.
* stdlib/mbtowc.c: Reset state for s == NULL.
* stdlib/wctomb.c: Likewise.
Reported by Bruno Haible <haible@ilog.fr>.
* stdlib/mbstowcs.c: Do not use global state.
Reported by Bruno Haible <haible@ilog.fr>.
Ulrich Drepper [Wed, 28 Jul 1999 19:16:26 +0000 (19:16 +0000)]
Update.
1999-07-28 Andeas Schwab <schwab@suse.de>
* iconvdata/Makefile: Don't try to run iconv tests when cross
compiling.
Ulrich Drepper [Wed, 28 Jul 1999 18:57:42 +0000 (18:57 +0000)]
Remove COPYING*.
Roland McGrath [Wed, 28 Jul 1999 18:19:47 +0000 (18:19 +0000)]
1999-07-27 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
assembler code to switch stacks and call init1 outside this
function. Inside `init' the code was optimized away by gcc
2.95 since it was "clearly" unreachable.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Do something similar for the trampoline code.
Ulrich Drepper [Wed, 28 Jul 1999 03:27:45 +0000 (03:27 +0000)]
Update.
1999-07-27 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
for the hinted protocol.
* sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
Ulrich Drepper [Tue, 27 Jul 1999 07:14:15 +0000 (07:14 +0000)]
Update.
1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
Ulrich Drepper [Tue, 27 Jul 1999 05:53:25 +0000 (05:53 +0000)]
Update.
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
* elf/dl-lookup.c (_dl_setup_hash): Likewise.
* elf/dl-load.c (_dl_map_object): Likewise.
* elf/do-lookup.h (do_lookup*): Likewise.
* sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
* sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx
as uint64_t.
* elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
Ulrich Drepper [Tue, 27 Jul 1999 05:10:43 +0000 (05:10 +0000)]
Update.
* sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
* sysdeps/generic/getpgrp.c: Likewise.
* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
Patch by John Tobey <jtobey@banta-im.com>.
Ulrich Drepper [Tue, 27 Jul 1999 05:00:18 +0000 (05:00 +0000)]
Update.
1999-07-26 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/wait3.c: Help compiling in presence of
__transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
Ulrich Drepper [Tue, 27 Jul 1999 04:43:32 +0000 (04:43 +0000)]
Update.
* sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
as much as possible. Declare them using .register pseudo-op if they
are still used.
* sysdeps/sparc/sparc64/lshift.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memcmp.S: Likewise.
* sysdeps/sparc/sparc64/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/memset.S: Likewise.
* sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
* sysdeps/sparc/sparc64/rshift.S: Likewise.
* sysdeps/sparc/sparc64/stpcpy.S: Likewise.
* sysdeps/sparc/sparc64/stpncpy.S: Likewise.
* sysdeps/sparc/sparc64/strcat.S: Likewise.
* sysdeps/sparc/sparc64/strchr.S: Likewise.
* sysdeps/sparc/sparc64/strcmp.S: Likewise.
* sysdeps/sparc/sparc64/strcpy.S: Likewise.
* sysdeps/sparc/sparc64/strcspn.S: Likewise.
* sysdeps/sparc/sparc64/strlen.S: Likewise.
* sysdeps/sparc/sparc64/strncmp.S: Likewise.
* sysdeps/sparc/sparc64/strncpy.S: Likewise.
* sysdeps/sparc/sparc64/strpbrk.S: Likewise.
* sysdeps/sparc/sparc64/strspn.S: Likewise.
* sysdeps/sparc/sparc64/sub_n.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
Optimize trampoline code for .plt4-.plt32767.
Fix trampolines for .plt32768+.
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
Ulrich Drepper [Tue, 27 Jul 1999 02:07:01 +0000 (02:07 +0000)]
Update.
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
-mcpu=v8.
* sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
* sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
libc's private use (as assembly routine clobber it anyway).
1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* README.template (configurations): The crypt add-on has a new
ftp site.
* manual/install.texi (Installation): Likewise.
Ulrich Drepper [Tue, 27 Jul 1999 00:39:04 +0000 (00:39 +0000)]
Update.
* time/time.h: Add forward for struct sigevent. Unix98 maybe
requires to have a full definition but we wait for a bug report
based on the test suite.
Ulrich Drepper [Tue, 27 Jul 1999 00:24:04 +0000 (00:24 +0000)]
Update.
1999-07-26 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/clock_getres.c: New file.
* sysdeps/generic/clock_gettime.c: New file.
* sysdeps/generic/clock_settime.c: New file.
* sysdeps/generic/timer_create.c: New file.
* sysdeps/generic/timer_delete.c: New file.
* sysdeps/generic/timer_getoverr.c: New file.
* sysdeps/generic/timer_gettime.c: New file.
* sysdeps/generic/timer_settime.c: New file.
* sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
CLOCK_REALTIME, and TIMER_ABSTIME.
* sysdeps/mach/hurd/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
si_timer2.
* sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
* time/Makefile (routines): Add clock_getres, clock_gettime,
clock_setres, timer_create, timer_delete, timer_getoverr,
timer_gettime, and timer_settime.
* time/time.h: Define clockid_t, timer_t, and struct itimerspec for
POSIX.1b. Add prototypes for clock and timer functions.
Ulrich Drepper [Tue, 27 Jul 1999 00:14:58 +0000 (00:14 +0000)]
Stub implementation of clock_getres.
Roland McGrath [Mon, 26 Jul 1999 23:31:14 +0000 (23:31 +0000)]
1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
Roland McGrath [Mon, 26 Jul 1999 23:28:24 +0000 (23:28 +0000)]
1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
Ulrich Drepper [Mon, 26 Jul 1999 17:01:32 +0000 (17:01 +0000)]
Update.
* stdlib/wcstombs.c: Do not use global state.
Reported by Bruno Haible <haible@ilog.fr>.
Ulrich Drepper [Mon, 26 Jul 1999 16:48:22 +0000 (16:48 +0000)]
Update.
* wcsmbs/wctob.c: Avoid sign extension when returning character.
Reported by Bruno Haible <haible@ilog.fr>.
Ulrich Drepper [Mon, 26 Jul 1999 16:42:39 +0000 (16:42 +0000)]
Update.
1999-07-26 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
of wide characters to convert do it right and don't overestimate
by multiplying with MB_CUR_MAX.
Reported by Bruno Haible <haible@ilog.fr>.
Ulrich Drepper [Mon, 26 Jul 1999 16:06:32 +0000 (16:06 +0000)]
Update.
1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
* string/bits/string2.h (__strcpy_small): Avoid compile time warning.
(__stpcpy_small): Likewise.
Union has no __uc member but __c.
Ulrich Drepper [Mon, 26 Jul 1999 16:02:52 +0000 (16:02 +0000)]
Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32.
Andreas Schwab [Mon, 26 Jul 1999 08:28:05 +0000 (08:28 +0000)]
1999-07-26 Andreas Schwab <schwab@suse.de>
* sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
Andreas Schwab [Mon, 26 Jul 1999 08:27:39 +0000 (08:27 +0000)]
* sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
Ulrich Drepper [Mon, 26 Jul 1999 05:59:22 +0000 (05:59 +0000)]
Update.
* libio/iofclose.c (_IO_new_fclose): Only fall back on
_IO_old_fclose if doing versioning.
Ulrich Drepper [Mon, 26 Jul 1999 02:38:26 +0000 (02:38 +0000)]
Update.
* libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
them appropriately.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
Ulrich Drepper [Mon, 26 Jul 1999 01:47:15 +0000 (01:47 +0000)]
Update.
* misc/tst-mntent.c: Add test case for addmntent and getmntent.
Ulrich Drepper [Mon, 26 Jul 1999 01:16:48 +0000 (01:16 +0000)]
Update.
* misc/mntent_r.c: Allow spaces and tabs in entry names by
encoding these characters.
Ulrich Drepper [Sun, 25 Jul 1999 23:21:20 +0000 (23:21 +0000)]
Update.
* string/bits/string2.h: Fix aliasing problems.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sysdeps/i386/bits/string.h: Likewise.
1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
* elf/rtld.c (dl_main): Don't call malloc() between
re-relocating the dynamic linker and running the application's crt0.
1999-07-21 Paul D. Smith <psmith@gnu.org>
* sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
glob.h to get __P() macro.
* posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
not ANSI.
(__strchrnul): This won't exist outside GLIBC, so create one.
1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
__ino64_t should be 32bit unsigned type on sparc32.
Define __off64_t to __quad_t instead of __int64_t.
Make __pic_pid_t unsigned on sparc32.
1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* localedata/tst-rpmatch.sh: Use "&" instead of "ยง" to avoid a bug
in bash 2.03.
1999-07-25 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Sun, 25 Jul 1999 15:03:25 +0000 (15:03 +0000)]
Update.
1999-07-25 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
Ulrich Drepper [Sun, 25 Jul 1999 05:13:02 +0000 (05:13 +0000)]
Update.
* iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
accesses.
Ulrich Drepper [Sun, 25 Jul 1999 00:58:33 +0000 (00:58 +0000)]
Update.
* resolv/res_send.c: Add locks for res_send and res_close use.
Ulrich Drepper [Sat, 24 Jul 1999 22:17:17 +0000 (22:17 +0000)]
Update.
* elf/Makefile (dl-routines): Add preinit.
* elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
* elf/link.h (struct link_map): Add new field l_preinitcount.
* elf/dl-preinit.c: New file.
* elf/dynamic-link.h: Initialize l_preinitcount.
* sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
Ulrich Drepper [Sat, 24 Jul 1999 19:45:13 +0000 (19:45 +0000)]
Update.
1999-07-24 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-fini.c: Handle DT_FINI_ARRAY.
* elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
and l_initcount.
* elf/dl-init.c: Handle DT_INIT_ARRAY.
* elf/dynamic-link.h: Change parameters. Now only get link_map
pointer. Calculate l_initcount.
* elf/link.h (struct link_map): Add l_runpath_dirs.
* elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
* elf/dl-load.c: Pretty print.
(decompose_rpath): Take new parameter with info from where the path
comes. Pass it the fillin_rpath.
(_dl_init_paths): Initialize l_runpath_dirs.
(_dl_map_object): Don't search using RPATHs if object has RUNPATH.
Search using RUNPATH after LD_LIBRARY_PATH.
* elf/dl-support.c: Adjust comment.
* elf/rtld.c: Adjust help message.
Ulrich Drepper [Sat, 24 Jul 1999 17:41:49 +0000 (17:41 +0000)]
Update.
1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
interface.
Ulrich Drepper [Sat, 24 Jul 1999 17:38:14 +0000 (17:38 +0000)]
(dl_main): Adopt to changed _dl_lookup_symbol interface.
Roland McGrath [Sat, 24 Jul 1999 00:18:21 +0000 (00:18 +0000)]
(OLCUC): use 1<<9, since that's what hurd is already using
Roland McGrath [Sat, 24 Jul 1999 00:12:16 +0000 (00:12 +0000)]
1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
match BSD value; previous value of 1<<8 was a typo. I bet nothing
ever used this, so I'm not going to worry about compatibility.
[__USE_GNU] (IUCLC, OLCUC): New macros.
Roland McGrath [Sat, 24 Jul 1999 00:12:07 +0000 (00:12 +0000)]
1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
match BSD value; previous value of 1<<8 was a typo. I bet nothing
ever used this, so I'm not going to worry about compatibility.
[__USE_GNU] (IUCLC, OLCUC): New macros.
Ulrich Drepper [Fri, 23 Jul 1999 23:10:36 +0000 (23:10 +0000)]
Update.
* include/libintl.h: Undefine N_ and _ first to avoid warnings.
Ulrich Drepper [Fri, 23 Jul 1999 22:58:50 +0000 (22:58 +0000)]
Update.
* posix/unistd.h: Move declaration of __libc_enable_secure to...
* include/unistd.h: ...here.
* elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
* elf/dl-deps.c (expand_dst): Likewise.
* elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
based on DT_FLAGS value.
* elf/do-lookup.h: Remove reference_name parameter, add undef_map.
Add test for symbols marked STV_HIDDEN.
* elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
add undef_map. Compute reference_name locally. Update call to
do_lookup.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-libc.c: Update call to _dl_lookup_*symbol.
* elf/dl-runtime.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/ldsodefs.h: Adjust prototypes.
* elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
handle appropriately. Add comment about DT_TEXTREL.
* elf/dl-runtime.c: Likewise.
Ulrich Drepper [Fri, 23 Jul 1999 21:04:58 +0000 (21:04 +0000)]
Update.
1999-07-23 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add ET_LOOS and ET_HIOS.
Add various EM_* constants.
Add SHN_LOOS and SHN_HIOS.
Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
Add SHF_MERGE and SHF_STRINGS.
(ElfXX_Sym): Update description of st_other field.
Add STT_COMMON.
Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
Add STV_* macros.
Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
Ulrich Drepper [Fri, 23 Jul 1999 21:03:40 +0000 (21:03 +0000)]
Add ET_LOOS and ET_HIOS. Add various EM_* constants. Add SHN_LOOS and SHN_HIOS. Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY. Add SHF_MERGE and SHF_STRINGS. (ElfXX_Sym): Update description of st_other field. Add STT_COMMON. Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER. Add STV_* macros. Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ. Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
Roland McGrath [Wed, 21 Jul 1999 16:58:06 +0000 (16:58 +0000)]
1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
* elf/ldsodefs.h: Declare it.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
instead of assert.
(elf_machine_lazy_rel): Likewise. Take new arg MAP.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
_dl_reloc_bad_type instead of _dl_signal_error.
* elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
Roland McGrath [Wed, 21 Jul 1999 16:50:21 +0000 (16:50 +0000)]
1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/_strerror.c: Include <libintl.h>.
1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdsig.c (_hurd_internal_post_signal): If a
hurd_signal_preemptor matches but its `preemptor' field is null, use
its `handler' field directly. This is to comply with behavior
documented in <hurd/sigpreempt.h>.
Roland McGrath [Wed, 21 Jul 1999 16:46:32 +0000 (16:46 +0000)]
1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/_strerror.c: Include <libintl.h>.
Andreas Schwab [Wed, 21 Jul 1999 13:24:21 +0000 (13:24 +0000)]
* libio/fileops.c (_IO_new_file_underflow): Set error indicator
when reading from write-only stream.
* libio/oldfileops.c (_IO_old_file_underflow): Likewise.
* libio/wfileops.c (_IO_wfile_underflow): Likewise.
1999-07-21 Andreas Schwab <schwab@suse.de>
Andreas Schwab [Wed, 21 Jul 1999 08:19:48 +0000 (08:19 +0000)]
1999-07-21 Andreas Schwab <schwab@suse.de>
* nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
NULL.
Andreas Schwab [Wed, 21 Jul 1999 08:19:25 +0000 (08:19 +0000)]
(output_hostent): Don't crash if h_aliases is NULL.
Roland McGrath [Tue, 20 Jul 1999 22:57:14 +0000 (22:57 +0000)]
bad commit
Roland McGrath [Tue, 20 Jul 1999 22:56:39 +0000 (22:56 +0000)]
1999-07-16 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
* elf/ldsodefs.h: Declare it.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
instead of assert.
(elf_machine_lazy_rel): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
1999-07-21 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
<hurd/fd.h>.
* sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
<hurd/fd.h>.
(__libc_write): Call __pwrite instead of __pread.
Roland McGrath [Tue, 20 Jul 1999 21:19:03 +0000 (21:19 +0000)]
* sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
* sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
Roland McGrath [Tue, 20 Jul 1999 21:07:23 +0000 (21:07 +0000)]
1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
__vm_allocate calls.
1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
_hurd_fd_read with new OFFSET argument set to -1.
(__stdio_write): Call _hurd_fd_write with new OFFSET argument set
to -1.
1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
descriptor table sent in the RPC.
Roland McGrath [Tue, 20 Jul 1999 21:04:41 +0000 (21:04 +0000)]
1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
descriptor table sent in the RPC.
Andreas Schwab [Tue, 20 Jul 1999 13:53:07 +0000 (13:53 +0000)]
1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
bill@taniwha.org [PR libc/1211].
Andreas Schwab [Tue, 20 Jul 1999 08:19:37 +0000 (08:19 +0000)]
1999-07-19 Andreas Schwab <schwab@suse.de>
* libio/Makefile (routines): Add fwprintf.
PowerPC has own version of w_sqrt.c and w_sqrtf.c.
* math/w_sqrt.c: Moved to ...
* sysdeps/generic/w_sqrt.c: ... here.
* math/w_sqrtf.c: Moved to ...
* sysdeps/generic/w_sqrtf.c: ... here.
* Make-dist (generic-dirs): New variable.
(try-sysdeps, +sysdep-names): Use it.
* extra-lib.mk (all-$(lib)-routines): New variable. Use it
instead of $(lib)-routines.
* elf/Makefile (distribute): Add dl-cache.h.
* db2/Makefile (distribute): Add all new files.
* iconvdata/Makefile (distribute): Don't distribute CVS
directory.
* math/Makefile (distribute): Remove machine/endian.h, add
math_ldbl.h.
* stdio-common/Makefile (distribute): Add _itowa.h.
* sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
* sysdeps/gnu/Dist: Add eval.c
* sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
dlfcn]: Add to this instead of libdl-routines.
* sysdeps/ieee754/ldbl-128/Dist: New file.
* sysdeps/mach/hurd/Dist: Add siglist.h
* sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
Andreas Schwab [Tue, 20 Jul 1999 07:57:14 +0000 (07:57 +0000)]
* libio/Makefile (routines): Add fwprintf.
Ulrich Drepper [Mon, 19 Jul 1999 21:48:37 +0000 (21:48 +0000)]
Update.
* resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
and getipnodebyname. The latter comes soon.
Ulrich Drepper [Mon, 19 Jul 1999 21:46:36 +0000 (21:46 +0000)]
Add prototypes for getipnodebyaddr, getipnodebyname, and freehostent.
Andreas Schwab [Mon, 19 Jul 1999 12:26:30 +0000 (12:26 +0000)]
Remade for development-2.1.90
Ulrich Drepper [Mon, 19 Jul 1999 01:48:52 +0000 (01:48 +0000)]
Update.
Ulrich Drepper [Mon, 19 Jul 1999 01:48:35 +0000 (01:48 +0000)]
Update.
* sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
>>>>>>> 1.2438
Ulrich Drepper [Sun, 18 Jul 1999 23:25:06 +0000 (23:25 +0000)]
Update.
* inet/Makefile (routines): Add getipnodebyad and freehostent.
* inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
* inet/freehostent.c: New file.
* inet/getipnodebyad.c: New file.
* nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
Add support for getipnode* functions.
* nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
Set h_aliases to NULL and not to a pointer to an array with a NULL
pointer following XNS 5.2.
Ulrich Drepper [Sun, 18 Jul 1999 19:22:04 +0000 (19:22 +0000)]
Update.
* posix/sched.h: Remove internal interfaces.
* include/sched.h: Add internal interfaces.
* nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
Ulrich Drepper [Sun, 18 Jul 1999 19:03:41 +0000 (19:03 +0000)]
Update.
* nss/digits_dots.c: Set h_errnop if memory allcoation failed.
Ulrich Drepper [Sun, 18 Jul 1999 17:31:43 +0000 (17:31 +0000)]
Update.
1999-07-18 Ulrich Drepper <drepper@cygnus.com>
* inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
and return an error in this case.
* nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
available.
Ulrich Drepper [Sun, 18 Jul 1999 16:05:57 +0000 (16:05 +0000)]
Update.
1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
1999-07-17 and adjust len parameter.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
* manual/socket.texi (Host Names): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyaddr): Likewise.
(ht_gethostbyaddr): Likewise.
(_gethtbyaddr): Likewise.
Ulrich Drepper [Sun, 18 Jul 1999 05:40:39 +0000 (05:40 +0000)]
Update.
* include/netdb.h: Likewise.
Ulrich Drepper [Sun, 18 Jul 1999 05:33:11 +0000 (05:33 +0000)]
Update.
* resolv/netdb.h: Adjust parameters of gethostbyaddr and
gethostbyaddr_r.
* inet/gethstbyad.c: Correct type of len parameter.
* inet/gethstbyad_r.c: Likewise.
Ulrich Drepper [Sun, 18 Jul 1999 00:30:08 +0000 (00:30 +0000)]
Update.
1999-07-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
Ulrich Drepper [Sun, 18 Jul 1999 00:19:18 +0000 (00:19 +0000)]
Update.
1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
* include/libc-symbol.h: Clean up definitions of weak_alias,
strong_alias, symbol_version, etc. etc.
* posix/getopt.h: Use ctype.h to get features.h included, and don't
include it at all if __GNU_LIBRARY__ is already defined.
Ulrich Drepper [Sat, 17 Jul 1999 23:56:47 +0000 (23:56 +0000)]
Update.
* stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
* malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
Ulrich Drepper [Sat, 17 Jul 1999 23:20:43 +0000 (23:20 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
* sysdeps/generic/bits/time.h: Likewise.
* sysdeps/mach/hurd/bits/time.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
* sysdeps/generic/bits/types.h: Likewise.
* posix/sys/types.h: Define suseconds_t for X/Open.
Ulrich Drepper [Sat, 17 Jul 1999 23:12:43 +0000 (23:12 +0000)]
Update.
1999-07-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
type for tv_usec element.
* sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
Ulrich Drepper [Fri, 16 Jul 1999 23:17:36 +0000 (23:17 +0000)]
Correct last entry.
* internals.h: Align _pthread_descr_struct to 32 bytes.
Ulrich Drepper [Fri, 16 Jul 1999 23:16:52 +0000 (23:16 +0000)]
Update.
1999-07-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* linuxthreads/internals.h: Align _pthread_descr_struct to 32
bytes.
Reported by Tim Hockin <thockin@cobaltnet.com>, close PR
libc/1206.
Ulrich Drepper [Thu, 15 Jul 1999 18:45:14 +0000 (18:45 +0000)]
Update.
* stdio-common/bug1.c: Avoid memory leak.
Ulrich Drepper [Thu, 15 Jul 1999 18:44:07 +0000 (18:44 +0000)]
Update.
1999-07-15 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
program deterministic.
* sysdeps/i386/fpu/e_powf.S: Likewise.
* sysdeps/i386/fpu/e_powl.S: Likewise.
Ulrich Drepper [Thu, 15 Jul 1999 18:26:25 +0000 (18:26 +0000)]
Update.
1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
* math/Makefile: Add t_sincosl and k_sincosl support routines.
* math/math_private.h (__kernel_sincosl): New declaration.
* sysdeps/generic/t_sincosl.c: New file.
* sysdeps/generic/k_sincosl.c: New file.
* sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
* sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
* sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
* sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
* sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
* sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
__kernel_sincosl.
* sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
definition.
Ulrich Drepper [Thu, 15 Jul 1999 18:13:33 +0000 (18:13 +0000)]
Update.
1999-07-15 Ulrich Drepper <drepper@cygnus.com>
* posix/unistd.h: Use __PMT for exit.
Ulrich Drepper [Thu, 15 Jul 1999 11:52:44 +0000 (11:52 +0000)]
Update.
1999-07-15 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
_outw, _outl): Added to GLIBC_2.1.2.
Ulrich Drepper [Thu, 15 Jul 1999 11:45:51 +0000 (11:45 +0000)]
Update.
1999-07-15 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.h: Use __name instead of __string in prototype to
allow use outside glibc.
Ulrich Drepper [Wed, 14 Jul 1999 21:05:24 +0000 (21:05 +0000)]
Update.
* time/tst-strptime.c (main): Add one more test case. Produce
output even when result is ok.
Ulrich Drepper [Wed, 14 Jul 1999 18:20:41 +0000 (18:20 +0000)]
Update.
1999-07-14 Ulrich Drepper <drepper@cygnus.com>
* time/strptime.c (get_number): Handle number parsing more
consistent with strftime. Only parse a given number of digits.
(get_alt_number): Fix implementation. Was broken.
(strptime_internal): Add third parameter to get_number and
get_alt_number calls.
Ulrich Drepper [Wed, 14 Jul 1999 15:21:35 +0000 (15:21 +0000)]
Update.
1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
* elf/ldd.bash.in: Add support for multiple dynamic linkers.
* sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
try both 32bit and 64bit dynamic linker.
* sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
script on all sparc targets.
1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
to int.
Ulrich Drepper [Wed, 14 Jul 1999 15:10:51 +0000 (15:10 +0000)]
Update.
1999-07-13 Andreas Schwab <schwab@suse.de>
* elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
inlining. Fixes PR libc/1198.
Ulrich Drepper [Wed, 14 Jul 1999 15:02:03 +0000 (15:02 +0000)]
More corrections.
* sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
instead of ieee754.
* sysdeps/generic/s_nextafter.c: ...here.
* sysdeps/generic/s_nexttowardl.c: ...here.
Ulrich Drepper [Wed, 14 Jul 1999 14:54:47 +0000 (14:54 +0000)]
Update.
1999-07-14 Andreas Schwab <schwab@suse.de>
* Makerules (common-generated): Don't prepend $(common-objpfx).
Ulrich Drepper [Wed, 14 Jul 1999 12:20:14 +0000 (12:20 +0000)]
Name correct locations for the moved/new files.
* sysdeps/generic/e_exp10.c: ...here.
* sysdeps/generic/e_exp10f.c: ...here.
* sysdeps/generic/e_exp10l.c: ...here.
* sysdeps/generic/e_scalb.c: ...here.
* sysdeps/generic/e_scalbf.c: ...here.
* sysdeps/generic/e_scalbl.c: ...here.
* sysdeps/generic/s_cacos.c: ...here.
* sysdeps/generic/s_cacosf.c: ...here.
* sysdeps/generic/s_cacosh.c: ...here.
* sysdeps/generic/s_cacoshf.c: ...here.
* sysdeps/generic/s_cacoshl.c: ...here.
* sysdeps/generic/s_cacosl.c: ...here.
* sysdeps/generic/s_casin.c: ...here.
* sysdeps/generic/s_casinf.c: ...here.
* sysdeps/generic/s_casinh.c: ...here.
* sysdeps/generic/s_casinhf.c: ...here.
* sysdeps/generic/s_casinhl.c: ...here.
* sysdeps/generic/s_casinl.c: ...here.
* sysdeps/generic/s_catan.c: ...here.
* sysdeps/generic/s_catanf.c: ...here.
* sysdeps/generic/s_catanh.c: ...here.
* sysdeps/generic/s_catanhf.c: ...here.
* sysdeps/generic/s_catanhl.c: ...here.
* sysdeps/generic/s_catanl.c: ...here.
* sysdeps/generic/s_ccos.c: ...here.
* sysdeps/generic/s_ccosf.c: ...here.
* sysdeps/generic/s_ccosh.c: ...here.
* sysdeps/generic/s_ccoshf.c: ...here.
* sysdeps/generic/s_ccoshl.c: ...here.
* sysdeps/generic/s_ccosl.c: ...here.
* sysdeps/generic/s_cexp.c: ...here.
* sysdeps/generic/s_cexpf.c: ...here.
* sysdeps/generic/s_cexpl.c: ...here.
* sysdeps/generic/s_clog.c: ...here.
* sysdeps/generic/s_clog10.c: ...here.
* sysdeps/generic/s_clog10f.c: ...here.
* sysdeps/generic/s_clog10l.c: ...here.
* sysdeps/generic/s_clogf.c: ...here.
* sysdeps/generic/s_clogl.c: ...here.
* sysdeps/generic/s_cpow.c: ...here.
* sysdeps/generic/s_cpowf.c: ...here.
* sysdeps/generic/s_cpowl.c: ...here.
* sysdeps/generic/s_cproj.c: ...here.
* sysdeps/generic/s_cprojf.c: ...here.
* sysdeps/generic/s_cprojl.c: ...here.
* sysdeps/generic/s_csin.c: ...here.
* sysdeps/generic/s_csinf.c: ...here.
* sysdeps/generic/s_csinh.c: ...here.
* sysdeps/generic/s_csinhf.c: ...here.
* sysdeps/generic/s_csinhl.c: ...here.
* sysdeps/generic/s_csinl.c: ...here.
* sysdeps/generic/s_csqrt.c: ...here.
* sysdeps/generic/s_csqrtf.c: ...here.
* sysdeps/generic/s_csqrtl.c: ...here.
* sysdeps/generic/s_ctan.c: ...here.
* sysdeps/generic/s_ctanf.c: ...here.
* sysdeps/generic/s_ctanh.c: ...here.
* sysdeps/generic/s_ctanhf.c: ...here.
* sysdeps/generic/s_ctanhl.c: ...here.
* sysdeps/generic/s_ctanl.c: ...here.
* sysdeps/generic/s_fdim.c: ...here.
* sysdeps/generic/s_fdimf.c: ...here.
* sysdeps/generic/s_fdiml.c: ...here.
* sysdeps/generic/s_fma.c: ...here.
* sysdeps/generic/s_fmaf.c: ...here.
* sysdeps/generic/s_fmal.c: ...here.
* sysdeps/generic/s_fmax.c: ...here.
* sysdeps/generic/s_fmaxf.c: ...here.
* sysdeps/generic/s_fmaxl.c: ...here.
* sysdeps/generic/s_fmin.c: ...here.
* sysdeps/generic/s_fminf.c: ...here.
* sysdeps/generic/s_fminl.c: ...here.
* sysdeps/generic/s_ldexp.c: ...here.
* sysdeps/generic/s_ldexpf.c: ...here.
* sysdeps/generic/s_ldexpl.c: ...here.
* sysdeps/generic/s_nan.c: ...here.
* sysdeps/generic/s_nanf.c: ...here.
* sysdeps/generic/s_nanl.c: ...here.
* sysdeps/generic/s_significand.c: ...here.
* sysdeps/generic/s_significandf.c: ...here.
* sysdeps/generic/s_significandl.c: ...here.
* sysdeps/generic/math_ldbl.h: New file.
* sysdeps/generic/s_nexttowardf.c: New file.
* sysdeps/generic/strtold.c: New file.
* sysdeps/generic/ldbl2mpn.c: New file.
Ulrich Drepper [Wed, 14 Jul 1999 00:54:57 +0000 (00:54 +0000)]
Update.
Ulrich Drepper [Mon, 12 Jul 1999 21:28:32 +0000 (21:28 +0000)]
Update.
1999-07-12 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
connections without a hostname set address to localhost address.
Ulrich Drepper [Mon, 12 Jul 1999 18:15:36 +0000 (18:15 +0000)]
Fix typo.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
Ulrich Drepper [Mon, 12 Jul 1999 18:11:40 +0000 (18:11 +0000)]
Update.
1999-07-11 H.J. Lu <hjl@gnu.org>
* nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
nscd's own strong version of the get[a-z]*_r function.
* nscd/hstcache.c: Likwise.
* nscd/pwdcache.c: Likwise.
Ulrich Drepper [Mon, 12 Jul 1999 17:55:37 +0000 (17:55 +0000)]
Update.
1999-07-12 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Recognize 2.95 as gcc version number.
Patch by Joel Klecker <jk@espy.org>.
Ulrich Drepper [Mon, 12 Jul 1999 16:33:05 +0000 (16:33 +0000)]
Update.
1999-07-12 Andreas Schwab <schwab@suse.de>
* elf/rtld.c (dl_main): When putting back the interpreter object
handle the case where a missing object might occur in the list of
objects but not in the search list when in trace mode.
Ulrich Drepper [Sun, 11 Jul 1999 17:37:50 +0000 (17:37 +0000)]
Update.
1999-07-11 Ulrich Drepper <drepper@cygnus.com>
* Versions.def (libnss_hesiod): Add GLIBC_2.2.
* hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
_nss_hesiod_initgroups.
Ulrich Drepper [Sun, 11 Jul 1999 17:34:25 +0000 (17:34 +0000)]
(libnss_hesiod): Add GLIBC_2.2.
Roland McGrath [Sun, 11 Jul 1999 17:16:47 +0000 (17:16 +0000)]
* sysdeps/mach/hurd/brk.c (static_data_start): New variable.
(_hurd_set_brk, init_brk): Use that instead of &__data_start.
Initialize it from &__data_start if defined, or else &_end.
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 11 Jul 1999 11:48:08 +0000 (11:48 +0000)]
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
for MAP_ANON, prot==PROT_READ|PROT_WRITE.