Skip to content
Snippets Groups Projects
  1. Nov 21, 1995
  2. Nov 20, 1995
    • Roland McGrath's avatar
      Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 054cc4cc
      Roland McGrath authored
      	* Makeconfig (+includes): Add $($(stdio)-include).
      	(libio-include): New variable.
      
      	* stdlib/strtod.c: Put weak_symbol after function defn.
      	* stdlib/strtol.c: Likewise.
      
      	* configure.in (--enable-libio): If not present, set $stdio to
      	"default".  Move stdio/libio check to end, so sysdeps fragments
      	can affect it.  Reset $stdio to "stdio" if it's "default".
      	* sysdeps/unix/sysv/linux/configure: New file.
    • Roland McGrath's avatar
      Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> · 96aa2d94
      Roland McGrath authored
      	* libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
      	libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
      	libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
      	libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
      	libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
      	libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
      	libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
      	libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
      	libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
      	libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
      	libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
      	libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
      	libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
      	libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
      	libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
      	New files.  Slightly modified version from Linux libc.
      
      	* libio/memstream.c, libio/vdprintf.c: New files for functions not
      	(yet) part of GNU libio.
      
      	* libio/iofopncook.c: Implementation of `fopencookie', mainly written
      	by Per Bothner.
      
      	* stdio-common/getline.c: Adapted to libio.
      	* stdio-common/snprintf.c: Adapted to libio.
      	* stdio-common/vfprintf.c: Adapted to libio.
      	* stdio-common/vfscanf.c: Adapted to libio.
      	* sysdeps/posix/tempname.c: Adapted to libio.
      96aa2d94
  3. Nov 18, 1995
    • Roland McGrath's avatar
      Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · a5a81fec
      Roland McGrath authored
      	* sysdeps/generic/Makefile (make_siglist): Add missing backslash.
      
      	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
      	function.
      
      	* hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
      	(_hurdsig_fault_init): Remove #if 0 from setting exception port.
      	Insert send right for SIGEXC before thread_set_special_port.
      	* hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
      	(_hurdsig_init): Remove #if 0 from setting exception port.
      
      	* sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
      	HURD_MSGPORT_RPC macro.
      2 tags
      a5a81fec
  4. Nov 17, 1995
    • Roland McGrath's avatar
      Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 4cb20290
      Roland McGrath authored
      	* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
      	function.
      	(_dl_sysdep_start): Move cleanup code there.
      
      	* Makeconfig (default-rpath): New variable.
      	(link-libc): Use it.
      	* elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
      	* elf/rtld.c (_dl_rpath): New variable.
      	(_dl_start): Set it from rtld_map's DT_RPATH.
      	Call _dl_setup_hash on rtld_map.
      	(dl_main): Cache address of _exit in variable before relocating,
      	and use that in later calls.  Call _dl_sysdep_start_cleanup before
      	relocating.  Keep track of dependency order while loading; remove
      	rtld_map from chain, and reinsert in proper order if there is a
      	dependency on it.
      
      	* sysdeps/generic/Makefile (make_siglist): Pass
      	-DSIGNUM_H=... with config's signum.h location.
      	* sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
      	signal numbers.
      	(HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
      	(main): Deansideclize output.
      
      	* elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
      	of DEFAULT_RPATH macro.
      	* elf/Makefile: Undo last change.
      
      	* sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
  5. Nov 16, 1995
    • Roland McGrath's avatar
      * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no · 8738e7f8
      Roland McGrath authored
      	error if weak.
      
      	* elf/Makefile (default-rpath): New variable.
      	(CPPFLAGS): Append -DDEFAULT_RPATH=....
      	* elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
      	hard-coded "/lib:/usr/lib".
    • Roland McGrath's avatar
      Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · ec967c06
      Roland McGrath authored
      	* sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
      	instead of stdio.
      	(_dl_sysdep_start): If passed user entry is zero and
      	EXEC_STACK_ARGS flag set, reset user entry to &_start.
      
      	* elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
      	DT_HASH element.
      
      	* libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
      	repeat weak decl using weak_symbol macro, in case using broken GCC
      	(<2.8).
      
      Wed Nov 15 18:49:55 1995  Ulrich Drepper  <drepper@ipd.info.uni-karlsruhe.de>
      
      	* sysdeps/i386/isnanl.c: New file.
      	* sysdeps/i386/isinfl.c: New file.
      ec967c06
  6. Nov 15, 1995
  7. Nov 14, 1995
  8. Nov 11, 1995
  9. Nov 10, 1995
    • Roland McGrath's avatar
      Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 75914335
      Roland McGrath authored
      	* hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
      	skip straight to pending check.  When UNTRACED, resume process
      	from suspension first.
      
      	* intl/Makefile (headers): New variable, libintl.h.
      	[gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
      	* configure.in: Check for --with-gettext arg.
      
      Fri Nov 10 13:51:30 1995  Richard Stallman  <rms@gnu.ai.mit.edu>
      
      	* malloc/malloc.c (get_contiguous_space): New function.
      	(morecore): Rewrite allocating new malloc info table.
      	(_malloc_internal): Use get_contiguous_space.
      
      Fri Nov 10 13:03:40 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
      
      	* hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
      	_hurd_msgport to be destroyed.
      
      	* Makerules (installed-libcs): Filter out %_pic.a.
      
      	* hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
      	to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
      
      	* hurd/Makefile (user-interfaces): Add hurd/process_request.
      75914335
  10. Nov 09, 1995
    • Roland McGrath's avatar
      Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · d7435cd8
      Roland McGrath authored
      	* termios/Makefile (headers): Add sys/ttychars.h.
      	* termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
      	for compatibility.
      
      	* signal/signal.h [__USE_BSD] (sig_t): New typedef.
      
      Wed Nov  8 15:12:47 1995  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
      
      	* sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
      	proc server that we are now traced.
      2 tags
      d7435cd8
  11. Nov 08, 1995
  12. Nov 07, 1995
    • Roland McGrath's avatar
      Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 86d2c878
      Roland McGrath authored
      	* elf/linux-compat.c: New file.
      	* elf/Makefile (distribute): Add linux-compat.c.
      	(generated): Add librtld.so.
      	[$(config-os)=linux*] (extra-objs): Add linux-compat.so.
      	[$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
      	(librtld.so): New target.
      	(ld.so, ld-linux.so.1): Make from librtld.so.
      
      	* elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
      	call our own DT_INIT if we have one (and then clear it).
      	(__dgettext): New weak function.
      
      	* intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
      	by hand instead.
      
      	* sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
      	instead of snprintf.
      
      	* sysdeps/mach/_strerror.c (_strerror_internal): Don't write
      	BUF[BUFLEN].
      
      	* elf/rtld.c (rtld_map): New static variable.
      	(_dl_start): Use a differently named local BOOTSTRAP_MAP for the
      	bootstrapping.  Then copy data into `rtld_map'.
      	(dl_main): Finish filling in rtld_map and link it into the chain,
      	instead of allocating a new structure.
      	(dl_main): Call _dl_compat_init if it is defined (use weak ref).
      
      	* elf/dlsym.c: Fix last change: move REF out of `doit'.
      
      
      	control.
      	using it.
      
      	and cwdir ports.
      	functions.
      	these.
      	$(libdir)(rtld-installed-name).
      
      	leading zeroes.
      
      	in the rhs.
      	pattern rule.
      
      
      	never know.
      	(fork): Use symbol_set_* macros for _hurd_fork_locks.
      	* sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
       	instead of unix/sysv.
      
      	-dynamic-linker.
      
      	(__printf_fp): Last arg ARGS is now `const void **const';
      
      	locale/C-ctype.c.
      	* sysdeps/mach/hurd/sigsuspend.c: Likewise.
      	* sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
      	alias gethostname.
      	setitmr
      	setpgrp
      	(_S_msg_get_exec_flags, _S_msg_set_exec_flags,
      	(abort_thread, abort_rpcs): Take same new arg and pass it through.
      86d2c878
    • Roland McGrath's avatar
      Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 51093422
      Roland McGrath authored
      	* elf/dlsym.c: Return the proper value, not just the defining
      	object's loadbase.
  13. Nov 06, 1995
  14. Nov 05, 1995
  15. Nov 03, 1995
  16. Nov 01, 1995
    • Roland McGrath's avatar
      * sysdeps/mach/hurd/getpriority.c (getpriority): Pass · 80b55d32
      Roland McGrath authored
      	PI_FETCH_TASKINFO to proc_getprocinfo and through
      	_hurd_priority_which_map.
      
      	* sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
      	_hurd_priority_which_map.
      	* hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
      	passed through to proc_getprocinfo RPC.
      	* hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
      2 tags
      80b55d32
  17. Oct 31, 1995
    • Roland McGrath's avatar
      Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · 3bbceb12
      Roland McGrath authored
      	* sysdeps/mach/hurd/group_member.c: New file.
      	* sysdeps/generic/group_member.c: New file.
      
      	* Makerules (lib-noranlib): Don't depend on $(install-lib).
      	(others): Do.
      	* extra-lib.mk: Fix test of $(lib)-no-lib-dep.
      
      Mon Oct 30 12:33:10 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
      
      	* Rules (others): Depend on $(extra-objs).
      
      	* posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
      	* posix/Makefile (routines): Add group_member.
      
      	* sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
      
      	* sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
      	SIG operand in asm so it must be a register.
      	Add dead return to quiet gcc warning.
      
      	* Makerules (sysd-rules): Write a defn for sysd-rules-done.
      	[! sysd-rules-done]: Inhibit deps.
  18. Oct 30, 1995
    • Roland McGrath's avatar
      Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> · 3e2ee727
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/poll.c: Don't define as stub.  Use
      	simulation of system call using select.
      
      	* sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
      
      	* sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
      
      	* sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
      	name usage (new->act, old->oact).
      	Correct asm statement because of gcc strangeness.
      	
      	* sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
      
      	* sunrpc/clnt_perr.c: Remove declaration of sys_errlist.  They
      	conflict with the ones in stdio.h.
      
      	* string/tester.c: %Z is no complete format.  Change to %Zd.
      
      	* sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
      3e2ee727
  19. Oct 27, 1995
  20. Oct 26, 1995
    • Miles Bader's avatar
    • Miles Bader's avatar
      Swap args to dir_link. · 29370ca4
      Miles Bader authored
      29370ca4
    • Roland McGrath's avatar
      Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · efc755b2
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
      
      	* sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
      	on syscall_error.  For PIC, it is a local label;
      	for non-PIC, JUMPTARGET expands to the unadorned name anyway.
      	* sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
      efc755b2
    • Roland McGrath's avatar
      Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> · 41334987
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
      	comment to the necessary ones.  Add _readv and _writev.
      
      	* sysdeps/unix/configure.in: Change syntax for system call test
      	candidates and adapt sed script for this.  Now use : to separate
      	syscall name and file name.
      
      	* sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
      	number is now set is DO_CALL.  So call with additional argument.
      	(DO_CALL): Takes an additional argument.  Load system call
      	number according to new argument.
      	(SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
      	* sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
      	locally using SYSCALL_ERROR_HANDLER macro.
      	* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
      	* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
      	Don't use DO_CALL macro; instead use lower level macros for better
      	control. 
      
      	* sysdeps/unix/sysv/linux/sigaction.h: New file.
      	* sysdeps/unix/sysv/linux/sigaction.S: File removed.
      	* sysdeps/unix/sysv/linux/signal.S: File removed.
      41334987
    • Roland McGrath's avatar
      * hurd/hurdstartup.c (_hurd_startup): Use new · c14e4c32
      Roland McGrath authored
      	exec_startup_get_info RPC from exec_startup.defs
      	in place of old exec_startup from exec.defs.  Remove kludge to
      	guess user entry and phdr locations, since the new RPC gives us
      	that info.
      
      	* sysdeps/generic/_strerror.c: Undo last change.
      c14e4c32
    • Roland McGrath's avatar
  21. Oct 25, 1995
    • Roland McGrath's avatar
      Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> · ff9bef7f
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/stat.c: New file.
      	* sysdeps/unix/sysv/linux/fstat.c: New file.
      	* sysdeps/unix/sysv/linux/lstat.c: New file.
      	* sysdeps/unix/sysv/linux/i386/stat.S: File removed.
      	* sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
      	* sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
      ff9bef7f
    • Roland McGrath's avatar
      * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): · 03a75825
      Roland McGrath authored
      	New macro.
      	(PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
      
      	* sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
      	only #ifndef PIC.
      
      	* Makeconfig (built-program-cmd): New variable.
      	* sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
      	* time/Makefile (zic-cmd): Likewise.
      
      	* hurd/Makefile (user-interfaces): Add hurd/exec_startup.
      03a75825
  22. Oct 24, 1995
  23. Oct 19, 1995
    • Roland McGrath's avatar
      * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use · 1d234146
      Roland McGrath authored
      	SYSCALL_PIC_SETUP before jumping to syscall_error.
      	* sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
      	(PSEUDO): Use it before jumping to syscall_error.
      	* sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
      	expect it in %ebx on entry.  Pop old %ebx value off stack after
      	using it. 
      1d234146
  24. Oct 18, 1995
  25. Oct 17, 1995
Loading