about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE): ↵Brendan Kehoe1995-06-132-0/+8
| | | | | | | | | 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.
* Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-123-18/+41
| | | | | | | | | * 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.
* * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmapRoland McGrath1995-06-129-24/+44
| | | | | | | | | | | | | | | | | | | 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).
* Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-0813-56/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-052-1/+7
| | | | | | * 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.
* Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-056-1/+59
| | | | | | | | | | | | * 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.
* Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-3114-87/+193
| | | | | | * 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.
* (server-interfaces): Removed notify and device_reply. For shlibs with eager ↵Roland McGrath1995-05-301-1/+2
| | | | binding, libmachuser.so must not refer to any functions not defined in libc.
* (21064:Windows_NT:50:3): New case.Richard Kenner1995-05-281-0/+3
|
* Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)Jim Meyering1995-05-271-0/+5
| | | | | * sysdeps/generic/memchr.c: Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
* Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler.Jim Meyering1995-05-271-2/+3
|
* Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-275-56/+161
| | | | | | | | | | | | * 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.
* Only notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually ↵Roland McGrath1995-05-261-1/+2
| | | | changes.
* Remove trailing white space.Jim Meyering1995-05-261-4/+4
|
* Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-252-3/+8
| | | | | * elf/Makefile (ld.so): Use -nostartfiles in addition to -nostdlib.
* Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.cRoland McGrath1995-05-221-1/+1
|
* [LIBC_]: Do include string.h.Jim Meyering1995-05-211-0/+4
|
* (ld.so): Use -nostartfiles in addition to -nostdlib.Roland McGrath1995-05-211-1/+1
|
* Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)Jim Meyering1995-05-211-0/+6
| | | | | | * 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__.
* Don't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers ↵Jim Meyering1995-05-211-4/+0
| | | | get conflicting dcls for memchr unless one manually arranges for them to define __STDC__.
* Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-2017-74/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-1831-25/+11096
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* Regenerated: autoconf configure.inRoland McGrath1995-05-161-1/+1
|
* * config.guess: Recognize Cray90 (from Pete TerMaat).Per Bothner1995-05-151-2/+5
|
* Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-151-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.
* Add configuration for semi-hosted ARM.erich1995-05-131-1/+5
|
* (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.Roland McGrath1995-05-133-1/+6
|
* (_hurd_alloc_fd): Don't reduce FIRST_FD in the case where it starts out less ↵Roland McGrath1995-05-121-2/+3
| | | | than _hurd_dtablesize.
* (vxworks29k): New alias.Doug Evans1995-05-121-0/+4
|
* (_hurd_alloc_fd): When expanding the dtable, make sure the new size exceeds ↵Roland McGrath1995-05-121-6/+9
| | | | FIRST_FD.
* Recognize PCs running Solaris2. Also, some cleaning up for CRAYs.Per Bothner1995-05-121-5/+5
|
* miscRoland McGrath1995-05-111-3/+6
|
* Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-115-156/+764
| | | | | | | | * 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.
* RegeneratedRoland McGrath1995-05-102-3/+7
| | | | | | Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c (S_ISDIR): Define if undefined.
* Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-091-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.
* Add powerpc little endian support; Add powerpc variants; Add pentium variantsMichael Meissner1995-05-091-7/+30
|
* (__data_start): Define this symbol as the first thing in .data.Roland McGrath1995-05-0910-44/+185
|
* Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-0822-354/+470
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Add weak alias to non-__ name.Roland McGrath1995-05-051-1/+3
|
* Add more NetBSD cases: atrai, sun3*, and mac68k.Richard Kenner1995-05-051-0/+9
|
* Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-0410-352/+152
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.Roland McGrath1995-05-0223-12/+2379
| | | | | | | | | | * 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.
* Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-024-38/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-05-012-4/+8
| | | | * posix/glob.c (S_ISDIR): Define if undefined.
* (S_ISDIR): Define if undefined. cvs/make-3-74 cvs/make-3-73-3Roland McGrath1995-04-291-0/+2
|
* Support for pre-BFD versions of Linux ld.Michael Meissner1995-04-271-1/+8
|
* RegeneratedRoland McGrath1995-04-271-0/+8
| | | | | | | | | | 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.
* (i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.Richard Kenner1995-04-271-4/+4
|
* Fixed _hurd_startup prototype.Roland McGrath1995-04-271-1/+4
|
* Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-04-2740-43/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.