about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * ↵Richard Henderson1999-04-152-12/+12
| | | | | | | | | sysdeps/sparc/sparc32/strcpy.S: Likewise. 1999-04-15 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * sysdeps/sparc/sparc32/strcpy.S: Likewise.
* Update.Ulrich Drepper1999-04-151-1/+1
| | | | | | | 1999-04-15 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing compilation of file.
* Sparc merge from Jakub.Richard Henderson1999-04-145-2/+126
| | | | | | | | | | | | | | | | | 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz> * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-* architectures. * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS instead of CFLAGS. * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS instead of CFLAGS. For gnulib and string directories use -Wa,-Av9a gcc ASFLAGS. * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file. * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-* the same way as sparc-*.
* Update.Ulrich Drepper1999-04-142-11/+46
| | | | | | | | | | | | 1999-04-14 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be restarted after being interrupted by a signal. The parameters on the stack were corrupted by the signal handler. * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be restarted after being interrupted by a signal. The parameters on the stack were corrupted by the signal handler.
* Update.Ulrich Drepper1999-04-128-152/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-04-12 Philip Blundell <philb@gnu.org> * elf/elf.h: Update ARM definitions to match current gas2. * sysdeps/arm/bits/endian.h: Support big endian operation. * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl): Don't bother range checking the port number. * sysdeps/unix/sysv/linux/arm/vfork.S: New file. * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include the syscall name in assembler output for ease of debugging. * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined compiler behaviour. * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal] (sysdep_routines): Add sigrestorer. * string/tester.c (test_strcpy): Add new tests for unaligned arguments. * sysdeps/arm/bits/string.h: Delete inline implementations of strcpy and stpcpy.
* 1999-04-10 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-101-1/+2
| | | | * sysdeps/mach/hurd/Dist: Add clk_tck.c.
* Update.Ulrich Drepper1999-04-101-23/+127
| | | | | | | | | | | 1999-04-10 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to use binary search. Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. 1999-04-07 H.J. Lu <hjl@gnu.org> * manual/install.texi (Reporting Bugs): Add section about reported
* 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>Andreas Schwab1999-04-071-1/+4
| | | | | * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return directly if getdents returns with error set.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-061-2/+0
| | | | | | | | | | | * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-055-0/+190
| | | | | | | | | | | * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* Update.Ulrich Drepper1999-04-012-3/+14
| | | | | | | | 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
* Sparc string routines from Jakub.Richard Henderson1999-03-2964-4/+7781
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc32/sparcv8/Makefile: New file. * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y. * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise. * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise. * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file. * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file. * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file. * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file. * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/memset.S: New file. * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file. * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file. * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file. * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file. * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file. * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file. * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file. * sysdeps/sparc/sparc32/sparcv9/rem.S: New file. * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file. * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file. * sysdeps/sparc/sparc32/sparcv9/umul.S: New file. * sysdeps/sparc/sparc32/sparcv9/urem.S: New file. * sysdeps/sparc/sparc32/sparcv9/Makefile: New file. * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file. * sysdeps/sparc/sparc32/bcopy.c: New file. * sysdeps/sparc/sparc32/bzero.c: New file. * sysdeps/sparc/sparc32/memchr.S: New file. * sysdeps/sparc/sparc32/memcpy.S: New file. * sysdeps/sparc/sparc32/memmove.c: New file. * sysdeps/sparc/sparc32/memset.S: New file. * sysdeps/sparc/sparc32/stpcpy.S: New file. * sysdeps/sparc/sparc32/strchr.S: New file. * sysdeps/sparc/sparc32/strrchr.c: New file. * sysdeps/sparc/sparc32/strcpy.S: New file. * sysdeps/sparc/sparc32/strlen.S: New file. * sysdeps/sparc/sparc32/strcat.S: New file. * sysdeps/sparc/sparc32/strcmp.S: New file. * sysdeps/sparc/sparc64/bcopy.c: New file. * sysdeps/sparc/sparc64/bzero.c: New file. * sysdeps/sparc/sparc64/memchr.S: New file. * sysdeps/sparc/sparc64/memcmp.S: New file. * sysdeps/sparc/sparc64/memcpy.S: New file. * sysdeps/sparc/sparc64/memset.S: New file. * sysdeps/sparc/sparc64/stpcpy.S: New file. * sysdeps/sparc/sparc64/strcat.S: New file. * sysdeps/sparc/sparc64/strchr.S: New file. * sysdeps/sparc/sparc64/strcmp.S: New file. * sysdeps/sparc/sparc64/strcpy.S: New file. * sysdeps/sparc/sparc64/strcspn.S: New file. * sysdeps/sparc/sparc64/strlen.S: New file. * sysdeps/sparc/sparc64/strncpy.S: New file. * sysdeps/sparc/sparc64/strpbrk.S: New file. * sysdeps/sparc/sparc64/strrchr.c: New file. * sysdeps/sparc/sparc64/strspn.S: New file. * sysdeps/sparc/sparc64/stpncpy.S: New file. * sysdeps/sparc/sparc64/strncmp.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os): Append -fPIC, don't replace. * configure.in: Recognize sparcv8plus / sparcv9.
* Updated.Andreas Schwab1999-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/obstack.h (obstack_free): Explicitly convert __obj to char * to avoid C++ warning. Patch by yasushi@cs.washington.edu [PR libc/1035]. 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/filesys.texi (Temporary Files): mktemp and mkstemp are declared in stdlib.h, correct return value of mkstemp. Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines from Linux 2.2.5. * misc/regexp.h (compile): Cast some pointers to (char *) to avoid C++ warning.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-261-1/+4
| | | | | * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script if we build the profiled library.
* Thu Mar 25 23:57:57 1999 Roland McGrath <roland@yaumatei.ai.mit.edu>Roland McGrath1999-03-251-0/+7
| | | | | | * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
* 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-231-1/+10
| | | | | | | | | | | | * sysdeps/mach/hurd/Makefile: Undo last change. [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. * mach/Machrules (+preinit, +postinit, +interp, LDFLAGS-$(interface.so)): Variables removed. Interface libraries get linked just like other shared libraries. (interface.so): Fix typo in defn, so it works. ($(objpfx)$(interface.so)): Make it depend on libc.so.
* 1999-03-21 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-231-1/+1
| | | | | * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on $(link-rpcuserlibs).
* 1999-03-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-193-6/+135
| | | | | | | | * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW): Support whole-file locking (only) by using the file_lock RPC. This has very wrong semantics, but is better than nothing for the time being. (Correct POSIX.1 locking will require new RPCs in the Hurd protocols that will be somewhat hairy to specify.)
* 1999-03-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-191-0/+1
| | | | | * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for _itoa_word decl.
* 1999-03-18 Philip Blundell <philb@gnu.org> Andreas Schwab1999-03-191-0/+2
| | | | | | | | | * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 implementation. 1999-03-18 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 implementation.
* Update.Ulrich Drepper1999-03-171-7/+34
| | | | | | | 1999-03-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/segfault.c (write_strsignal): New function. (catch_segfault): Use it instead of calling strsignal.
* Update.Ulrich Drepper1999-03-152-2/+16
| | | | | | | | 1999-03-11 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable masks. * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
* * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: AddRoland McGrath1999-03-151-0/+15
| | | | | | | | | | __hurd_sigthread_stack_base, __hurd_sigthread_stack_end, __hurd_sigthread_variables, __hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd, __getpid, __libc_read, __libc_write, __lseek, __mmap, __open, __xstat, _exit, _hurd_intr_rpc_mach_msg and abort. 1999-03-15 Mark Kettenis <kettenis@gnu.org>
* 1999-03-15 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-03-151-31/+38
| | | | | | | | | * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1. 1999-03-15 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
* 1999-03-15 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-151-1/+1
| | | | | * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1.
* Update.Ulrich Drepper1999-03-142-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-13 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check if the opened master pty really is a pty. `isatty' checks for tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE if we are out of pty's. 1999-03-13 Mark Kettenis <kettenis@gnu.org> * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just opened file is closed on exec. * login/utmp_daemon.c (setutent_daemon): Likewise for the just opened socket. 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/llio.texi (File Position Primitive): Reformat @end command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020]. * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no entry is found. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* Update.Ulrich Drepper1999-03-102-0/+466
| | | | | | | | | | | | | 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdio-common/printf_fphex.c: Move to ... * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of extended precision number. * sysdeps/m68k/printf_fphex.c: New file. 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/stdio.texi: Fix typos.
* Update.Ulrich Drepper1999-03-082-0/+43
| | | | | | | | | | | | | | | 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdlib/strtod.c (round_and_return): Fix rounding of denormals. (DENORM_EXP): New define. Use it as the exponent for a denormal. * stdlib/strtold.c: Moved to ... * sysdeps/generic/strtold.c: ... here. * sysdeps/m68k/strtold.c: New file. 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal point if the precision is zero, even if the mantissa is non-zero.
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-081-33/+42
| | | | | | | * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the arguments into the request message buffer inside `send_rpc' subfunction. We must repeat the marshalling when retrying the RPC after a SIGTTOU delivery.
* Update.Ulrich Drepper1999-03-082-28/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change. /dev/pts status may change during runtime. 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last change. /dev/pts status can change during runtime. 1999-03-07 Thorsten Kukuk <kukuk@suse.de> * sunrpc/svc_tcp.c (readtcp): go into fatal error state if poll reports error. * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls, add some more sanity checks. * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for parser prototype. 1999-03-05 Thorsten Kukuk <kukuk@suse.de> * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops, change XDR_GETINT32/XDR_PUTINT32 to sue new functions. * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32. * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32. * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function for x_getint32. * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32. * nis/nis_print.c: Fix ctime argument for platforms where sizeof (time_t) != sizeof (int). 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
* 1999-03-07 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-071-4/+4
| | | | | * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use CLOCKS_PER_SEC instead of CLK_TCK.
* (Tools for Compilation): Update required texinfo version.Ulrich Drepper1999-03-071-4/+0
|
* Update.Ulrich Drepper1999-03-052-21/+31
| | | | | | | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember whether /dev/pts is available. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of dev_pts_available.
* (__elf_machine_runtime_setup): DT_PLTGOT has already been relocated. ↵Ulrich Drepper1999-03-041-26/+16
| | | | (__elf_machine_fixup_plt): Likewise. Minor cleanups.
* 1999-03-03 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-031-1/+4
| | | | | | | | | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, set O_NOTRANS as well. (__hurd_file_name_lookup_retry): At successful end of lookup, if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if it is a translated node not owned by root. (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash on the file name passed to LOOKUP.
* Update.Ulrich Drepper1999-03-021-1/+1
| | | | | | | 1999-03-02 Philip Blundell <pb@nexus.co.uk> * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
* Update.Ulrich Drepper1999-03-017-14/+14
| | | | | | | | | | | | | | 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to uc_link which is the right name according to Unix98. Reported by Craig Metz [PR libc/1001]. * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
* Update.Ulrich Drepper1999-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of @ifinfo. 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * iconvdata/Makefile: Always include iconv-rules, but disable rule to regenerate it if avoid-generated. * Makeconfig: Always include sys-dirs, but disable rule to regenerate it when avoid-generated. * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around rule to generate sysd-syscalls. * elf/Makefile (generated): Remove $(objpfx) from names.
* 1999-02-28 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-02-285-30/+30
| | | | | | | | | | | * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the actual length if the adress length is smaller than the input value. Change type of *LEN paramater to socklen_t. * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. * sysdeps/mach/hurd/accept.c (accept): Likewise. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN paramater to socklen_t.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-273-48/+9
| | | | | | | | | | | | | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning. * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. * hurd/hurdchdir.c: New file. * hurd/hurdfchdir.c: New file. * sysdeps/mach/hurd/chroot.c: Call _hurd_change_directory_port_from_name to do the work. * sysdeps/mach/hurd/chdir.c: Likewise. * sysdeps/mach/hurd/fchdir.c: Call _hurd_change_directory_port_from_fd to do the work. * hurd/fchroot.c: Likewise. * hurd/hurd.h: Declare them.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-02-271-4/+7
| | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning.
* Update.Ulrich Drepper1999-02-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a non-checked heap is restored when malloc checking was requested by the user. (struct malloc_state): Add using_malloc_checking. (MALLOC_STATE_VERSION): Increment minor. (using_malloc_checking, disallow_malloc_check): New variables. (__malloc_check_init): Use them. (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so that it can the chunk is properly instrumented when malloc checking is enabled. Set the new using_malloc_checking field. (malloc_hook_ini): Correct signature when _LIBC is not defined. 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/i386/dl-librecon.h (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second time. * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. Don't call elf_get_dynamic_info and _dl_setup_hash a second time if ld.so is the main program. * stdio-common/vfprintf.c (vfprintf): If precision or width is too
* Update.Ulrich Drepper1999-02-222-8/+11
| | | | | | | | 1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat instead of stat and fstat. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* Update.Ulrich Drepper1999-02-221-3/+9
| | | | | | | 1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/clock.c: Don't test return value of __times [PR libc/990].
* Update.Ulrich Drepper1999-02-222-10/+10
| | | | | | | | 1999-02-21 David S. Miller <davem@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix parentheses in Feb 2 changes. * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
* Update.Ulrich Drepper1999-02-211-3/+6
| | | | | | 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/glob.c (glob): Save previous errno.
* Update.Ulrich Drepper1999-02-211-8/+24
| | | | | | | 1999-02-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant lookup functions if it is too small.
* Update.Ulrich Drepper1999-02-207-25/+17
| | | | | | | | | | | | | | | | * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup): Likewise. * sysdeps/mips/mips64/dl-machine.h: Likewise.
* Update.Ulrich Drepper1999-02-208-32/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL, DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry. (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether rel and rela relocations can both happen and skip one test if this is not possible. (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC appropriately. * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are already relocated. * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already relocated. * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated. (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument. (_dl_map_object): DT_STRTAB entry is already relocated. * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are already relocated. * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already relocated. * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and DT_VERSYM entries are already relocated. (profile_fixup): Likewise. * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace all users. (match_symbol): DT_STRTAB entry is already relocated. (_dl_check_map_versions): Likewise. Also fo DT_VERSYM. * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated. * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info. (find_needed): DT_STRTAB entry is already relocated. (dl_main): Pass extra argument to elf_get_dynamic_info. DT_STRTAB entry is already relocated. * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and DT_PLTGOT entries are already relocated. (elf_machine_rela): Likewise for DT_SYMTAB. * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already relocated. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise. (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB. * grp/initgroups.c (initgroups): If function in current module was successful don't stop but continue to process to get all the groups.
* Update.Ulrich Drepper1999-02-201-72/+1
| | | | | | | | | | 1999-02-20 Ulrich Drepper <drepper@cygnus.com> * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of loop to clear `info'. * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc do the work and don't use inline assembler.