about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.Roland McGrath1995-07-277-73/+276
| | | | | | | | | | | | | | | | | | [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff. [start-installed-name-rule]: If this is defined, elide rule for $(objpfx)$(start-installed-name). * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu] (start-installed-rule, start-installed-name-rule): New variables; specify crt1.o, created by our own rule. ($(objpfx)crt1.o): New rule. * configure.in: Require autoconf 2.4.2 or later. Change all AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead; prettify some messages. [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini' sections. * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in this case rather than #ifdef HAVE_ELF. * config.h.in (HAVE_INITFINI): New macro.
* * stdio/vfscanf.c (conv_error): Simplify expression to avoidRoland McGrath1995-07-265-22/+18
| | | | | | | | | | "value computed is not used" warning. * Makeconfig (+gccwarn): Removed -Wconversion. * csu/initfini.c (GLOBAL): Macro removed. (_init, _fini): Always define globally. * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
* * asia, backward, europe, leapseconds, southamerica: New data fromRoland McGrath1995-07-2625-205/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ADO's 95e. * inet/Makefile (routines): Removed inet_addr. * inet/inet_addr.c: Moved to resolv/ subdirectory. * resolv/Makefile (routines): Added inet_addr. * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release. * resolv/gethnamaddr.c: Likewise. * resolv/getnetbyaddr.c: Likewise. * resolv/getnetbyname.c: Likewise. * resolv/getnetent.c: Likewise. * resolv/getnetnamadr.c: Likewise. * resolv/herror.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_comp.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/res_init.c: Likewise. * resolv/res_mkquery.c: Likewise. * resolv/res_query.c: Likewise. * resolv/res_send.c: Likewise. * resolv/resolv.h: Likewise. * resolv/sethostent.c: Likewise. * resolv/arpa/nameser.h: Likewise. * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release. [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating its declarations (and doing so only #ifdef sun!). * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro. [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
* Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/bind-493b24Roland McGrath1995-07-263-1/+36
| | | | | | | | | | | | * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim if possible. * mach/shortcut.awk: Emit decls for RPC. * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol, weak_alias, strong_alias): Define using GCC __attribute__ syntax. * Makerules ($(installed-libcs)): Depend on `lib' (only).
* ($(installed-libcs)): Depend on `lib' (only).Roland McGrath1995-07-261-7/+3
|
* Remove weird unnecessary shell construction.David MacKenzie1995-07-261-2/+2
|
* New file, based on NET2 code but with DES code removed.Roland McGrath1995-07-261-0/+287
|
* * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.Roland McGrath1995-07-253-4/+7
|
* * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.Roland McGrath1995-07-258-16/+55
| | | | | | | | | | | | | | | * sysdeps/unix/sysv/ftime.S: New file. * locale/locfile-parse.c (categories_write): Cast "" to char *. * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed. * time/strftime.c: Use year modulo 100 for %y. * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS. * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead of one, to work around bug in sunos4.1.2 sed.
* Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-252-6/+22
| | | | | * stdio/vfprintf.c (vfprintf): For %s with precision spec, use memchr instead of strlen to limit search for NUL by precision.
* Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-242-0/+44
| | | | * sysdeps/posix/pathconf.c: New file.
* Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-950723 cvs/libc-950722Roland McGrath1995-07-233-1/+17
| | | | | | | | * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space before @PLT. * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro. * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn. * sysdeps/i386/bsd-setjmp.S: Likewise.
* Use JUMPTARGET macro in jmp insn.Roland McGrath1995-07-232-3/+4
|
* *** empty log message ***Thomas Bushnell, BSG1995-07-231-7/+18
| | | | | | | | | | | | | | | | | | | | Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> * inet/Makefile (routines): Added `ruserpass'. * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP client. Modified to remove the fourth arg AACCT. Do nothing for the `account' and `macdef' keywords. Other incidental changes because we are not in the FTP source tree. * sysdeps/stub/init-posix.c: Removed stub warning. instead of unix/sysv. Fixes to help Linux, inspired by drepper's work: * sysdeps/posix/utimes.c: New file. * sysdeps/generic/getdomain.c: New file. * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>. * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare externals _dl_argc, _dl_argc, and _environ.
* (routines): Added `ruserpass'.Thomas Bushnell, BSG1995-07-231-2/+2
|
* Removed stub warning.Roland McGrath1995-07-221-13/+2
|
* * Makefile (autoconf-it): Make it executable and unwritable.Roland McGrath1995-07-224-39/+51
| | | | | * configure.in (sysnames): Under --enable-debug-configure, spew potential sysnames.
* Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-2227-237/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT #ifdef PIC. (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn. * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in jump insn. * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten. * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file. * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of stack. Use JUMPTARGET(syscall_error) in jump insn. * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion. * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and ASM_TYPE_DIRECTIVE. (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF. * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error): Rewritten, #include'ing unix/i386/sysdep.S for most of the code. * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT. Fixes to help Linux, inspired by drepper's work: * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os, instead of unix/sysv. * sysdeps/posix/utimes.c: New file. * sysdeps/generic/getdomain.c: New file. * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>. * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare externals _dl_argc, _dl_argc, and _environ. * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename, socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved to new directory sysdeps/unix/sysv/sysv4/linux. * sysdeps/unix/sysv/linux: Directory removed. * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved to new directory sysdeps/unix/sysv/sysv4/linux/i386. * sysdeps/unix/sysv/linux/i386: Directory removed.
* Removed gratuitous #include <hurd.h>.Roland McGrath1995-07-221-1/+0
|
* *** empty log message ***Thomas Bushnell, BSG1995-07-213-4/+13
| | | | | | | | | Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu> * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server has died. * sysdeps/mach/hurd/pipe.c (__pipe): Likewise. * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
* (__pipe): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server ↵Thomas Bushnell, BSG1995-07-211-1/+2
| | | | port has died.
* Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)Jim Meyering1995-07-171-0/+5
| | | | | * strtol.c: Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)]: Define NULL.
* Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] ↵Jim Meyering1995-07-171-33/+60
| | | | Define NULL.
* (categories_write): Fix two bugs with handling string arrays. If writing a ↵Ulrich Drepper1995-07-172-6/+28
| | | | locale file fails, test whether it is an directory. In this case create LC_xxx/SYS_LC_xxx instead of LC_xxx. This is what the C Library functions to while loading.
* The test for the .set directive needs the global directive. Change order of ↵Ulrich Drepper1995-07-171-23/+24
| | | | tests and add global directive to .set test code.
* Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-07-105-40/+83
| | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg, DATA for the entry SP; DATA[-1] is always the return address location. In both cthreads and non-cthreads cases, use asm to force parameters into %eax and %ecx before return, and mutate DATA[-1] to return to specific asm code to set up the user from %eax and %ecx. [PIC] (_init): Caller changed. (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init with SP unwound to argument data ptr. Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work when 0x08000000 and up are not mapped. * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file before touching it. (lib%.so): Use -Wl to get -soname to ld. * elf/dlsym.c: Pass final arg to _dl_lookup_symbol. * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
* (libdl.so): Pass $(LDFLAGS.so).Roland McGrath1995-07-061-1/+2
|
* (AIX4): More robust release numbering discovery.Richard Kenner1995-06-281-5/+18
|
* (mips:*:4*:UMIPS): New case.Richard Kenner1995-06-221-0/+3
|
* Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-226-9/+85
| | | | | | | | | | | | | | | * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the library's name including $(libprefix) and major version number. * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero in place of xcalloc. * Makeconfig (prefix, exec_prefix, libprefix): Instead of `ifndef', use the $(origin) function to only set these if they are undefined, and not if they are defined to empty. * gnu-versions.h: New file. * features.h (__GNU_LIBRARY__): Increase value to 5.
* Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.cRoland McGrath1995-06-201-1/+1
|
* Change FSF address.Richard Kenner1995-06-151-1/+2
|
* Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-145-6/+36
| | | | | | | | | | | | | | | | * stdio/stdio.h (__validfp): Use ({...}) rather than a comma expression, to avoid gcc's "value computed is not used" warning. * libc-symbols.h (_elf_set_element): Give the set-element variable an `unused' attribute. * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with __attribute__ ((__const__)). * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise. * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when appropriate, not LINK->resource.next->thread.prevp!!!
* (_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when ↵Roland McGrath1995-06-141-1/+1
| | | | appropriate, not LINK->resource.next->thread.prevp!!!
* undo previous change, not needed w/ configure fixBrendan Kehoe1995-06-142-8/+0
|
* * configure.in (libc_cv_asm_set_directive): Make sure that theRoland McGrath1995-06-133-4/+22
| | | | | `.set' directive really worked by linking against a reference to the alias.
* Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath1995-06-131-0/+11
| | | | | | | | | | | * 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.
* Don't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.Roland McGrath1995-06-131-5/+5
|
* * 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.