Ulrich Drepper [Tue, 8 Sep 1998 12:45:13 +0000 (12:45 +0000)]
Update.
1998-09-08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setrlimit64.c: Remove stub warning.
Ulrich Drepper [Mon, 7 Sep 1998 15:06:36 +0000 (15:06 +0000)]
Update.
* resolv/res_debug.c: Likewise.
Ulrich Drepper [Mon, 7 Sep 1998 13:47:26 +0000 (13:47 +0000)]
Update.
* argp/argp-help.c: Likewise.
* argp/argp-parse.c: Likewise.
Ulrich Drepper [Mon, 7 Sep 1998 13:18:17 +0000 (13:18 +0000)]
Update.
* stdlib/strtol.c: Likewise.
* string/strcoll.c: Likewise.
* string/strxfrm.c: Likewise.
Ulrich Drepper [Mon, 7 Sep 1998 11:07:34 +0000 (11:07 +0000)]
Update.
* db2/btree/bt_cursor.c: Likewise.
* db2/common/db_region.db_c: Likewise.
* db2/common/db_salloc.db_c: Likewise.
* db2/db/db.c: Likewise.
* db2/db/db_rec.c: Likewise.
* db2/hash/hash.c: Likewise.
* db2/hash/hash_page.c: Likewise.
* db2/hash/hash_rec.c: Likewise.
* db2/log/log_findckp.c: Likewise.
* db2/log/log_get.c: Likewise.
* db2/log/log_put.c: Likewise.
* db2/mp/mp_fget.c: Likewise.
* db2/mp/mp_fput.c: Likewise.
* db2/mp/mp_region.c: Likewise.
Ulrich Drepper [Mon, 7 Sep 1998 10:46:08 +0000 (10:46 +0000)]
Update.
1998-09-07 Ulrich Drepper <drepper@cygnus.com>
* db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
quiet.
Ulrich Drepper [Mon, 7 Sep 1998 10:00:04 +0000 (10:00 +0000)]
Update.
1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
* math/tgmath.h (scalb): Only define for __USE_MISC or
__USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
Ulrich Drepper [Mon, 7 Sep 1998 09:56:37 +0000 (09:56 +0000)]
Update.
1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/stdio.h: Fix comment.
* stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
__USE_ISOC9X.
Ulrich Drepper [Sun, 6 Sep 1998 23:45:24 +0000 (23:45 +0000)]
Update.
1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Makeconfig (+gccwarn): Remove -Wno-parentheses.
* elf/dl-open.c: Quiet -Wparentheses warnings.
* iconvdata/johab.c: Likewise.
* iconvdata/uhc.c: Likewise.
* inet/inet_net.c: Likewise.
* io/fts.c: Likewise.
* locale/newlocale.c: Likewise.
* misc/getttyent.c: Likewise.
* misc/mntent_r.c: Likewise.
* misc/ttyslot.c: Likewise.
* nscd/nscd_conf.c: Likewise.
* nss/nsswitch.c: Likewise.
* resolv/gethnamaddr.c: Likewise.
* resolv/nsap_addr.c: Likewise.
* resolv/res_debug.c: Likewise.
* stdio-common/_itoa.c: Likewise.
* stdlib/strtod.c: Likewise.
* string/strverscmp.c: Likewise.
* sunrpc/svc.c: Likewise.
* sysdeps/libm-ieee754/e_cosh.c: Likewise.
* sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
* sysdeps/libm-ieee754/e_sinh.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.
* include/dlfcn.h: Likewise.
* elf/dlfcn.h: Declare dladdr only for __USE_GNU.
Define RTLD_DEFAULT.
Ulrich Drepper [Sun, 6 Sep 1998 15:16:11 +0000 (15:16 +0000)]
Update.
1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
* elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
for use of global scope.
* elf/dlvsym.c (dlvsym_doit): Likewise.
1998-09-02 Paul Eggert <eggert@twinsun.com>
* strftime.c (my_strftime): When mbrlen returns (size_t) -2,
copy the redundant bytes at the end of the format as-is; don't
just copy their first byte and then rescan, as that might get
us an encoding error.
Account correctly for the length of multibyte sequences in the
format.
1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: Add tests for different IFS values.
Change unquoted-newline test so that newline is not in IFS.
* posix/wordexp.c (wordexp): Correct null/unset mix-up when
determining IFS characters. Return WRDE_BADCHAR for unquoted
special characters _except_ if they are separators.
1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
* include/tgmath.h: New file.
* libio/stdio.h: Correct reversed #ifs.
Patch by Zack Weinberg.
* manual/creature.texi: Better explain reason for feature select
macros.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* include/alloca.h: Add multiple-inclusion guard.
* include/db.h: Likewise.
* include/db_185.h: Likewise.
* include/fcntl.h: Likewise.
* include/grp.h: Likewise.
* include/libintl.h: Likewise.
* include/mntent.h: Likewise.
* include/pwd.h: Likewise.
* include/sched.h: Likewise.
* include/search.h: Likewise.
* include/setjmp.h: Likewise.
* include/shadow.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/termios.h: Likewise.
* include/time.h: Likewise.
* include/ulimit.h: Likewise.
* include/utmp.h: Likewise.
* include/wchar.h: Likewise.
* include/sys/file.h: Likewise.
* include/sys/gmon.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/mman.h: Likewise.
* include/sys/resource.h: Likewise.
* include/sys/select.h: Likewise.
* include/sys/socket.h: Likewise.
* include/sys/statfs.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/times.h: Likewise.
* include/sys/wait.h: Likewise.
* include/dlfcn.h: Declare dladdr only for __USE_GNU.
Define RTLD_DEFAULT.
Ulrich Drepper [Sun, 6 Sep 1998 09:16:53 +0000 (09:16 +0000)]
Update.
1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.0.96.
Rewrite runtime linker to be truly thread-safe. There is now no
global variable specifying the scope. We create all needed
scopes at the time the link maps are created.
* elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
* elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
l_symbolic_searchlist, l_scope, and l_local_scope elements in
struct link_map.
* elf/dl-close.c: Rewritten accordingly.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dlfcn.h: Likewise.
* elf/dlsym.c: Likewise.
* elf/dlvsym.c: Likewise.
* elf/ldsodefs.h: Likewise.
* elf/rtld.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* nss/nsswitch.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
Ulrich Drepper [Sun, 6 Sep 1998 09:01:51 +0000 (09:01 +0000)]
(VERSION): Bump to 2.0.96.
Roland McGrath [Sat, 5 Sep 1998 15:00:54 +0000 (15:00 +0000)]
1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c (init1): Call
__getopt_clean_environment with __environ instead of envp.
* sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
Roland McGrath [Sat, 5 Sep 1998 04:03:21 +0000 (04:03 +0000)]
* string/argz-extract.c (__argz_extract): Add de-consting cast for
setting results.
* string/argz-next.c (__argz_next): Likewise.
Roland McGrath [Sat, 5 Sep 1998 04:01:08 +0000 (04:01 +0000)]
* string/argz.h (argz_next): Add de-consting cast for return.
Roland McGrath [Sat, 5 Sep 1998 03:58:56 +0000 (03:58 +0000)]
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
Don't add netinet/udp.h, netinet/ip_icmp.h here.
* sysdeps/gnu/Makefile: Do it here instead.
* sysdeps/unix/sysv/linux/Dist: Move those files from here ...
* sysdeps/gnu/Dist: ... to here.
Roland McGrath [Sat, 5 Sep 1998 03:52:00 +0000 (03:52 +0000)]
1998-09-05 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/unix/sysv/linux/netinet/ip_icmp.h, sysdeps/unix/sysv/linux/netinet/tcp.h, sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
sysdeps/unix/sysv/linux/netinet/tcp.h,
sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
Roland McGrath [Fri, 4 Sep 1998 16:27:01 +0000 (16:27 +0000)]
1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
* string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
* string/argz-next.c, string/argz-extract.c: Fix defns.
Roland McGrath [Fri, 4 Sep 1998 10:57:56 +0000 (10:57 +0000)]
1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
* mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
* sysdeps/mach/hurd/sysd-stdio.c: Declare fns
__stdio_{read,write,seek,close,fileno} using __io_*_fn types.
* sysdeps/generic/sysd-stdio.c: Likewise.
Roland McGrath [Fri, 4 Sep 1998 10:57:18 +0000 (10:57 +0000)]
1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
* mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
Ulrich Drepper [Wed, 2 Sep 1998 16:35:38 +0000 (16:35 +0000)]
Update.
Ulrich Drepper [Wed, 2 Sep 1998 12:58:42 +0000 (12:58 +0000)]
Update.
1998-09-02 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
(_dl_map_object_from_fd): Make NAME argument const.
Remove last parameter in _dl_new_object call.
(print_search_path): Correct construction of composed path name.
(_dl_map_object): Prevent looking at RPATH of the main map twice.
Remove last parameter in _dl_new_object call.
* elf/dl-object.c: Remove last parameter. Determine whether create
origin entry based on empty realname. Handle file in root directory
correctly.
* elf/ldsodefs.h: Adjust prototype for _dl_new_object.
* elf/rtld.c (dl_main): Add comment describing reason for memory leak.
Remove last parameter in _dl_new_object call.
* sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
* sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
Ulrich Drepper [Tue, 1 Sep 1998 23:08:36 +0000 (23:08 +0000)]
Update.
* elf/dl-close.c (_dl_close): Add more comments and correct some.
Free l_searchlist and l_dupsearchlist.
Ulrich Drepper [Tue, 1 Sep 1998 18:58:12 +0000 (18:58 +0000)]
Update.
1998-09-01 Ulrich Drepper <drepper@cygnus.com>
* debug/catchsegv.sh: Add one more pair of quotes.
Ulrich Drepper [Tue, 1 Sep 1998 17:58:59 +0000 (17:58 +0000)]
Update.
1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (add_name_to_object): Change return type to void and
make NAME parameter const. Allocate room for NAME in same memory
block used for l_libname entry.
(_dl_map_object_from_fd): Don't free NAME on failure.
(map_segment): Pass SONAME to add_name_to_object, not a copy.
(_dl_map_object): Don't create copy of NAME. Pass NAME to
_dl_map_object_from_fd.
* elf/dl-object.c (dl_new_object): Allocate room for NAME in same
memory block used for l_libname entry.
* elf/dl-close.c: Adjust free()ing for this change.
Ulrich Drepper [Tue, 1 Sep 1998 17:19:00 +0000 (17:19 +0000)]
Update.
1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
* malloc/Makefile: Include Makeconfig before testing config-sysdirs.
* malloc/mtrace.c: Add bug report address. Update email address.
Add more @XXX@ to print correct address size.
* elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
really initialized.
* elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
for munmap call instead of examining phdr again.
Free all malloc()ed strings and arrays.
Ulrich Drepper [Tue, 1 Sep 1998 14:31:49 +0000 (14:31 +0000)]
Update.
1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
dl-machine.h.
* sysdeps/powerpc/dl-machine.c: New file.
* sysdeps/powerpc/dl-machine.h: Move much stuff into separate
files. Revise ELF_PREFERRED_ADDRESS to take account of
the new mapping information (fixes bug involving huge bloated
web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
* sysdeps/powerpc/dl-start.S: New file.
* elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
l_map_end.
* elf/do-rel.h: Call elf_machine_rel only once (to save space).
* elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
others. Call elf_dynamic_do_##reloc only once (to save even more
space).
* elf/link.h: Add new members l_map_start and l_map_end to keep
track of the memory map.
* elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
the executable.
1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
* debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
Reported by Andreas Jaeger.
* posix/glob.h: Use __size_t instead of size_t in definitions and
make sure this is defined.
* manual/locale.texi: Almost complete rewrite. Document more functions
Ulrich Drepper [Tue, 1 Sep 1998 10:41:59 +0000 (10:41 +0000)]
Update.
1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
* manual/locale.texi: Almost compelte rewrite. Document more functions
and functionality.
* manual/arith.texi: Correct reference.
* manual/string.texi: Pretty printing.
* manual/texinfo.tex: Update from last available version.
1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
* nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
invalid password.
(_nss_nis_getpwuid_r): Likewise.
Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
* inet/rcmd.c: Implement netgroup support.
Patch by Dick Streefland <dick_streefland@tasking.com>.
Ulrich Drepper [Tue, 1 Sep 1998 10:35:19 +0000 (10:35 +0000)]
Fix typo.
* sysdeps/i386/pt-machine.h: Likewise.
Ulrich Drepper [Mon, 31 Aug 1998 17:23:45 +0000 (17:23 +0000)]
Update.
1998-08-31 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-close.c (_dl_close): Update _dl_loaded if the first
object on the list is removed. Don't use this code for PIC.
Reported by HJ Lu [PR libc/770].
Ulrich Drepper [Mon, 31 Aug 1998 16:30:27 +0000 (16:30 +0000)]
Update.
1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
* db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
* include/stdio.h: Add __vsscanf.
* libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
__USE_ISOC9X.
Remove __vsscanf declaration.
Always declare fgetpos and fsetpos.
* math/math.h: Define isinf as macro.
* math/bits/mathcalls.h: Change to declare __isinf all the time.
Don't declare scalb for ISO C 9x.
* math/tgmath.h: Define fma. Rewrite the underlying macros.
* stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
* sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
sys/ucontext.h.
* sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
macros.
1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
Reported by jreising@frequentis.com [PR libc/767].
1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* io/lockf.c (lockf): Move initilisation of fl.l_whence and
fl.l_start at beginning of function.
Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
Ulrich Drepper [Mon, 31 Aug 1998 11:11:15 +0000 (11:11 +0000)]
Update.
1998-08-31 Ulrich Drepper <drepper@cygnus.com>
* io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
* nscd/nscd.init: Make it work in RedHat systems.
Patch by Christian Gafton.
1998-08-29 Philip Blundell <philb@gnu.org>
* catgets/Makefile: Don't try to run test programs when
cross-compiling.
1998-08-31 Ulrich Drepper <drepper@cygnus.com>
* signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
Reported by Zack Weinberg.
1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
* elf/Makefile (distribute): Remove ldd.sh.in.
1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
variable.
Ulrich Drepper [Sat, 29 Aug 1998 09:51:09 +0000 (09:51 +0000)]
Update.
1998-08-29 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/register-dump.h: Move to ...
* sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
Ulrich Drepper [Fri, 28 Aug 1998 22:54:57 +0000 (22:54 +0000)]
Update.
1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
* elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
with load address, not map address.
* sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
parameter and use this value.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
parameter.
* sysdeps/powerpc/dl-machine.h: Likewise
* sysdeps/sparc/sparc32/dl-machine.h: Likewise
* sysdeps/sparc/sparc64/dl-machine.h: Likewise
Ulrich Drepper [Fri, 28 Aug 1998 14:02:28 +0000 (14:02 +0000)]
Update.
1998-08-28 13:58 Ulrich Drepper <drepper@cygnus.com>
* internals.h: Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to
access thread data with non-constant offsets.
* specific.c: Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where
necessary.
* sysdeps/i386/useldt.h: Fix typo. Add THREAD_GETMEM_NC and
THREAD_SETMEM_NC definitions.
* sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM_NC and
THREAD_SETMEM_NC.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
Ulrich Drepper [Fri, 28 Aug 1998 09:29:49 +0000 (09:29 +0000)]
Update.
1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c (process_envvars): Fix copy&paste error.
* malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
memalign hook.
(realloc_hook_ini): Don't overwrite memalign hook.
(memalign_hook_ini): Don't overwrite malloc and memalign hooks.
Reported by Philippe Troin <phil@fifi.org>.
* malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
Patch by Philippe Troin <phil@fifi.org>.
1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/segfault.c (install_handler): Protect the
non-POSIX signals with #ifdef.
(catch_segfault): Add missing mode parameter for open.
* debug/catchsegv.sh: Avoid termination message from shell. Allow
other termination signals.
1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* debug/Makefile (distribute): Add register-dump.h.
1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Fri, 28 Aug 1998 09:22:39 +0000 (09:22 +0000)]
(distribute): Add register-dump.h.
Andreas Schwab [Fri, 28 Aug 1998 01:42:42 +0000 (01:42 +0000)]
* sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
Fri Aug 28 10:41:38 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
Ulrich Drepper [Thu, 27 Aug 1998 20:52:37 +0000 (20:52 +0000)]
(process_envvars): Only use LD_ORIGIN_PATH if !enable secure.
Ulrich Drepper [Thu, 27 Aug 1998 20:42:04 +0000 (20:42 +0000)]
Update.
Call _dl_new_object with extra argument.
Call _dl_new_object with extra argument.
but the main one if new argument is nonzero.
* elf/ldsodefs.h: Adjust for _dl_new_object change.
(dl_main): Call _dl_new_object with extra argument.
Ulrich Drepper [Thu, 27 Aug 1998 20:08:32 +0000 (20:08 +0000)]
Update.
1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile (distribute): Add dl-origin.h.
* sysdeps/generic/dl-origin.h: New file.
* sysdeps/unix/sysv/linux/dl-origin.h: New file.
* elf/link.h (struct link_map): Add l_origin field.
* elf/dl-load.c (expand_dynamic_string_token): New function.
(decompose_path): Remove WHERE argument, take link map pointer instead.
Call expand_dynamic_string_token instead of local_strdup to make copy
of rpath.
(_dl_init_paths): Call decompose_path with correct argument.
(_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
not defined.
Check EI_OSABI and EI_ABIVERSION fields in header.
(_dl_map_object): Call decompose_path with correct argument.
Call expand_dynamic_string_token instead of local_strdup to also
expand DST.
* elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
but the main one.
* elf/dl-support.c: Define _dl_origin_path.
* elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
* elf/dl-close (_dl_close): Free l_name and l_origin.
* sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
modifier in asm, not c.
* sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
Ulrich Drepper [Wed, 26 Aug 1998 18:03:49 +0000 (18:03 +0000)]
Update.
1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
variable so that map can be freed.
Reported by Philippe Troin <phil@fifi.org>.
* elf/dl-open.c (dl_open_worker): Correct test for extending global
scope array.
Patch by Philippe Troin <phil@fifi.org>.
1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
Don't call writev() with a 100-element vector.
* sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
return address.
* sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
In particular, set __libc_stack_end.
* sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
undefined. Fix copyright notice.
1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/Makefile (gmp-objs): New variable.
($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
Depend on it.
(tests): Add atest-exp atest-sincos atest-exp2.
(tests-static): Remove atest-exp atest-sincos atest-exp2.
* elf/rtld.c (dl_main): Unload map file before jumping to user code.
Ulrich Drepper [Wed, 26 Aug 1998 16:00:46 +0000 (16:00 +0000)]
Update.
1998-08-26 15:46 Ulrich Drepper <drepper@cygnus.com>
* internals.h: Define THREAD_GETMEM and THREAD_SETMEM to default if
not already defined.
(struct _pthread_descr_struct): Add p_self and p_nr field.
* manager.c (__pthread_handles): Define second element to point
to manager thread.
(__pthread_handles_num): Initialize to 2.
(__pthread_manager): Use INIT_THREAD_SELF with two arguments.
(pthread_start_thread): Likewise.
(pthread_handle_create): Start search for free slot at entry 2.
Initialize new fields p_self and p_nr.
Call __clone with CLONE_PTRACE if available.
(pthread_free): Call FREE_THREAD_SELF if available.
* pthread.c (__pthread_initial_thread): Initialize new fields.
(__pthread_manager_thread): Likewise.
(__pthread_initialize_manager): Call __clone with CLONE_PTRACE.
* cancel.c: Use THREAD_GETMEM and THREAD_SETMEM to access the
elements of the thread descriptor.
* condvar.c: Likewise.
* errno.c: Likewise.
* join.c: Likewise.
* manager.c: Likewise.
* pthread.c: Likewise.
* ptlongjmp.c: Likewise.
* semaphore.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* spinlock.c: Likewise.
* sysdeps/alpha/pt-machine.h (INIT_THREAD_SELF): Add extra parameter.
* sysdeps/i386/useldt.h: New file.
* sysdeps/i386/i686/pt-machine.h: Show how to use this file.
* sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM and
THREAD_SETMEM using __thread_self.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
Ulrich Drepper [Wed, 26 Aug 1998 00:07:26 +0000 (00:07 +0000)]
Update.
1998-08-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
to toplevel.
(_dl_unload_cache): New function.
* elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
* elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
* elf/rtld (dl_main): Unload map file before jumping to user code.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
Correct comment for O_LARGEFILE.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
Change O_LARGEFILE to correct value.
1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
* libio/iogetline.c (_IO_getline_info): Don't read anything for
N == 0. Patch by HJ Lu.
Ulrich Drepper [Tue, 25 Aug 1998 11:45:26 +0000 (11:45 +0000)]
Update.
1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
* argp/argp.h: Use __inline__ not inline.
* sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
an input register as being clobbered.
* sysdeps/i386/memset.c (memset): Likewise.
* sysdeps/i386/bzero.c (__bzero): Likewise.
* sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
Ulrich Drepper [Mon, 24 Aug 1998 16:46:16 +0000 (16:46 +0000)]
Update.
1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
* debug/catchsegv.sh: Handle text preceding backtrace better.
* sysdeps/generic/segfault.c: Allow register dump. Allow handler
to be installed for other signals than SIGSEGV.
* sysdeps/generic/register-dump.h: New file.
* sysdeps/i386/register-dump.h: New file.
* sysdeps/powerpc/register-dump.h: New file.
* sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
sigcontextinfo.h.
* sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
* sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
getresuid, getresgid.
1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
pointer in userland.
1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
and fix value.
1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/ldd.bash.in: Add missing quotes around $file. Make loop
over arguments Bourne shell compatible. Don't exit unsuccessfully
if nonelf returns successfully. Avoid duplicating most of the
script.
* sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
around $file.
1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/Versions (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
* libio/fileops.c (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Change the prefix to
"_IO_new_". Added to GLIBC_2.1.
* libio/libioP.h (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
"_IO_new_".
* libio/oldfileops.c (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
* csu/initfini.c: Return to .text before __gmon_start__.
* elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
(STO_MIPS_*): Rename from STO_*.
(STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
(STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
* math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
(main): e3s is negative on zero.
* math/atest-exp2.c: Likewise.
1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Makerules (install): Add comment about absolute paths.
Ulrich Drepper [Mon, 24 Aug 1998 16:35:28 +0000 (16:35 +0000)]
Handle text preceding backtrace better.
Andreas Schwab [Mon, 24 Aug 1998 01:42:29 +0000 (01:42 +0000)]
* sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
sys/reg.h.
* sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
* sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
Mon Aug 24 10:37:38 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
sys/reg.h.
* sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
* sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
Ulrich Drepper [Sun, 23 Aug 1998 18:23:26 +0000 (18:23 +0000)]
Update.
1998-08-23 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
__modify_ldt and modify_ldt.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Use orl $-1 instead of movl $-1 to save two bytes.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
Likewise.
1998-08-17 H.J. Lu <hjl@gnu.org>
* libio/Versions (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
* libio/fileops.c (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Change the prefix to
"_IO_new_". Added to GLIBC_2.1.
* libio/libioP.h (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
"_IO_new_".
* libio/oldfileops.c (_IO_do_write, _IO_file_attach,
_IO_file_close_it, _IO_file_finish, _IO_file_fopen,
_IO_file_init, _IO_file_overflow, _IO_file_seekoff,
_IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
_IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1998-08-23 Richard Henderson <rth@cygnus.com>
* Makeconfig (LDFLAGS): Remove.
* csu/initfini.c: Return to .text before __gmon_start__.
* elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
(STO_MIPS_*): Rename from STO_*.
(STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
(STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
* math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
(main): e3s is negative on zero.
* math/atest-exp2.c: Likewise.
* math/atest-sincos.c: Likewise.
1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Makerules (install): Add comment about absolute paths.
1998-08-23 Ulrich Drepper <drepper@cygnus.com>
* libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
array to NUL to handle maxlen==1 case correctly.
Patch by HJ Lu.
1998-08-23 Richard Henderson <rth@cygnus.com>
Ulrich Drepper [Sun, 23 Aug 1998 18:15:13 +0000 (18:15 +0000)]
(LDFLAGS): Remove.
Richard Henderson [Sun, 23 Aug 1998 04:10:13 +0000 (04:10 +0000)]
¸
1998-08-23 Ricahrd Henderson <rth@cygnus.com>
* sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
* sysdeps/alpha/elf/crtend.S: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
non-standard pv usage.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
a finite non-denormal, deferring to the full IEEE version otherwise.
* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
Early out for -0. Optimize for !_IEEE_FP_INEXACT.
* sysdeps/alpha/fpu/s_floor.c: New.
* sysdeps/alpha/fpu/s_floorf.c: New.
* sysdeps/alpha/fpu/s_ceil.c: New.
* sysdeps/alpha/fpu/s_ceilf.c: New.
Richard Henderson [Sun, 23 Aug 1998 04:07:48 +0000 (04:07 +0000)]
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue; non-standard pv usage.
Ulrich Drepper [Sat, 22 Aug 1998 08:12:05 +0000 (08:12 +0000)]
Fix typo.
* libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
Ulrich Drepper [Sat, 22 Aug 1998 07:55:20 +0000 (07:55 +0000)]
Update.
1998-08-22 Philip Blundell <philb@gnu.org>
* sysdeps/arm/bits/string.h: New file.
Ulrich Drepper [Fri, 21 Aug 1998 22:29:58 +0000 (22:29 +0000)]
Update.
1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
document it.
* sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
test for recent Linux 2.1.100+ headers.
Ulrich Drepper [Fri, 21 Aug 1998 17:28:41 +0000 (17:28 +0000)]
Update.
1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss_compat/compat-initgroups.c: Optimize NIS query.
Ulrich Drepper [Fri, 21 Aug 1998 17:22:56 +0000 (17:22 +0000)]
Update.
1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (elf/ldso_install): Put back. The problem still persists.
* elf/Makefile (ldso_install): Likewise.
1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
create weak alias.
* include/db.h: Declare __nss_db_open.
* db2/Versions: Export it.
* db2/makedb.c: Convert to use db2 API.
* nss/nss_db/db-XXX.c: Likewise.
* nss/nss_db/db-netgrp.c: Likewise.
* nss/nss_db/db-alias.c: Likewise.
(_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
sys_setresuid, already built automatically (or not).
* sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
instead of __syscall_setresuid and add back setresuid.
* sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
__syscall_setresuid.
1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
* libio/libioP.c (FILEBUF_LITERAL): Also initialize new _offset
Ulrich Drepper [Thu, 20 Aug 1998 23:06:56 +0000 (23:06 +0000)]
Update.
1998-08-20 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile (sh-ldd-rewrite): Remove expression to remove
BASH-ONLY marked region.
* elf/ldd.bash.in: Remove special BASH-ONLY markers.
1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
* libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
_IO_SYSSEEK fails.
* libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
* libio/oldfileops.c (FILEBUF_LITERAL): Also initialize new _offset
element.
Ulrich Drepper [Thu, 20 Aug 1998 22:59:31 +0000 (22:59 +0000)]
(_IO_pos_BAD): Define of type _IO_fpos64_t.
Roland McGrath [Thu, 20 Aug 1998 22:03:33 +0000 (22:03 +0000)]
1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
* elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
(common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
(sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
those magic comments, and to use /bin/sh for @BASH@.
(bash-ldd-rewrite): Use $(common-ldd-rewrite).
* elf/ldd.sh.in: File removed.
Roland McGrath [Thu, 20 Aug 1998 22:02:17 +0000 (22:02 +0000)]
1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
* elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
(common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
(sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
those magic comments, and to use /bin/sh for @BASH@.
(bash-ldd-rewrite): Use $(common-ldd-rewrite).
* elf/ldd.sh.in: File removed.
Ulrich Drepper [Thu, 20 Aug 1998 20:14:21 +0000 (20:14 +0000)]
Update.
1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
* pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
cast them to unsigned long int.
* pwd/putpwent.c (putpwent): Likewise.
Patch by John Tobey <jtobey@banta-im.com>.
1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
* libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
_IO_pos_BAD.
1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
* libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
_IO_SYSSEEK fails.
* sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
Add sys/sendfile.h.
* sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
* sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
* sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
* sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
sendfile.
Ulrich Drepper [Thu, 20 Aug 1998 19:16:48 +0000 (19:16 +0000)]
Update.
1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
Add umount and umount2.
* sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
* sysdeps/unix/sysv/linux/umount.S: New file.
* sysdeps/unix/sysv/linux/umount2.S: New file.
* sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
Define MNT_FORCE.
Ulrich Drepper [Thu, 20 Aug 1998 17:40:36 +0000 (17:40 +0000)]
Update.
1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
* elf/ldd.sh.in: Redirect warnings and error messages to stderr.
* elf/ldd.bash.in: Likewise.
* elf/sln.c: Avoid warning for no main prototype.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
O_WRITE.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
F_GETSIG.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1998-08-20 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/fpu/ieee754.h: Move to...
* sysdeps/arm/ieee754.h: ... here.
* sysdeps/arm/__longjmp.S: Put return value in correct register.
Don't set the condition flags unnecessarily.
* sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
registers correctly.
* sysdeps/arm/dl-machine.h: Fix problems with profiling code
(patch from Scott Bambrough).
* sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
* csu/initfini.c (_init): Don't check whether __gmon_start__ is
NULL, just call it unconditionally.
(__gmon_start__): Provide stub version as a weak symbol.
1998-07-30 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
by Scott Bambrough)
* sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
like `@' in .type directives.
* sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
* sysdeps/arm/bsd-_setjmp.S: Likewise.
* sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
(F_GETOWN): Likewise.
* sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
Linux 2.1.117).
1998-08-20 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
already defined.
1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
more entries.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.
* nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
* nis/ypclnt.c: Try binding dir only first time, could be to old.
* nis/yp_xdr.c: Remove 1024 byte limit.
* nis/ypupdate_xdr.c: Likewise.
* nis/nss_nis/nis-publickey.c: Make sure, nobody could send
wrong data.
Ulrich Drepper [Tue, 18 Aug 1998 23:27:30 +0000 (23:27 +0000)]
Update.
1998-08-18 Ulrich Drepper <drepper@cygnus.com>
* include/features.h: Define __USE_EXTERN_INLINES for recent
enough gcc.
* argp/argp.h: Define extern inline functions only if
__USE_EXTERN_INLINES is defined.
* libio/stdio.h: Likewise.
* math/math.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* sysdeps/generic/bits/sigset.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
* sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
to allow compilation without optimization.
1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
more entries.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.
* nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
* nis/ypclnt.c: Try binding dir only first time, could be to old.
* nis/yp_xdr.c: Remove 1024 byte limit.
* nis/ypupdate_xdr.c: Likewise.
* nis/nss_nis/nis-publickey.c: Make sure, nobody could send
wrong data.
Ulrich Drepper [Tue, 18 Aug 1998 23:16:34 +0000 (23:16 +0000)]
Define __USE_EXTERN_INLINES for recent enough gcc.
Roland McGrath [Tue, 18 Aug 1998 18:49:20 +0000 (18:49 +0000)]
1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
* Rules (binaries-static, binaries-shared static pattern rules):
Depend on lib%, not just libc%, from $(link-libc{,-static}).
* sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
this here, overriding Makeconfig generic value so we link against
the RPC libs.
Roland McGrath [Tue, 18 Aug 1998 18:48:58 +0000 (18:48 +0000)]
1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
* Rules (binaries-static, binaries-shared static pattern rules):
Depend on lib%, not just libc%, from $(link-libc{,-static}).
Ulrich Drepper [Mon, 17 Aug 1998 23:59:03 +0000 (23:59 +0000)]
Fix typo.
Ulrich Drepper [Mon, 17 Aug 1998 16:48:17 +0000 (16:48 +0000)]
Update.
1998-08-17 Ulrich Drepper <drepper@cygnus.com>
* posix/tstgetopt.c (options): Add NULL entry at end
Patch by Adrian Miranda <ade@psg.com>.
Ulrich Drepper [Sat, 15 Aug 1998 18:23:03 +0000 (18:23 +0000)]
Update.
1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
to 9.
Ulrich Drepper [Sat, 15 Aug 1998 14:14:10 +0000 (14:14 +0000)]
Update.
1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add PPC Diab relocations.
* malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
Ulrich Drepper [Sat, 15 Aug 1998 02:40:04 +0000 (02:40 +0000)]
Update.
1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
* manual/texinfo.tex: Update.
1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/backtrace.c: New file.
1998-08-14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
sigjmp_save.
* sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (install-symbolic-link): Fix spelling.
1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/elf.h (SHT_HIOS): Fix value.
1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
part of the expansion, this is undefined by the standard.
Ulrich Drepper [Thu, 13 Aug 1998 19:44:05 +0000 (19:44 +0000)]
Update.
1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
* posix/getconf.c: Add support for systems with incomplete confname.h.
* sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
* sysdeps/posix/wait3.c: Make it work.
1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
(elf/ldso_install): Remove.
* elf/Makefile (distribute): Add sln.c.
(others): Add sln.
(others-static): Add sln.
(install-rootsbin): Add sln.
(others-static): Add sln.
(ldso_install): Remove.
1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (install-clean-symbolic-link-list): Make phony.
* Makefile (install-symbolic-link): Make phony. Depend on
subdir_install for parallel makes.
1998-07-22 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile (distribute): Add sln.c
1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
* elf/sln.c: New file.
* Makerules (symbolic-link-prog, symbolic-link-list): New macros.
(install-clean-symbolic-link-list): New target.
(install): Depend on install-clean-symbolic-link-list.
(make-shlib-link): Changed for $(symbolic-link-list).
* Makefile (install-symbolic-link): New target.
(install): Depend on install-symbolic-link.
Ulrich Drepper [Wed, 12 Aug 1998 17:06:39 +0000 (17:06 +0000)]
Update.
1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
* include/unistd.h: Protect against multiple inclusion.
* posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
is defined, not is glob is defined.
* sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
* sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
xdr_string for ut_line, ut_name and ut_host.
1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
/var/mail in accordance with FHS 2.0.
Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1998-08-12 Richard Henderson <rth@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
Update aliases for cancelation.
* sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
playing with symbol versions.
(_hurd_canonicalize_directory_name_internal): Do not loop forever
for unknown root directories.
be reached.
Ulrich Drepper [Wed, 12 Aug 1998 17:03:37 +0000 (17:03 +0000)]
Protect against multiple inclusion.
Roland McGrath [Tue, 11 Aug 1998 23:28:49 +0000 (23:28 +0000)]
* sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
multiple inclusion protection.
(_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
_POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
define all these to 1.
(_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 11 Aug 1998 21:52:02 +0000 (21:52 +0000)]
1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/usleep.c: Include <unistd.h>.
(usleep): Return void.
1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
decl to inhibit warning in if_freenameindex defn.
* sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
* sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
* sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
* sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
* sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
* sysdeps/mach/usleep.c: Likewise.
* sysdeps/mach/hurd/bind.c (bind): Add a const.
* sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
* sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
* sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
* sysdeps/mach/hurd/reboot.c (reboot): Likewise.
* sysdeps/mach/usleep.c (usleep): Likewise.
* sysdeps/mach/hurd/chflags.c (chflags): Likewise.
* sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
* sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
* sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
(glob64): Fix typo.
* malloc/malloc.c (free_check, realloc_check): Don't cast to long for
%p arg to fprintf, since `void *' is the right type already.
Roland McGrath [Tue, 11 Aug 1998 21:41:09 +0000 (21:41 +0000)]
1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): Do not loop forever
for unknown root directories.
(__getcwd): Return NULL when the current root directory could not
be reached.
Roland McGrath [Tue, 11 Aug 1998 21:40:52 +0000 (21:40 +0000)]
1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): Do not loop forever
for unknown root directories.
(__getcwd): Return NULL when the current root directory could not
be reached.
Ulrich Drepper [Tue, 11 Aug 1998 18:44:11 +0000 (18:44 +0000)]
Update. Old logs are in ChangeLog.7.
1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
* string/strsignal.c (strsignal): Count real-time signals from zero.
See ChangeLog.8 for earlier changes.
Ulrich Drepper [Tue, 11 Aug 1998 13:58:00 +0000 (13:58 +0000)]
Update.
1998-08-11 13:57 Ulrich Drepper <drepper@cygnus.com>
* libio/fileops.c (_IO_file_sync): Use _IO_ssize_t for delta, not
_IO_size_t.
Ulrich Drepper [Mon, 10 Aug 1998 15:54:54 +0000 (15:54 +0000)]
Update.
1998-08-10 15:49 Ulrich Drepper <drepper@cygnus.com>
* include/dirent.h: Protect from double inclusion.
1998-08-09 Mark Kettenis <kettenis@phys.uva.nl>
* posix/glob.h: Add LFS support for glob and globfree.
* posix/Versions [GLIBC_2.1]: Add glob64 and globfree64.
* posix/Makefile (routines): Add glob64.
* sysdeps/generic/glob64.c: New file.
* sysdeps/unix/sysv/linux/glob64.c: New file.
* sysdeps/unix/sysv/linux/alpha/glob64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file.
* sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p):
Elide function.
* sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias
for __new_glob. Likewise for globfree64.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file.
1998-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove
-include flag from command.
Ulrich Drepper [Mon, 10 Aug 1998 00:16:35 +0000 (00:16 +0000)]
Update.
1998-08-10 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_db/db-XXX.c (_nss_db_getXXX): If buffer is too small
decrement `entidx' to allow retrieving the same entry again.
Ulrich Drepper [Sun, 9 Aug 1998 22:34:19 +0000 (22:34 +0000)]
Update.
1998-08-09 22:32 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/powerpc/ffs.c: Fix typo. Add support for ffsl.
Patch by Matt McLean <keys@yikes.com>.
Ulrich Drepper [Sun, 9 Aug 1998 22:16:07 +0000 (22:16 +0000)]
Update.
1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/bits/setjmp.h: Use word to save condition
registers.
* sysdeps/powerpc/setjmp.S: Save condition registers.
* sysdeps/powerpc/__longjmp.S: Restore condition registers.
Ulrich Drepper [Sun, 9 Aug 1998 17:39:48 +0000 (17:39 +0000)]
Update.
1998-08-09 09:40 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_files/files-XXX.c (internal_getent): In case of an read
error do not trust errno value, set it to ENOENT.
* db2/db_185.h: Move __ prototypes into include/* header.
* dirent/dirent.h: Likewise.
* elf/dlfcn.h: Likewise.
* gmon/sys/gmon.h: Likewise.
* grp/grp.h: Likewise.
* intl/libintl.h: Likewise.
* io/fcntl.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/sys/statvfs.h: Likewise.
* libio/stdio.h: Likewise.
* login/utmp.h: Likewise.
* misc/mntent.h: Likewise.
* misc/search.h: Likewise.
* misc/sys/file.h: Likewise.
* misc/sys/ioctl.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/uio.h: Likewise.
* misc/sys/ustat.h: Likewise.
* posix/unistd.h: Likewise.
* posix/sys/times.h: Likewise.
* posix/sys/wait.h: Likewise.
* pwd/pwd.h: Likewise.
* resource/ulimit.h: Likewise.
* resource/sys/resource.h: Likewise.
* setjmp/setjmp.h: Likewise.
* shadow/shadow.h: Likewise.
* signal/signal.h: Likewise.
* socket/sys/socket.h: Likewise.
* stdlib/alloca.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/string.h: Likewise.
* sysdeps/generic/sys/mman.h: Likewise.
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
* termios/termios.h: Likewise.
* time/time.h: Likewise.
* time/sys/time.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* include/alloca.h: Add __ prototypes here.
* include/db_185.h: Likewise.
* include/dirent.h: Likewise.
* include/dlfcn.h: Likewise.
* include/fcntl.h: Likewise.
* include/grp.h: Likewise.
* include/libintl.h: Likewise.
* include/mntent.h: Likewise.
* include/pwd.h: Likewise.
* include/sched.h: Likewise.
* include/search.h: Likewise.
* include/setjmp.h: Likewise.
* include/shadow.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/termios.h: Likewise.
* include/time.h: Likewise.
* include/ulimit.h: Likewise.
* include/unistd.h: Likewise.
* include/utmp.h: Likewise.
* include/wchar.h: Likewise.
* include/sys/file.h: Likewise.
* include/sys/gmon.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/mman.h: Likewise.
* include/sys/resource.h: Likewise.
* include/sys/select.h: Likewise.
* include/sys/socket.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/statfs.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/times.h: Likewise.
* include/sys/uio.h: Likewise.
* include/sys/wait.h: Likewise.
* Makeconfig (+includes): Search in $(..)include first.
* io/fstat.c: Undefine __fstat.
* io/lstat.c: Undefine __lstat.
* wcsmbs/Versions: Add __mbrlen.
Ulrich Drepper [Sun, 9 Aug 1998 09:02:55 +0000 (09:02 +0000)]
(sigaction): Handle NULL argument.
1998-08-08 11:18 H.J. Lu <hjl@gnu.org>
* signals.c (sigaction): Handle NULL argument.
Ulrich Drepper [Sun, 9 Aug 1998 00:44:23 +0000 (00:44 +0000)]
Update.
1998-08-09 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
Ulrich Drepper [Sat, 8 Aug 1998 20:02:34 +0000 (20:02 +0000)]
Update.
1998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
* manual/filesys.texi: Document truncate and ftruncate.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
* shadow/putspent.c: Lock stream while generating the output.
* sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
(__msgwrite): Rewrite accordingly.
* sunrpc/svc_unix.c: Likewise.
* sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
(sysdep_routines): Remove __sendmsg and __recvmsg.
* sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
* sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
* sysdeps/unix/sysv/linux/recvmsg.c: Removed.
* sysdeps/unix/sysv/linux/sendmsg.c: Removed.
* sysdeps/unix/sysv/linux/recvmsg.S: New file.
* sysdeps/unix/sysv/linux/sendmsg.S: New file.
* sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
struct ucred. Remove struct cmsgcred.
Patches by Thorsten Kukuk.
1998-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
1998-08-08 14:42 Ulrich Drepper <drepper@cygnus.com>
* argp/argp-help.c: Prepare to be used outside glibc without gcc by
adding usual alloca cruft.
Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
1998-04-05 Jim Meyering <meyering@ascend.com>
* lib/regex.c (WIDE_CHAR_SUPPORT): Define.
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.
1998-08-07 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
* sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
MINSIGSTKZ and SIGSTKSZ. Definitions match BSD.
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
instead of SA_ONSTACK.
* sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
sigaltstack, and created a weak alias. Use SS_DISABLE and
SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
* sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
of SA_ONSTACK. Call __sigaltstack instead of sigaltstack.
* sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
instead of SA_ONSTACK.
* sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
* sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Use SS_DISABLE instead of SA_DISABLE. Use SS_ONSTACK instead of
SA_ONSTACK where appropriate.
* sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
Likewise.
* sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
Likewise.
* sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
Likewise.
* manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
the `ss_flags' member of `struct sigaltstack'.
1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
(shared-only-routines): Likewise.
* libio/oldtmpfile.c: New file
* stdio-common/tmpfile.c: Use __fdopen and __close.
[USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. Put
tmpfile on symbol version GLIBC_2.1.
* stdio-common/tmpfile64.c: Use __fdopen and __close.
[USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
* stdio-common/Version [GLIBC_2.1]: Add tmpfile.
* stdio-common/tempnam.c: Use __strdup instead of strdup.
* sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
alias.
* sysdeps/generic/fdopen.c: Likewise.
* sysdeps/mach/hurd/fdopen.c: Likewise.
* stdio/stdio.h: Declare __fdopen.
* sunrpc/openchild.c: Use __fdopen instead of fdopen.
[USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
* sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
__stub_open64, it is never defined.
1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/iofopen64.c: Fix typo. Avoid unnessary casts.
* libio/iopopen.c: Unlink file before freeing it if command
creation failed. Avoid unnessary casts.
* libio/iofdopen.c: Avoid unnecessary cast.
* pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
_IO_funlockfile.
* pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
__grpalloc, __grpscan and the corresponding pwd functions, they
were removed long ago.
1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/libm-test.c (csqrt_test): Adjust epsilons.
(casinh_test): Likewise.
1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.sh: Fix typo. Remove second test output file.
1998-08-07 Cristian Gafton <gafton@redhat.com>
* pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
* shadow/putspent.c (putspent): Likewise.
* grp/putgrent.c: New file.
* grp/Makefile (routines): Add putgrent.
* grp/Versions [GLIBC_2.1]: Add putgrent.
* grp/grp.h: Add putgrent prototype.
1998-08-04 19:33 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: More ELF definitions.
Ulrich Drepper [Tue, 4 Aug 1998 17:22:28 +0000 (17:22 +0000)]
Update.
1998-08-04 16:53 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/tmpfile.c: Include unistd.h for close prototype.
* stdio-common/tmpfile64.c: Likewise.
* db2/makedb.c: Generate output file with same access permissions
the input file has.
* signal/signal.h: Pretty printing.
1998-08-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/mktemp.c: Add include <stlib.h> for prototype, remove
unneccessary includes.
* misc/mkstemp.c: Likewise.
Ulrich Drepper [Tue, 4 Aug 1998 15:06:28 +0000 (15:06 +0000)]
Update.
1998-08-04 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/sigthread.h: Use __sigset_t instead
of sigset_t.
Ulrich Drepper [Mon, 3 Aug 1998 16:47:01 +0000 (16:47 +0000)]
Update.
1998-08-03 16:36 Ulrich Drepper <drepper@cygnus.com>
* catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
is defined.
* catgets/open_catalog.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* intl/loadmsgcat.c: Likewise.
* locale/findlocale.c: Likewise.
* locale/loadlocale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* malloc/malloc.c: Likewise.
* elf/elf.h: Fix typo.
* math/Makefile: Use $(LN_S) instead of ln.
* sysdeps/generic/getpgid.c: Fix return type.
1998-08-01 02:49 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
__gen_tempname and simplify the interface. Strip out the
code to do path search and create FILE objects. This function
now takes a mktemp() style template and returns either a name
or a file descriptor.
(__path_search): New function; searches for directories for
temp files.
* sysdeps/generic/tempname.c: Stub out __gen_tempname and
__path_search, not __stdio_gen_tempname.
* libio/stdio.h: Prototype __gen_tempname and __path_search,
not __stdio_gen_tempname.
* stdio/stdio.h: Likewise.
* stdio-common/tempnam.c: Use __path_search and __gen_tempname.
* stdio-common/tmpfile.c: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* stdio-common/tmpnam.c: Likewise.
* stdio-common/tmpnam_r.c: Likewise.
* misc/mkstemp.c: New file. Use __gen_tempname.
* misc/mktemp.c: Likewise.
* sysdeps/posix/mkstemp.c: Removed.
* sysdeps/posix/mktemp.c: Removed.
* sysdeps/generic/mkstemp.c: Removed.
* sysdeps/generic/mktemp.c: Removed.
1998-08-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* configure.in: Check, if door add-on is installed.
* config.make.in: Add have_doors.
* sunrpc/Makefile: Add HAVE_DOOR define.
* sunrpc/key_call.c: Add keyserv/door interface.
* sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
* sunrpc/clnt_unix.c: Likewise.
1998-08-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/netinet/in.h (IN_CLASSC): Correct mask.
Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
PR libc/727].
1998-08-03 10:23 Ulrich Drepper <drepper@cygnus.com>
* misc/Makefile: Fix installation problem with --disable-shared.
* posix/Makefile: Likewise.
1998-08-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/regex.c (re_search_2): Optimize searching for anchored
pattern if '^' cannot match at embedded newlines.
(regerror): Renamed from __regerror, which it should only be
called if _LIBC.
1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/glob.c: Remove obsolete cast.
1998-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Rules (tests): Fix last change.
Ulrich Drepper [Fri, 31 Jul 1998 18:02:14 +0000 (18:02 +0000)]
Update.
1998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
Add sys_setresuid.
1998-07-30 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
as real name for system call and make setresuid a weak alias. Set
caller to seteuid.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
`setresuid' syscall if availble. Fixes problems with sendmail
which expects `seteuid' to not set the saved user ID.
1998-07-30 20:09 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* time/tzset.c (__tzstring): Get rid of excessive cleverness
which was causing stack corruption.
1998-07-31 16:41 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
off-by-one in wordwrap algorithm when there' a space at the
beginning of the buffer.
1998-07-31 15:45 Ulrich Drepper <drepper@cygnus.com>
* Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
Ulrich Drepper [Fri, 31 Jul 1998 11:14:46 +0000 (11:14 +0000)]
Update.
1998-07-31 11:10 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add lots of new symbols from Irix and Solaris.
* sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
definition.
1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/xcrypt.c: Use only the first 8 characters of the password.
1998-07-30 21:06 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/generic/glob.c: Undefine strdup before defining it,
because bits/string2.h may have defined it already.
1998-07-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdio-common/vfscanf.c: Optimize looking for type modifiers.
Fix recognition of 'a' modifier vs. 'a' format.
(TYPEMOD): Removed.
* stdio-common/printf-parse.h (parse_one_spec): Optimize looking
for type modifiers. Fix recognition of 'hh' modifier.
1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/svc_unix.c: Fix typo.
1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
syscall.
Ulrich Drepper [Thu, 30 Jul 1998 12:47:25 +0000 (12:47 +0000)]
Update.
1998-07-30 12:38 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/ffs.c: Add ffsl entry point.
* sysdeps/i386/i686/ffs.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/powerpc/ffs.c: Likewise.
* sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
on i686.
1998-07-30 Richard Henderson <rth@cygnus.com>
* elf/Makefile (ld-map): Move initialization below Makeconfig include.
* sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
work around gcc bug.
* string/string.h (ffsl, ffsll): Prototype.
* string/Version (GLIBC_2.1): Add them.
* sysdeps/alpha/ffs.S: Schedule for EV5. Add ffsl and ffsll
entry points.
* sysdeps/alpha/ffsll.S: New file. Empty.
* sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
* sysdeps/generic/ffsll.c: New file.
* string/Makefile (routines): Add ffsll.
1998-07-30 10:03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
strictly ISO C compliant programs.
* sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
1998-07-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/protocols/rwhod.h: Correct typo in comment.
* configure.in: Use better regex for gettext.
Ulrich Drepper [Wed, 29 Jul 1998 23:35:28 +0000 (23:35 +0000)]
Update.
* elf/sprof.c: Implement -c/--call-pairs option to emit list with
caller/callee and the number of calls.
Ulrich Drepper [Wed, 29 Jul 1998 23:01:54 +0000 (23:01 +0000)]
Update.
* elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
Ulrich Drepper [Wed, 29 Jul 1998 21:34:20 +0000 (21:34 +0000)]
Update.
1998-07-29 21:29 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
Ulrich Drepper [Wed, 29 Jul 1998 18:41:02 +0000 (18:41 +0000)]
Update.
1998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
(__getpid): New function.
(abort): New function.
* nis/nis_cache2_xdr.c: Removed.