aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-06-14(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when ↵Roland McGrath
appropriate, not LINK->resource.next->thread.prevp!!!
1995-06-14undo previous change, not needed w/ configure fixBrendan Kehoe
1995-06-13* configure.in (libc_cv_asm_set_directive): Make sure that theRoland McGrath
`.set' directive really worked by linking against a reference to the alias.
1995-06-13Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/stub/init-first.c: Don't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init. * malloc/Makefile (gmalloc-routines): Remove valloc. (dist-routines): Add it here. * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to emacs_loser_valloc to inhibit valloc declaration below.
1995-06-13Don't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.Roland McGrath
1995-06-13 * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE): ↵Brendan Kehoe
Put in #undef. Tue Jun 13 12:13:18 1995 Brendan Kehoe (brendan@zen.org) * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE): Put in #undef.
1995-06-12Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* Makerules (lib%.so: lib%_pic.a): Moved this rule to after installation rules. * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so it uses the `.type' directive, which is necessary for shared libraries to work properly.
1995-06-12* elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmapRoland McGrath
from zero fill. * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF; if nonzero, don't let *REF satisfy the reference itself. * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl. * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to _dl_lookup_symbol. * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of R->r_offset to RESOLVE callback. * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF satisfy the reference itself if its value equals the reloc's offset. * elf/rtld.c (dl_main): Write a newline in fatal msg. * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
1995-06-08Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function. * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr and user entry point addresses. * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null. (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value. * Makerules (install-lib.so): Don't include libc.so. [$(build-shared)=yes] (install): Depend on the installed libc.so file. [$(build-shared)=yes] (install-no-libc.a): Make this, rather than install, depend on the installed $(install-lib.so) files. [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to allocate high addresses to avoid random mappings appearing there. (mmap): Comment out mask; always pass zero. Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro. * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call. * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME when successful. * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable. (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these variables, using the `threadvars' buffer. * elf/dl-reloc.c: Don't dereference L->l_prev when it's null. * sysdeps/i386/dl-runtime.c: Likewise. * elf/rtld.c (dl_main): Add missing NULL terminating argument in _dl_sysdep_fatal call. (__assert_fail): Likewise. * locale/Makefile (localedef-modules): Renamed ctype to locale-ctype so as not to conflict with the object file for ctype/ctype.c in the build directory. * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is lt_interpreter, first undo relocation done during bootstrapping.
1995-06-05Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC insists on seeing the following E as part of hex 7FE, and complaining that is wider than a byte.
1995-06-05Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* hurd/Makefile (sig): Added thread-self. * hurd/hurd.h: Declare hurd_thread_self. * hurd/thread-self.c: New file. Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * elf/rtld.c: Initialize RTLD_MAP.l_type. * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating the dynamic linker itself.
1995-05-31Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* mach/Makefile (server-interfaces): Removed notify and device_reply. For shlibs with eager binding, libmachuser.so must not refer to any functions not defined in libc.
1995-05-30(server-interfaces): Removed notify and device_reply. For shlibs with eager ↵Roland McGrath
binding, libmachuser.so must not refer to any functions not defined in libc.
1995-05-28(21064:Windows_NT:50:3): New case.Richard Kenner
1995-05-27Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)Jim Meyering
* sysdeps/generic/memchr.c: Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
1995-05-27Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler.Jim Meyering
1995-05-27Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check pending signals if the thread is in a critical section. It will send us a msg when it finishes. * sysdeps/mach/hurd/pathconf.c: New file. * sysdeps/mach/hurd/fpathconf.c: New file. * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually changes.
1995-05-26Only notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually ↵Roland McGrath
changes.
1995-05-26Remove trailing white space.Jim Meyering
1995-05-25Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* elf/Makefile (ld.so): Use -nostartfiles in addition to -nostdlib.
1995-05-22Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.cRoland McGrath
1995-05-21[LIBC_]: Do include string.h.Jim Meyering
1995-05-21(ld.so): Use -nostartfiles in addition to -nostdlib.Roland McGrath
1995-05-21Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)Jim Meyering
* sysdeps/generic/memchr.c: Don't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for memchr unless one manually arranges for them to define __STDC__.
1995-05-21Don't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers ↵Jim Meyering
get conflicting dcls for memchr unless one manually arranges for them to define __STDC__.
1995-05-20Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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 McGrath
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-16Regenerated: autoconf configure.inRoland McGrath
1995-05-15* config.guess: Recognize Cray90 (from Pete TerMaat).Per Bothner
1995-05-15Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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-13Add configuration for semi-hosted ARM.erich
1995-05-13(os=gnu*): Always set elf=yes, not just for os=gnu*elf*.Roland McGrath
1995-05-12(_hurd_alloc_fd): Don't reduce FIRST_FD in the case where it starts out less ↵Roland McGrath
than _hurd_dtablesize.
1995-05-12(vxworks29k): New alias.Doug Evans
1995-05-12(_hurd_alloc_fd): When expanding the dtable, make sure the new size exceeds ↵Roland McGrath
FIRST_FD.
1995-05-12Recognize PCs running Solaris2. Also, some cleaning up for CRAYs.Per Bothner
1995-05-11miscRoland McGrath
1995-05-11Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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-10RegeneratedRoland McGrath
Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c (S_ISDIR): Define if undefined.
1995-05-09Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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-09Add powerpc little endian support; Add powerpc variants; Add pentium variantsMichael Meissner
1995-05-09(__data_start): Define this symbol as the first thing in .data.Roland McGrath
1995-05-08Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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-05Add weak alias to non-__ name.Roland McGrath
1995-05-05Add more NetBSD cases: atrai, sun3*, and mac68k.Richard Kenner
1995-05-04Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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 McGrath
* 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 McGrath
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 McGrath
* posix/glob.c (S_ISDIR): Define if undefined.
1995-04-29(S_ISDIR): Define if undefined.cvs/make-3-74cvs/make-3-73-3Roland McGrath