Ulrich Drepper [Fri, 13 Aug 1999 20:16:30 +0000 (20:16 +0000)]
Update.
1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: install-sh lives now in scripts subdir.
PR libc/1255 (bug 4).
Ulrich Drepper [Fri, 13 Aug 1999 20:09:32 +0000 (20:09 +0000)]
Update.
* sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
version.
Ulrich Drepper [Fri, 13 Aug 1999 19:59:17 +0000 (19:59 +0000)]
Update.
1999-08-13 Ulrich Drepper <drepper@cygnus.com>
* po/fr.po: Update.
Ulrich Drepper [Fri, 13 Aug 1999 19:53:50 +0000 (19:53 +0000)]
Update.
1999-08-11 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
* stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
Ulrich Drepper [Fri, 13 Aug 1999 19:41:35 +0000 (19:41 +0000)]
Update.
1999-08-13 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c: Don't recognize hexadecimal floats with
exponent.
1999-08-10 Andreas Schwab <schwab@suse.de>
* elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
header.
Ulrich Drepper [Tue, 10 Aug 1999 05:41:26 +0000 (05:41 +0000)]
Update.
1999-08-09 Scott Bambrough <scottb@netwinder.org>
* elf/elf.h: Added definition of ELFOSABI_ARM.
* elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
object's header and ABI values are acceptable.
(VALID_ELF_HEADER): New macro; provide default definition.
(VALID_ELF_OSABI): New macro; provide default definition.
(VALID_ELF_ABIVERSION): New macro; provide default definition.
* sysdeps/arm/dl-machine.h Define ARM specific versions of
VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1999-08-09 Andreas Schwab <schwab@suse.de>
* inet/tst-ipnode.c (main): Don't compare integer with NULL.
1999-08-09 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/svc_run.c (svc_run): Free my_pollfd.
1999-08-09 Andreas Schwab <schwab@suse.de>
* sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
Ulrich Drepper [Mon, 9 Aug 1999 05:35:13 +0000 (05:35 +0000)]
Update.
* sysdeps/ieee754/ieee754.h: Handle platforms with special
__FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
Ulrich Drepper [Sun, 8 Aug 1999 22:20:38 +0000 (22:20 +0000)]
Update.
1999-08-08 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Mark void* operations as extensions.
* sysdeps/i386/i486/bits/string.h: Likewise.
* debug/Makefile (routines): Add noophooks.
(extra-libs): Add libpcprofile. Add rules to build libpcprofile.
* debug/noophooks.c: New file.
* debug/pcprofile.c: New file.
Ulrich Drepper [Sat, 7 Aug 1999 05:42:26 +0000 (05:42 +0000)]
Update.
* rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
systems which allow using the functions also on non-seekable
devices.
Ulrich Drepper [Sat, 7 Aug 1999 03:01:02 +0000 (03:01 +0000)]
Update.
* resolv/res_send.c (res_send): Recompute timeout for poll for
each jump to `wait'.
Ulrich Drepper [Fri, 6 Aug 1999 23:23:02 +0000 (23:23 +0000)]
Update.
* inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
braces to avoid warnings.
(IN6ADDR_LOOPBACK_INIT): Likewise.
Ulrich Drepper [Fri, 6 Aug 1999 23:01:00 +0000 (23:01 +0000)]
Update.
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
MSG_DONTWAIT).
Ulrich Drepper [Fri, 6 Aug 1999 22:57:19 +0000 (22:57 +0000)]
Update.
1999-08-06 H.J. Lu <hjl@gnu.org>
* malloc/malloc.c: Initialize __libc_pagesize early.
Ulrich Drepper [Fri, 6 Aug 1999 22:27:07 +0000 (22:27 +0000)]
Update.
* string/string-inlines.c: Undefined __USE_STRING_INLINES before
defining it.
Ulrich Drepper [Fri, 6 Aug 1999 20:12:31 +0000 (20:12 +0000)]
Update.
* inet/Makefile (tests): Add tst-ipnode.
Ulrich Drepper [Fri, 6 Aug 1999 20:11:37 +0000 (20:11 +0000)]
Update.
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
* inet/tst-ipnode.c: New file.
Ulrich Drepper [Fri, 6 Aug 1999 17:23:27 +0000 (17:23 +0000)]
Update.
1999-08-06 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
New definitions.
(O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
(O_LARGEFILE): Define only if __USE_LARGEFILE64.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
New definitions.
(O_LARGEFILE): Define only if __USE_LARGEFILE64.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
Ulrich Drepper [Fri, 6 Aug 1999 17:20:19 +0000 (17:20 +0000)]
Update.
1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/ieee754/ldbl-128/e_expl.c: New file.
* sysdeps/ieee754/ldbl-128/t_expl.h: New file.
* sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
Ulrich Drepper [Fri, 6 Aug 1999 16:35:33 +0000 (16:35 +0000)]
Update.
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
* resolv/res_send.c (res_send): Don't test file descriptor for
range, we use poll now. [PR libc/1240]
Ulrich Drepper [Thu, 5 Aug 1999 18:20:47 +0000 (18:20 +0000)]
Update.
1999-08-05 Ulrich Drepper <drepper@cygnus.com>
* libio/genops.c (_IO_flush_all): Don't access elements beyond what
2.0 defined if they are not available.
Ulrich Drepper [Thu, 5 Aug 1999 16:58:38 +0000 (16:58 +0000)]
Update.
1999-08-05 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
Define.
Ulrich Drepper [Thu, 5 Aug 1999 01:33:18 +0000 (01:33 +0000)]
Update.
* hesiod/hesiod.c: Avoid emitting rcsid in object file.
Ulrich Drepper [Thu, 5 Aug 1999 00:21:21 +0000 (00:21 +0000)]
Update.
* rt/aio_fsync.c: Test OP parameter for correct values.
Ulrich Drepper [Thu, 5 Aug 1999 00:10:40 +0000 (00:10 +0000)]
Update.
* rt/aio_fsync.c: Likewise.
Ulrich Drepper [Thu, 5 Aug 1999 00:04:45 +0000 (00:04 +0000)]
Update.
* rt/aio_write.c: Fix return value.
* rt/aio_write64.c: Likewise.
Ulrich Drepper [Wed, 4 Aug 1999 23:55:20 +0000 (23:55 +0000)]
Update.
1999-08-04 Ulrich Drepper <drepper@cygnus.com>
* rt/aio_read.c: Fix return value.
* rt/aio_read64.c: Likewise.
Reported by Christian Gafton.
* rt/aio_misc.c: Set errno at correct place.
Ulrich Drepper [Wed, 4 Aug 1999 16:01:55 +0000 (16:01 +0000)]
Update.
1999-08-04 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
Initialize result to one.
(GET_NPROCS_CONF_PARSER): Likewise.
Ulrich Drepper [Wed, 4 Aug 1999 00:09:53 +0000 (00:09 +0000)]
Update.
1999-08-03 Ulrich Drepper <drepper@cygnus.com>
* inet/ether_hton.c: Pass errno pointer to NSS function.
* inet/getnetgrent_r.c: Likewise.
Reported by Marty Leisner <leisner@rochester.rr.com>.
Ulrich Drepper [Tue, 3 Aug 1999 17:22:13 +0000 (17:22 +0000)]
Update.
1999-08-02 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_callback.c: Fix port problem on big-endian machines
* sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
fields are always 32 bit.
Patches from Paul Mackerras <paulus@cs.anu.edu.au>
* nis/nss_nis/nis-service.c: Remove htons, port is always in
network-byte-order.
* nis/nss_nisplus/nisplus-service.c: Rename number to port.
Ulrich Drepper [Tue, 3 Aug 1999 17:09:27 +0000 (17:09 +0000)]
Update.
1999-08-03 Andreas Schwab <schwab@suse.de>
* sysdeps/posix/sigset.c: Unblock the signal after setting its
disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
avoid two calls to sigprocmask.
Ulrich Drepper [Mon, 2 Aug 1999 23:56:41 +0000 (23:56 +0000)]
Update.
1999-08-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/s_nexttowardf.c: Fix typo.
Ulrich Drepper [Mon, 2 Aug 1999 22:12:22 +0000 (22:12 +0000)]
Fix typo.
* nis/nis_callback.c (internal_nis_do_callback): Use poll()
Ulrich Drepper [Mon, 2 Aug 1999 20:04:56 +0000 (20:04 +0000)]
Update.
1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
Only allow rt signal frames. No SA_SIGINFO signals will have the
siginfo_t just not filled out with SI_NOINFO code.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
(register_dump): Take the above change into account.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
(rt_signal_frame): Likewise.
* sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
Ulrich Drepper [Mon, 2 Aug 1999 19:56:07 +0000 (19:56 +0000)]
Update.
1999-08-02 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_callback.c (internal_nis_do_callback) use poll()
instead of select().
1999-08-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/s_nextafter.c: Define __nexttoward and
nexttoward so something else so that aliasing works.
1999-08-02 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/generic/math_ldbl.h: Fix typo.
* sysdeps/generic/strtold.c: Remove unbalanced #endif.
* sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
1999-08-02 Ulrich Drepper <drepper@cygnus.com>
* elf/resolvfail.c: Include stdio.h. Also test dlerror.
Ulrich Drepper [Sun, 1 Aug 1999 21:43:03 +0000 (21:43 +0000)]
Update.
* elf/Makefile (tests): Add resolvfail. Add rules to build the
program.
* elf/resolvfail.c: New file.
Ulrich Drepper [Sun, 1 Aug 1999 19:24:38 +0000 (19:24 +0000)]
Update.
1999-08-01 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-sym.c (_dl_sym): Always determine module of the caller to
pass it to _dl_lookup_symbol.
* elf/dl-error.c (_dl_signal_error): Optimize string generation a
bit. Reword message.
* dlfcn/dlerror.c: Make code thread-safe.
Ulrich Drepper [Sun, 1 Aug 1999 18:04:40 +0000 (18:04 +0000)]
Pretty print.
Roland McGrath [Sun, 1 Aug 1999 02:43:05 +0000 (02:43 +0000)]
1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
initializer in CHECK: a bit size, not the type code repeated!
Roland McGrath [Sun, 1 Aug 1999 02:41:04 +0000 (02:41 +0000)]
1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
initializer in CHECK: a bit size, not the type code repeated!
Ulrich Drepper [Sat, 31 Jul 1999 22:56:48 +0000 (22:56 +0000)]
Update.
1999-07-31 Ulrich Drepper <drepper@cygnus.com>
* string/tester.c: Add tests with constant arguments for strcpy
and stpcpy.
Ulrich Drepper [Sat, 31 Jul 1999 22:27:07 +0000 (22:27 +0000)]
Update.
1999-07-31 H.J. Lu <hjl@gnu.org>
* string/bits/string2.h (__strcpy_small): Fix a typo.
Ulrich Drepper [Sat, 31 Jul 1999 07:21:56 +0000 (07:21 +0000)]
Update.
* Makeconfig (link-libc): Always define it, not only for shared
builds.
Ulrich Drepper [Sat, 31 Jul 1999 07:16:41 +0000 (07:16 +0000)]
Update.
1999-07-31 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
* sysdeps/i386/fpu/e_powf.S: Likewise.
* sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
* sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
* sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
Ulrich Drepper [Sat, 31 Jul 1999 06:11:24 +0000 (06:11 +0000)]
Update.
1999-07-30 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
definition.
(__get_nprocs): Use it.
(__get_nprocs_conf): Define as separate function if
GET_NPROCS_CONF_PARSER is defined.
* sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
* include/sys/sysinfo.h: New file.
* sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
interface.
* sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1999-07-30 H.J. Lu <hjl@gnu.org>
* libio/iofflush.c (fflush_unlocked): Weak aliase if
_IO_MTSAFE_IO is not defined.
* libio/clearerr.c (clearerr_unlocked): Likewise.
* libio/feof.c (feof_unlocked): Likewise.
* libio/ferror.c (ferror_unlocked): Likewise.
* libio/fputc.c (fputc_unlocked): Likewise.
* libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
* libio/getchar.c (getchar_unlocked): Likewise.
* libio/putc.c (putc_unlocked): Likewise.
* libio/putchar.c (putchar_unlocked): Likewise.
1999-07-30 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
svc_max_pollfd and svc_pollfd to GLIBC_2.2
* sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
for svc_run/poll interface.
* sunrpc/rpc/types.h: Add rpc*_t typedefs.
* sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
global variable.
* sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
rewrite other svc_getreq* functions to use svc_getreq_common.
* sunrpc/svc_run.c: Use poll().
1999-07-30 Andreas Schwab <schwab@suse.de>
* Makerules: Put sysd-versions and Versions.all on
postclean-generated instead of common-generated.
1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/time.texi (Basic CPU Time): Note that clock_t can wrap
around and CLOCKS_PER_SEC is 1e6.
Ulrich Drepper [Sat, 31 Jul 1999 05:15:48 +0000 (05:15 +0000)]
Update.
* configure.in: Add test for local label subtraction.
* config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
* stdio-common/vfprintf.c (vfprintf): Use subtraction of local
labels to reduce number of runtime relocations and move jump
tables in read-only seciton.
Ulrich Drepper [Sat, 31 Jul 1999 04:34:31 +0000 (04:34 +0000)]
Update.
1999-07-30 Ulrich Drepper <drepper@cygnus.com>
* malloc/malloc.c (ptmalloc_init): Correct last patch. The
assignment cannot be moved.
Ulrich Drepper [Fri, 30 Jul 1999 06:32:48 +0000 (06:32 +0000)]
Update.
* malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
if no threads are used.
* libio/iofwrite.c: Add weak alias for _unlocked function if not
_IO_MTSAFE_IO.
* libio/iofread.c: Likewise.
* libio/iofgets.c: Likewise.
* libio/iofputs.c: Likewise.
* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
definition.
Ulrich Drepper [Thu, 29 Jul 1999 23:46:10 +0000 (23:46 +0000)]
Update.
1999-07-29 H.J. Lu <hjl@gnu.org>
* stdlib/mbtowc.c: Include <string.h>.
* stdlib/wctomb.c: Likewise.
* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
* sysdeps/unix/sysv/linux/statfs64.c: Likewise.
* misc/mntent_r.c: Include <alloca.h>.
* elf/dl-runtime.c: Likewise.
Ulrich Drepper [Thu, 29 Jul 1999 22:34:58 +0000 (22:34 +0000)]
Update.
1999-07-29 Andreas Schwab <schwab@suse.de>
* misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
all floating point formats supported by gcc. Error out for
unhandled precisions.
* misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
* misc/qefgcvt.c (NDIGIT_MAX): Likewise.
* misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
Ulrich Drepper [Thu, 29 Jul 1999 22:25:03 +0000 (22:25 +0000)]
Update.
* stdlib/Makefile (tests): Add tst-environ.
Ulrich Drepper [Thu, 29 Jul 1999 20:40:05 +0000 (20:40 +0000)]
Update.
* sysdeps/generic/setenv.c: Move setenv code in new function
__add_to_environ. Add new parameter specifying already
constructed string for the environment.
(setenv): Call __add_to_environ with new parameter set to NULL.
(unsetenv): Really test all elements for duplicated name. Missed those
cases where the two are following each other.
* sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
* include/stdlib.h: Add prototype of __add_to_environ.
* stdlib/tst-environ.c: New file.
Ulrich Drepper [Thu, 29 Jul 1999 20:36:56 +0000 (20:36 +0000)]
Tests for setenv, unsetenv, putenv, etc.
Roland McGrath [Thu, 29 Jul 1999 18:35:29 +0000 (18:35 +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 [Thu, 29 Jul 1999 17:13:56 +0000 (17:13 +0000)]
Update.
* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
Ulrich Drepper [Thu, 29 Jul 1999 15:48:47 +0000 (15:48 +0000)]
Update.
1999-07-29 Ulrich Drepper <drepper@cygnus.com>
* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
argument in realloc call.
* nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
Likewise.
Reported by Danny Braniss <danny@cs.huji.ac.il>.
Ulrich Drepper [Thu, 29 Jul 1999 06:42:27 +0000 (06:42 +0000)]
Update.
1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manager.c: Remove inclusion of <linux/tasks.h> since it's not
needed anymore.
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.