about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * hurd/hurdsig.c: Use assert_perror for many calls which shouldRoland McGrath1995-04-213-41/+57
| | | | never fail and previously were not checked.
* Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-212-2/+12
| | | | | | | | * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Point the return address for sigreturn's frame at a "hlt" insn so it will definitely crash if sigreturn returns. HAVE_WEAK_SYMBOLS for doing weak_alias.
* .Roland McGrath1995-04-201-0/+1
|
* Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-191-1/+6
| | | | | | | * configure.in: Move $os tests to set $elf et al earlier, before construction of $sysnames. Instead of prepending MACHINE/elf to $sysnames, append &/elf after each elt appended to $mach. Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* * time/tzset.c (__tzname, __daylight, __timezone): Don't check ↵Brendan Kehoe1995-04-192-10/+9
| | | | | | | | | HAVE_WEAK_SYBMOLS for doing weak_alias. Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org) * time/tzset.c (__tzname, __daylight, __timezone): Don't check HAVE_WEAK_SYBMOLS for doing weak_alias.
* Move $os tests to set $elf et al earlier, before construction of $sysnames. ↵Roland McGrath1995-04-191-23/+17
| | | | Instead of prepending MACHINE/elf to $sysnames, append &/elf after each elt appended to $mach.
* RegeneratedRoland McGrath1995-04-191-270/+0
|
* * libc-symbols.h (strong_alias_asm, strong_alias): UseRoland McGrath1995-04-183-5/+48
| | | | ASM_GLOBAL_DIRECTIVE on the alias.
* Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-183-1/+36
| | | | | | | | | * configure.in (libc_cv_asm_global_directive): New check to define ASM_GLOBAL_DIRECTIVE. * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE. * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns.
* (main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns.Roland McGrath1995-04-181-5/+0
|
* * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning Brendan Kehoe1995-04-172-5/+11
| | | | | | | | | | of the byte that was zero, so we return a valid number. Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org) * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning of the byte that was zero, so we return a valid number. * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
* * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining ↵Brendan Kehoe1995-04-162-0/+8
| | | | | | | | | NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h. Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org) * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
* * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double) Brendan Kehoe1995-04-153-2/+7
| | | | | | | | | | [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'. * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double) [BITS_PER_MP_LIMB == 64]: Likewise. * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double) [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'. * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double) [BITS_PER_MP_LIMB == 64]: Likewise.
* * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. ↵Brendan Kehoe1995-04-1512-1/+24
| | | | | | | | | | | | | | | | | | * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise. * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise. * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise. * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise. * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise. * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise. * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise. * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise. * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise. * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise. * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise. * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise. * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise. * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise. * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise. * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise. * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise. * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise. * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise. * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
* ... changing to use /**/ instead of ! as comments Brendan Kehoe1995-04-152-2/+3
| | | | | * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
* * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end. * ↵Brendan Kehoe1995-04-1517-3/+36
| | | | | | | | | | | | | | | | | | | | | | sysdeps/unix/mips/fork.S (fork): Likewise. * sysdeps/unix/mips/pipe.S (fork): Likewise. * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise. * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise. * sysdeps/unix/mips/wait.S (__handler): Likewise. * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise. * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise. * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise. * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise. * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise. * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise. * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0' instead of `zero' for the li instruction. * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end. * sysdeps/unix/mips/fork.S (fork): Likewise. * sysdeps/unix/mips/pipe.S (fork): Likewise. * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise. * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise. * sysdeps/unix/mips/wait.S (__handler): Likewise. * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise. * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise. * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise. * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise. * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise. * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise. * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise. * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise. * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0' instead of `zero' for the li instruction.
* * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be ↵Brendan Kehoe1995-04-152-13/+18
| | | | | | | preprocessor comments, not assembler comments. * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be preprocessor comments, not assembler comments.
* * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.Brendan Kehoe1995-04-152-0/+7
| | | | | | Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org) * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
* Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-141-0/+5
| | | | | * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__ in place of inline.
* * Makefile (distribute): Add ChangeLog.[0-9].Roland McGrath1995-04-1412-10407/+10503
| | | | | | | | | | | | * configure.in: Add check for .set directive. * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE. * Makerules [! subdir] (O%-lib): Don't prepend ../. * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. See ChangeLog.4 for earlier changes.
* * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.Roland McGrath1995-04-144-15/+56
| | | | | | | | | * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias, strong_alias_asm): Use `foo = bar' syntax instead. * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move $host_os checks to set gnu_ld/as and elf before sysdirs generation. Fix $with_fp test. [$elf=yes]: Prepend MACHINE/elf directory.
* Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-142-2/+11
| | | | | * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits being cleared are already known to be set. Thanks Ulrich.
* Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-132-0/+8
| | | | * posix/environ.c: Add weak alias `_environ'.
* Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-950411Roland McGrath1995-04-126-4/+39
| | | | | | | | | | | | | * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc. * sysdeps/i386/sub_n.S [PIC]: Likewise. * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element word `const'. * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to $(foo-$(suffix $@)). * manual/Makefile (chapters-incl): Filter out summary.texi.
* Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-103-2/+12
| | | | | | | | * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn a weak symbol instead of literal "STRTOF". * locale/setlocale.c: Work around ld bug: don't weakify refs to _nl_{current,C}_*.
* Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-103-5/+24
| | | | | | | | | | | | | | | | * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs). * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy. * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining. * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these #ifdef emacs, but only #ifndef memmove. * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to safe_bcopy. (memmove): Define only if undefined. * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined. (_itoa): Use it in defn.
* * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): MakeRoland McGrath1995-04-082-3/+11
| | | | sure these are simply-expanded variables.
* * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag inRoland McGrath1995-04-087-7/+48
| | | | | | | | | | | | | | | mmap call. * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4 for these too. * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly set c_oflag value. * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash. * locale/Makefile (categories): Uncomment collate. * locale/lc-collate.c: New file.
* * malloc/free.c (__malloc_safe_bcopy, memmove): Don't defineRoland McGrath1995-04-082-23/+15
| | | | | | | | | #ifdef emacs. * malloc/realloc.c: Likewise. * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include "_itoa.h". (_itoa): Function removed.
* Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-081-0/+9
| | | | | | | | | * malloc/free.c: Remove use of `assert'. * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to __malloc_safe_bcopy; #define safe_bcopy. * malloc/free.c: Cope with systems lacking `memmove'. (_free_internal): Cast result of _malloc_internal.
* Accept -lites* as op sys.Richard M. Stallman1995-04-071-2/+4
|
* * hurd/hurdinline.c: Include signal.h first, so we don't defineRoland McGrath1995-04-064-4/+14
| | | | | | | | | | its inlines too. * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead of -1 to avoid compiler warning. * configure.in (host_os=linux*): Set elf=yes for this, not just linux*elf*.
* * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttynameRoland McGrath1995-04-052-0/+23
| | | | and open.
* Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-052-2/+6
| | | | * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
* * sysdeps/unix/start.c: Remove spurious decl and #endif.Roland McGrath1995-04-042-2/+2
|
* Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-043-2/+16
| | | | | | | | | * misc/progname.c (program_invocation_name, program_invocation_short_name): Make these initialized data definitions. * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference so gcc doesn't optimize out the function entirely.
* * posix/execvp.c: Don't use stat to search path; just try execvRoland McGrath1995-04-032-45/+25
| | | | until it works.
* Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-027-5/+183
| | | | | | | | | | | | | | | * sysdeps/mach/hurd/i386/trampoline.c: Add a link to SS->active_resources, so that _hurdsig_longjmp_from_handler will be called when a longjmp unwinds the signal frame. * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the SS->active_resources chain added by _hurd_setup_sighandler. * hurd/sigunwind.c: New file. * hurd/Makefile (sig): Add sigunwind. * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*. * MakeTAGS (tags-sources): Include $(all-dist). [subdir] (all-dist): Define to $(distribute).
* * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and cvs/libc-950402Roland McGrath1995-04-013-6/+17
| | | | | | | | parent objdirs. * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by filtering out $($(lib)-inhibit-o); use that instead of $(object-suffixes) in all the other variables.
* Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-016-109/+39
| | | | | | | | | | | | | | | * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero if undefined. * string/strxfrm.c: Just copy the string (for now). * string/strcoll.c: Just call strcmp (for now). * mach/Makefile (lock): Add mutex-init. * mach/mutex-solid.c (_cthread_mutex_lock_routine, _cthread_mutex_unlock_routine): Variables removed. (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub. (__mutex_init): Function moved to new file mutex-init.c. * mach/mutex-init.c: New file, broken out of mutex-solid.c.
* New file, broken out of mutex-solid.c.Roland McGrath1995-04-011-0/+30
|
* * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.Brendan Kehoe1995-03-312-1/+2
| | | | * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
* * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.Brendan Kehoe1995-03-312-1/+5
| | | | | | Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org> * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
* Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-03-303-2/+66
| | | | | | | * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though both are zero). * elf/dlfcn.h: New file.
* * Make-dist (README): Commit it to CVS if there is a CVS directory.Roland McGrath1995-03-2931-2/+97
|
* Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-03-296-31/+46
| | | | | | | | | More changes from Germano Caronni <caronni@tik.ethz.ch>: * malloc/free.c: Relocate _heapinfo when that allows us to return core to the system. * malloc/malloc.c: Move #include <errno.h> outside #ifndef _MALLOC_INTERNAL.
* * mach/Makefile (headers): Add mach/mach_traps.h.Roland McGrath1995-03-274-4/+8
| | | | * Makerules ($(installed-libcs) rule): Fix typos.
* * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.Roland McGrath1995-03-278-3/+77
| | | | | | | | | | * sysdeps/stub/revoke.c: New file. * misc/Makefile (routines): Add revoke. * posix/unistd.h [__USE_BSD] (revoke): Declare it. * sysdeps/generic/pty.c (openpty, forkpty): Declare return types. (forkpty): Declare login_tty. * misc/logwtmp.c (logwtmp): Declare to return void. * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
* Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-03-2722-40/+682
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/unistd.h [__USE_BSD] (ttyslot): Declare it. * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define unless L_SET already defined. * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET already defined. Incorporated -lutil library from 4.4-Lite. * misc/Makefile (extra-libs, libutil-routines): New variables. * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c, sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite. Support simple, light-weight unwind-protect mechanism for longjmp. * setjmp/longjmp.c: Call _longjmp_unwind first thing. * sysdeps/mach/hurd/jmp-unwind.c: New file. * sysdeps/stub/jmp-unwind.c: New file. * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro. * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro. * setjmp/Makefile (routines): Add jmp-unwind. * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and `prevp' members into new substructure `resource'; add another such substructure `thread' and members `cleanup' (function ptr) and `cleanup_data' (generic ptr). (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK into the `_hurd_self_sigstate ()->active_resources' list via the `thread' substructure. * hurd/hurd/port.h (_hurd_port_cleanup): Declare it. (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and LINK->cleanup_data' to the port extracted. * hurd/hurd/signal.h (struct hurd_sigstate): New member `active_resources'. * hurd/port-cleanup.c: New file. * hurd/Makefile (routines): Add port-cleanup. * malloc/malloc.c: Include errno.h. Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
* * misc/Makefile (headers): Add utmp.h.Roland McGrath1995-03-245-4/+74
| | | | * misc/utmp.h: New file, incorporated from 4.4-Lite.