aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-07-26Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/bind-493b24Roland McGrath
* 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).
1995-07-26($(installed-libcs)): Depend on `lib' (only).Roland McGrath
1995-07-26Remove weird unnecessary shell construction.David MacKenzie
1995-07-26New file, based on NET2 code but with DES code removed.Roland McGrath
1995-07-25* sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.Roland McGrath
1995-07-25* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.Roland McGrath
* 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.
1995-07-25Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* stdio/vfprintf.c (vfprintf): For %s with precision spec, use memchr instead of strlen to limit search for NUL by precision.
1995-07-24Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* sysdeps/posix/pathconf.c: New file.
1995-07-23Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-950723cvs/libc-950722Roland McGrath
* 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.
1995-07-23Use JUMPTARGET macro in jmp insn.Roland McGrath
1995-07-23*** empty log message ***Thomas Bushnell, BSG
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.
1995-07-23(routines): Added `ruserpass'.Thomas Bushnell, BSG
1995-07-22Removed stub warning.Roland McGrath
1995-07-22* Makefile (autoconf-it): Make it executable and unwritable.Roland McGrath
* configure.in (sysnames): Under --enable-debug-configure, spew potential sysnames.
1995-07-22Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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.
1995-07-22Removed gratuitous #include <hurd.h>.Roland McGrath
1995-07-21*** empty log message ***Thomas Bushnell, BSG
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.
1995-07-21(__pipe): Consider MIG_BAD_ID and EOPNOTSUPP as indications that the server ↵Thomas Bushnell, BSG
port has died.
1995-07-17Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)Jim Meyering
* strtol.c: Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)]: Define NULL.
1995-07-17Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] ↵Jim Meyering
Define NULL.
1995-07-17(categories_write): Fix two bugs with handling string arrays. If writing a ↵Ulrich Drepper
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.
1995-07-17The test for the .set directive needs the global directive. Change order of ↵Ulrich Drepper
tests and add global directive to .set test code.
1995-07-10Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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).
1995-07-06(libdl.so): Pass $(LDFLAGS.so).Roland McGrath
1995-06-28(AIX4): More robust release numbering discovery.Richard Kenner
1995-06-22(mips:*:4*:UMIPS): New case.Richard Kenner
1995-06-22Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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.
1995-06-20Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.cRoland McGrath
1995-06-15Change FSF address.Richard Kenner
1995-06-14Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>Roland McGrath
* 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!!!
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.