aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1995-05-20Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+31
* sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle args on stack from kernel. * posix/Makefile, sysdeps/alpha/Makefile, * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile, * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs. * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the kernel on the stack properly. * set-init.c: Never call _init/_fini; just run __libc_subinit. * Makerules (LDFLAGS-c.so): Add -nostartfiles. * mach/Machrules (LDFLAGS-$(interface.so)): Likewise. * configure.in: Move defaulting of --with-elf and --with-gnu-* based on host os outside the AC_CACHE_VAL for the sysdirs calculation. * Makeconfig (localedir, nlsdir): New variables. * values.h: New file. * Makefile (headers): Add values.h. * locale/Makefile (distribute): Add error.h. * locale/localedef.c: Include "error.h". (main): Use error_message_count instead of warning_cntr.
1995-05-18Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+34
Merged 1003.2 locale and localedef programs by Ulrich Drepper. * locale/charmap.c: New file. * locale/collate.c: New file. * locale/config.h: New file. * locale/ctype.c: New file. * locale/ctypedump.c: New file. * locale/hash.c: New file. * locale/hash.h: New file. * locale/iso-4217.def: New file. * locale/keyword.gperf: New file. * locale/keyword.h: New file. * locale/libintl.h: New file. * locale/locale.c: New file. * locale/localedef.c: New file. * locale/localedef.h: New file. * locale/locfile-lex.c: New file. * locale/locfile-parse.c: New file. * locale/messages.c: New file. * locale/monetary.c: New file. * locale/numeric.c: New file. * locale/token.h: New file. * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex. * posix/Makefile (headers): Add regex.h. (routines): Add regex. (gpl2lgpl): Add regex.c and regex.h. Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined, instead of hard-coding "/share/locale".
1995-05-15Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+18
* configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*. Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * elf/elf.h (ELFMAG, SELFMAG): New macros. Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu> * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in the case where it starts out less than _hurd_dtablesize. Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable, make sure the new size exceeds FIRST_FD.
1995-05-11Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+7
* sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro. * Makerules (install-lib.so): Add %.so for each %_pic.a. * sysdeps/mach/hurd/i386/init-first.c: New file.
1995-05-09Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+42
* sysdeps/i386/elf/start.S (__data_start): Define this symbol as the first thing in .data. * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf. * hurd/hurdstartup.h: New file. * sysdeps/i386/elf/start.S: Give two operands to `testl' when they are the same. Use `jz' instead of `jeq'. * Makeconfig (config.make): Depend on config.status, and run it to update. (config.status): New target; depend on configure. If target (config.status) exists, run it with --recheck to update; if not, give error msg saying to run confiugre by hand. * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)] (sysd-Makefile-force): Set this variable to FORCE in this case, to force a rebuild of sysd-Makefile. (sysd-Makefile): Depend on $(sysd-Makefile-force). Write into the file sysd-Makefile-sysdirs:=$(sysdirs). [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this variable to FORCE in this case, to force a rebuild of sysd-rules. (sysd-rules): Depend on $(sysd-rules-force). Write into the file sysd-rules-sysdirs:=$(sysdirs). * Makerules (LDFLAGS-c.so): Change ld option -interp to -dynamic-linker. * Makerules (do-install-program): New canned sequence. (install-bin, install-sbin): Use it. (install for lib*.so): Use it instead of $(do-install). Fix .so installation rules to handle lib*.so and *.so, deal with $(libprefix) right, and install *.so as *.so$($(*.so)-version); i.e. "libc.so-version = .1". Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * elf/do-rel.h: New file, split out of dynamic-link.h. * elf/Makefile (distribute): Add do-rel.h.
1995-05-08Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+22
* Makeconfig (+gccwarn): Add -Winline. * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is set, avoid abort_rpcs, and use reply and intr ports saved in SS->context. * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port from SS->context. Don't clear SS->context. * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when setting SS->context. If msg_sig_post returns, re-lock and clear SS->context. Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * mach/Makefile (errsystems.c): Comment out generation rule. * sysdeps/mach/_strerror.c: Consider a system unknown if its bad_sub member is null. * mach/mig-alloc.c: Add weak alias to non-__ name.
1995-05-04Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-1/+22
* sysdeps/mach/hurd/dup2.c: Fixed broken test in last change. * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE function. Duh. * hurd/Makefile (distribute): Added hurdstartup.h. * hurd/hurd.h: Remove _hurd_startup decl. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__ ((__unused__)) instead of gratuitous self reference. * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the table if FD2 doesn't fit. * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit, not the current table size. * sysdeps/i386/init-first.c: New file. * sysdeps/stub/init-first.c: New file.
1995-05-02* sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.Roland McGrath1-0/+9
* sysdeps/i386/dl-machine.h: New file. * sysdeps/stub/dl-machine.h: New file. * sysdeps/i386/dl-runtime.c: New file. * sysdeps/stub/dl-runtime.c: New file. * sysdeps/i386/elf/start.S: New file. * sysdeps/generic/dl-sysdep.c: New file. * sysdeps/mach/hurd/dl-sysdep.c: New file.
1995-05-02Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+26
Implemented runtime dynamic linker to support ELF shared libraries. * elf/Makefile: Added rules to make ld.so and libdl. * elf/dl-error.c: New file. * elf/dl-fini.c: New file. * elf/dl-init.c: New file. * elf/dl-load.c: New file. * elf/dl-lookup.c: New file. * elf/dl-object.c: New file. * elf/dl-reloc.c: New file. * elf/dlclose.c: New file. * elf/dlerror.c: New file. * elf/dlopen.c: New file. * elf/dlsym.c: New file. * elf/dynamic-link.h: New file. * elf/link.h: New file. * elf/rtld.c: New file. Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make libc.so runnable. * version.c (__libc_print_version): Add "et al" and missing NL to author credit.
1995-05-01Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+4
* posix/glob.c (S_ISDIR): Define if undefined.
1995-04-27Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+59
* configure.in: Unless --without-fp, prepend */fpu before each machine dir in $mach; don't prepend FPU dirs at end. If --with-elf, prepend MACHINE/elf directories at end; don't insert them into $mach. * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps. * sysdeps/stub/clock.c: Added stub warning. * sysdeps/stub/dirfd.c: Likewise. * sysdeps/stub/exc2signal.c: Likewise. * sysdeps/stub/fdopen.c: Likewise. * sysdeps/stub/flock.c: Likewise. * sysdeps/stub/fpathconf.c: Likewise. * sysdeps/stub/ftruncate.c: Likewise. * sysdeps/stub/gtty.c: Likewise. * sysdeps/stub/isatty.c: Likewise. * sysdeps/stub/killpg.c: Likewise. * sysdeps/stub/madvise.c: Likewise. * sysdeps/stub/mkstemp.c: Likewise. * sysdeps/stub/mktemp.c: Likewise. * sysdeps/stub/mprotect.c: Likewise. * sysdeps/stub/msync.c: Likewise. * sysdeps/stub/pathconf.c: Likewise. * sysdeps/stub/poll.c: Likewise. * sysdeps/stub/raise.c: Likewise. * sysdeps/stub/readv.c: Likewise. * sysdeps/stub/setenv.c: Likewise. * sysdeps/stub/setlogin.c: Likewise. * sysdeps/stub/sigaltstack.c: Likewise. * sysdeps/stub/sigintr.c: Likewise. * sysdeps/stub/sigstack.c: Likewise. * sysdeps/stub/sleep.c: Likewise. * sysdeps/stub/sstk.c: Likewise. * sysdeps/stub/stime.c: Likewise. * sysdeps/stub/stty.c: Likewise. * sysdeps/stub/syscall.c: Likewise. * sysdeps/stub/sysconf.c: Likewise. * sysdeps/stub/truncate.c: Likewise. * sysdeps/stub/ualarm.c: Likewise. * sysdeps/stub/usleep.c: Likewise. * sysdeps/stub/utimes.c: Likewise. * sysdeps/stub/writev.c: Likewise. * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword. Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null. Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c (glob): If GLOB_MARK set, stat names to find directories and append slashes to them in final pass before sorting. (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the slash; never append it here.
1995-04-24Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+30
* mach/Machrules [interface-library] (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to -nostdlib. * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock _hurd_siglock only around initial task creation in parent. Use _hurd_critical_section_unlock at end. Handle dead name rights properly, and deal with a send right dying while we try to copy it. For the time being, use assert_perror for kernel and proc RPC failures. Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * extra-lib.mk: Don't include $(o-iterator); construct it by hand using $(object-suffixes-$(lib)) instead. * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable. * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so). (LDFLAGS-c.so): New variable. * resolv/res_init.c (res_init): Don't clobber _res.options with RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT. * hurd/hurd.h: Declare _hurd_startup. * hurd/hurdstartup.c: New file. * hurd/Makefile (routines): Add hurdstartup.
1995-04-21* hurd/hurdsig.c: Use assert_perror for many calls which shouldRoland McGrath1-0/+3
never fail and previously were not checked.
1995-04-21Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-1/+7
* 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.
1995-04-20.Roland McGrath1-0/+1
1995-04-19Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-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>
1995-04-19 * time/tzset.c (__tzname, __daylight, __timezone): Don't check ↵Brendan Kehoe1-0/+5
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.
1995-04-18* libc-symbols.h (strong_alias_asm, strong_alias): UseRoland McGrath1-0/+2
ASM_GLOBAL_DIRECTIVE on the alias.
1995-04-18Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+9
* 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.
1995-04-17* sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning Brendan Kehoe1-1/+6
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
1995-04-16 * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining ↵Brendan Kehoe1-0/+5
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.
1995-04-15* sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double) Brendan Kehoe1-0/+5
[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.
1995-04-15 * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. ↵Brendan Kehoe1-1/+13
* 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.
1995-04-15... changing to use /**/ instead of ! as comments Brendan Kehoe1-0/+1
* sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
1995-04-15 * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end. * ↵Brendan Kehoe1-1/+18
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.
1995-04-15 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be ↵Brendan Kehoe1-0/+3
preprocessor comments, not assembler comments. * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be preprocessor comments, not assembler comments.
1995-04-15 * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.Brendan Kehoe1-0/+4
Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org) * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
1995-04-14Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+5
* malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__ in place of inline.
1995-04-14* Makefile (distribute): Add ChangeLog.[0-9].Roland McGrath1-10374/+10
* 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.
1995-04-14* sysdeps/generic/expm1.c: #undef expm1 before weak_alias.Roland McGrath1-0/+9
* 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.
1995-04-14Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+5
* elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits being cleared are already known to be set. Thanks Ulrich.
1995-04-13Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+4
* posix/environ.c: Add weak alias `_environ'.
1995-04-12Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-950411Roland McGrath1-0/+13
* 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.
1995-04-10Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+8
* 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}_*.
1995-04-10Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+15
* 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.
1995-04-08* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): MakeRoland McGrath1-0/+3
sure these are simply-expanded variables.
1995-04-08* locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag inRoland McGrath1-0/+14
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.
1995-04-08* malloc/free.c (__malloc_safe_bcopy, memmove): Don't defineRoland McGrath1-0/+8
#ifdef emacs. * malloc/realloc.c: Likewise. * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include "_itoa.h". (_itoa): Function removed.
1995-04-08Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-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.
1995-04-06* hurd/hurdinline.c: Include signal.h first, so we don't defineRoland McGrath1-0/+9
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*.
1995-04-05* misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttynameRoland McGrath1-0/+3
and open.
1995-04-05Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+4
* sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
1995-04-04* sysdeps/unix/start.c: Remove spurious decl and #endif.Roland McGrath1-0/+2
1995-04-04Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+9
* 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.
1995-04-03* posix/execvp.c: Don't use stat to search path; just try execvRoland McGrath1-0/+3
until it works.
1995-04-02Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+15
* 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).
1995-04-01* Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir andcvs/libc-950402Roland McGrath1-0/+7
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.
1995-04-01Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1-0/+15
* 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.
1995-03-31 * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.Brendan Kehoe1-0/+1
* sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
1995-03-31 * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.Brendan Kehoe1-0/+4
Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org> * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.