platform/upstream/glibc.git
29 years agoMon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Mon, 17 Jul 1995 13:46:42 +0000 (13:46 +0000)]
Mon Jul 17 08:45:40 1995  Jim Meyering  (meyering@comco.com)

* strtol.c: Portability changes from Uli Drepper.
[!STDC_HEADERS && !defined(NULL)]: Define NULL.

29 years agoPortability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] Define NULL.
Jim Meyering [Mon, 17 Jul 1995 13:34:12 +0000 (13:34 +0000)]
Portability changes from Uli Drepper. [!STDC_HEADERS && !defined(NULL)] Define NULL.

29 years ago(categories_write): Fix two bugs with handling string arrays. If writing a locale...
Ulrich Drepper [Mon, 17 Jul 1995 13:16:15 +0000 (13:16 +0000)]
(categories_write): Fix two bugs with handling string arrays. If writing a 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.

29 years agoThe test for the .set directive needs the global directive. Change order of tests...
Ulrich Drepper [Mon, 17 Jul 1995 12:43:55 +0000 (12:43 +0000)]
The test for the .set directive needs the global directive.  Change order of tests and add global directive to .set test code.

29 years agoMon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 10 Jul 1995 09:40:15 +0000 (09:40 +0000)]
Mon Jul 10 05:39:21 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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).

29 years ago(libdl.so): Pass $(LDFLAGS.so).
Roland McGrath [Thu, 6 Jul 1995 18:28:32 +0000 (18:28 +0000)]
(libdl.so): Pass $(LDFLAGS.so).

29 years ago(AIX4): More robust release numbering discovery.
Richard Kenner [Wed, 28 Jun 1995 21:57:23 +0000 (21:57 +0000)]
(AIX4): More robust release numbering discovery.

29 years ago(mips:*:4*:UMIPS): New case.
Richard Kenner [Thu, 22 Jun 1995 22:36:39 +0000 (22:36 +0000)]
(mips:*:4*:UMIPS): New case.

29 years agoTue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 22 Jun 1995 09:00:11 +0000 (09:00 +0000)]
Tue Jun 20 02:18:19 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
Roland McGrath [Tue, 20 Jun 1995 05:29:05 +0000 (05:29 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c

29 years agoChange FSF address.
Richard Kenner [Thu, 15 Jun 1995 21:01:51 +0000 (21:01 +0000)]
Change FSF address.

29 years agoWed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Wed, 14 Jun 1995 17:15:57 +0000 (17:15 +0000)]
Wed Jun 14 03:45:24 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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!!!

29 years ago(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when appropri...
Roland McGrath [Wed, 14 Jun 1995 07:44:21 +0000 (07:44 +0000)]
(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when appropriate, not LINK->resource.next->thread.prevp!!!

29 years agoundo previous change, not needed w/ configure fix
Brendan Kehoe [Wed, 14 Jun 1995 00:15:10 +0000 (00:15 +0000)]
undo previous change, not needed w/ configure fix

29 years ago* configure.in (libc_cv_asm_set_directive): Make sure that the
Roland McGrath [Tue, 13 Jun 1995 22:16:50 +0000 (22:16 +0000)]
* configure.in (libc_cv_asm_set_directive): Make sure that the

  `.set' directive really worked by linking against a reference to
  the alias.

29 years agoTue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 13 Jun 1995 19:57:34 +0000 (19:57 +0000)]
Tue Jun 13 15:45:10 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoDon't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.
Roland McGrath [Tue, 13 Jun 1995 19:43:57 +0000 (19:43 +0000)]
Don't include <hurd.h>. [PIC] (soinit): Renamed to (global) _init.

29 years ago * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE): Put...
Brendan Kehoe [Tue, 13 Jun 1995 19:35:18 +0000 (19:35 +0000)]
    * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE):         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.

29 years agoMon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 12 Jun 1995 18:26:02 +0000 (18:26 +0000)]
Mon Jun 12 13:15:45 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago* elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
Roland McGrath [Mon, 12 Jun 1995 09:00:13 +0000 (09:00 +0000)]
* elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap

  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).

29 years agoThu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 8 Jun 1995 09:00:23 +0000 (09:00 +0000)]
Thu Jun  8 02:50:26 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoMon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 5 Jun 1995 09:00:14 +0000 (09:00 +0000)]
Mon Jun  5 04:02:26 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoSun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 5 Jun 1995 03:04:45 +0000 (03:04 +0000)]
Sun Jun  4 22:14:11 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoTue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Wed, 31 May 1995 13:23:14 +0000 (13:23 +0000)]
Tue May 30 15:52:32 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago(server-interfaces): Removed notify and device_reply. For shlibs with eager binding...
Roland McGrath [Tue, 30 May 1995 19:52:01 +0000 (19:52 +0000)]
(server-interfaces): Removed notify and device_reply.  For shlibs with eager binding, libmachuser.so must not refer to any functions not defined in libc.

29 years ago(21064:Windows_NT:50:3): New case.
Richard Kenner [Sun, 28 May 1995 22:53:22 +0000 (22:53 +0000)]
(21064:Windows_NT:50:3): New case.

29 years agoSat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Sat, 27 May 1995 20:25:22 +0000 (20:25 +0000)]
Sat May 27 16:23:22 1995  Jim Meyering  (meyering@comco.com)

* sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
to avoid error from Irix-4.0.5's C compiler.  From Kaveh Ghazi.

29 years agoCast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler.
Jim Meyering [Sat, 27 May 1995 20:22:12 +0000 (20:22 +0000)]
Cast RHS to const unsigned char * to avoid error from Irix-4.0.5's C compiler.

29 years agoFri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 27 May 1995 07:18:52 +0000 (07:18 +0000)]
Fri May 26 13:00:08 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoOnly notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually changes.
Roland McGrath [Fri, 26 May 1995 16:59:33 +0000 (16:59 +0000)]
Only notify the proc server for SIGCHLD when the SA_NOCLDSTOP bit actually changes.

29 years agoRemove trailing white space.
Jim Meyering [Fri, 26 May 1995 15:06:26 +0000 (15:06 +0000)]
Remove trailing white space.

29 years agoSun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 25 May 1995 09:00:08 +0000 (09:00 +0000)]
Sun May 21 05:05:37 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/Makefile (ld.so): Use -nostartfiles in addition to
  -nostdlib.

29 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
Roland McGrath [Mon, 22 May 1995 17:32:12 +0000 (17:32 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c

29 years ago[LIBC_]: Do include string.h.
Jim Meyering [Sun, 21 May 1995 13:16:49 +0000 (13:16 +0000)]
[LIBC_]: Do include string.h.

29 years ago(ld.so): Use -nostartfiles in addition to -nostdlib.
Roland McGrath [Sun, 21 May 1995 09:04:55 +0000 (09:04 +0000)]
(ld.so): Use -nostartfiles in addition to -nostdlib.

29 years agoSun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
Jim Meyering [Sun, 21 May 1995 06:08:30 +0000 (06:08 +0000)]
Sun May 21 02:01:29 1995  Jim Meyering  (meyering@comco.com)

* 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__.

29 years agoDon't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers get...
Jim Meyering [Sun, 21 May 1995 06:03:25 +0000 (06:03 +0000)]
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__.

29 years agoFri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 20 May 1995 00:13:43 +0000 (00:13 +0000)]
Fri May 19 17:16:46 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoWed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 18 May 1995 09:00:09 +0000 (09:00 +0000)]
Wed May 17 16:50:21 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

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".

29 years agoRegenerated: autoconf configure.in
Roland McGrath [Tue, 16 May 1995 07:11:17 +0000 (07:11 +0000)]
Regenerated: autoconf  configure.in

29 years ago* config.guess: Recognize Cray90 (from Pete TerMaat).
Per Bothner [Mon, 15 May 1995 21:49:34 +0000 (21:49 +0000)]
* config.guess:  Recognize Cray90 (from Pete TerMaat).

29 years agoSat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 15 May 1995 09:00:08 +0000 (09:00 +0000)]
Sat May 13 02:16:42 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoAdd configuration for semi-hosted ARM.
erich [Sat, 13 May 1995 09:37:50 +0000 (09:37 +0000)]
Add configuration for semi-hosted ARM.

29 years ago(os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
Roland McGrath [Sat, 13 May 1995 06:16:24 +0000 (06:16 +0000)]
(os=gnu*): Always set elf=yes, not just for os=gnu*elf*.

29 years ago(_hurd_alloc_fd): Don't reduce FIRST_FD in the case where it starts out less than...
Roland McGrath [Fri, 12 May 1995 16:40:34 +0000 (16:40 +0000)]
(_hurd_alloc_fd): Don't reduce FIRST_FD in the case where it starts out less than _hurd_dtablesize.

29 years ago(vxworks29k): New alias.
Doug Evans [Fri, 12 May 1995 15:49:42 +0000 (15:49 +0000)]
(vxworks29k): New alias.

29 years ago(_hurd_alloc_fd): When expanding the dtable, make sure the new size exceeds FIRST_FD.
Roland McGrath [Fri, 12 May 1995 00:50:29 +0000 (00:50 +0000)]
(_hurd_alloc_fd): When expanding the dtable, make sure the new size exceeds FIRST_FD.

29 years agoRecognize PCs running Solaris2. Also, some cleaning up for CRAYs.
Per Bothner [Fri, 12 May 1995 00:19:09 +0000 (00:19 +0000)]
Recognize PCs running Solaris2.  Also, some cleaning up for CRAYs.

29 years agomisc
Roland McGrath [Thu, 11 May 1995 02:49:38 +0000 (02:49 +0000)]
misc

29 years agoWed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 11 May 1995 01:02:23 +0000 (01:02 +0000)]
Wed May 10 21:00:47 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoRegenerated
Roland McGrath [Wed, 10 May 1995 21:57:07 +0000 (21:57 +0000)]
Regenerated

Sat Apr 29 15:46:57 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/glob.c (S_ISDIR): Define if undefined.

29 years agoTue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 9 May 1995 22:52:19 +0000 (22:52 +0000)]
Tue May  9 01:26:52 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoAdd powerpc little endian support; Add powerpc variants; Add pentium variants
Michael Meissner [Tue, 9 May 1995 20:22:38 +0000 (20:22 +0000)]
Add powerpc little endian support; Add powerpc variants; Add pentium variants

29 years ago(__data_start): Define this symbol as the first thing in .data.
Roland McGrath [Tue, 9 May 1995 07:03:38 +0000 (07:03 +0000)]
(__data_start): Define this symbol as the first thing in .data.

29 years agoSat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 8 May 1995 09:11:25 +0000 (09:11 +0000)]
Sat May  6 11:06:47 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoAdd weak alias to non-__ name.
Roland McGrath [Fri, 5 May 1995 14:36:22 +0000 (14:36 +0000)]
Add weak alias to non-__ name.

29 years agoAdd more NetBSD cases: atrai, sun3*, and mac68k.
Richard Kenner [Fri, 5 May 1995 09:50:51 +0000 (09:50 +0000)]
Add more NetBSD cases: atrai, sun3*, and mac68k.

29 years agoWed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 4 May 1995 09:00:10 +0000 (09:00 +0000)]
Wed May  3 11:56:35 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago* sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
Roland McGrath [Tue, 2 May 1995 06:35:55 +0000 (06:35 +0000)]
* sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.

* 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.

29 years agoTue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 2 May 1995 05:56:40 +0000 (05:56 +0000)]
Tue May  2 01:52:58 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

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.

29 years agoSat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 1 May 1995 09:00:07 +0000 (09:00 +0000)]
Sat Apr 29 15:46:57 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/glob.c (S_ISDIR): Define if undefined.

29 years ago(S_ISDIR): Define if undefined. cvs/make-3-73-3 cvs/make-3-74
Roland McGrath [Sat, 29 Apr 1995 19:46:34 +0000 (19:46 +0000)]
(S_ISDIR): Define if undefined.

29 years agoSupport for pre-BFD versions of Linux ld.
Michael Meissner [Thu, 27 Apr 1995 18:35:38 +0000 (18:35 +0000)]
Support for pre-BFD versions of Linux ld.

29 years agoRegenerated
Roland McGrath [Thu, 27 Apr 1995 16:42:52 +0000 (16:42 +0000)]
Regenerated

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.

29 years ago(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.
Richard Kenner [Thu, 27 Apr 1995 13:22:29 +0000 (13:22 +0000)]
(i[34]86:*:3.2:*) test for /usr/options/cb.name before calling uname.

29 years agoFixed _hurd_startup prototype.
Roland McGrath [Thu, 27 Apr 1995 05:52:28 +0000 (05:52 +0000)]
Fixed _hurd_startup prototype.

29 years agoThu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 27 Apr 1995 05:47:52 +0000 (05:47 +0000)]
Thu Apr 27 01:24:09 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago[HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist. cvs/make-3-73-2
Roland McGrath [Wed, 26 Apr 1995 21:19:26 +0000 (21:19 +0000)]
[HAVE_UNISTD_H]: Include unistd.h so it can declare sys_siglist.

29 years agoSupport Linux elf and a.out systems; Add parisc support
Michael Meissner [Wed, 26 Apr 1995 20:45:43 +0000 (20:45 +0000)]
Support Linux elf and a.out systems; Add parisc support

29 years ago(_nl_free_locale): Do nothing if DATA is null.
Roland McGrath [Wed, 26 Apr 1995 20:06:15 +0000 (20:06 +0000)]
(_nl_free_locale): Do nothing if DATA is null.

29 years ago(CRAY*Y-MP:*:*:*): New entry.
Richard Kenner [Wed, 26 Apr 1995 14:27:47 +0000 (14:27 +0000)]
(CRAY*Y-MP:*:*:*): New entry.

29 years ago(glob): If GLOB_MARK set, stat names to find directories and append slashes to them...
Roland McGrath [Tue, 25 Apr 1995 21:16:39 +0000 (21:16 +0000)]
(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.

29 years agoSat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 24 Apr 1995 09:00:07 +0000 (09:00 +0000)]
Sat Apr 22 14:48:03 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago* hurd/hurdsig.c: Use assert_perror for many calls which should
Roland McGrath [Fri, 21 Apr 1995 02:54:07 +0000 (02:54 +0000)]
* hurd/hurdsig.c: Use assert_perror for many calls which should

  never fail and previously were not checked.

29 years agoThu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 21 Apr 1995 02:24:35 +0000 (02:24 +0000)]
Thu Apr 20 22:23:58 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago.
Roland McGrath [Thu, 20 Apr 1995 09:00:09 +0000 (09:00 +0000)]
.

29 years agoWed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Wed, 19 Apr 1995 23:46:03 +0000 (23:46 +0000)]
Wed Apr 19 18:12:56 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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>

29 years ago * time/tzset.c (__tzname, __daylight, __timezone): Don't check HAVE_W...
Brendan Kehoe [Wed, 19 Apr 1995 23:41:29 +0000 (23:41 +0000)]
    * time/tzset.c (__tzname, __daylight, __timezone): Don't check         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.

29 years agoMove $os tests to set $elf et al earlier, before construction of $sysnames. Instead...
Roland McGrath [Wed, 19 Apr 1995 22:12:34 +0000 (22:12 +0000)]
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.

29 years agoRegenerated
Roland McGrath [Wed, 19 Apr 1995 07:27:46 +0000 (07:27 +0000)]
Regenerated

29 years ago* libc-symbols.h (strong_alias_asm, strong_alias): Use
Roland McGrath [Tue, 18 Apr 1995 21:07:40 +0000 (21:07 +0000)]
* libc-symbols.h (strong_alias_asm, strong_alias): Use

  ASM_GLOBAL_DIRECTIVE on the alias.

29 years agoTue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 18 Apr 1995 20:16:50 +0000 (20:16 +0000)]
Tue Apr 18 14:00:19 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago(main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns.
Roland McGrath [Tue, 18 Apr 1995 17:59:42 +0000 (17:59 +0000)]
(main): Don't generate "#ifdef HAVE_WEAK_SYMBOLS" #defns.

29 years ago* sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
Brendan Kehoe [Mon, 17 Apr 1995 22:02:01 +0000 (22:02 +0000)]
* sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning

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

29 years ago * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining NO_UNDER...
Brendan Kehoe [Sun, 16 Apr 1995 08:24:34 +0000 (08:24 +0000)]
    * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining         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.

29 years ago* sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
Brendan Kehoe [Sat, 15 Apr 1995 16:04:06 +0000 (16:04 +0000)]
* 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.
* 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.

29 years ago * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive. ...
Brendan Kehoe [Sat, 15 Apr 1995 04:07:56 +0000 (04:07 +0000)]
    * 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/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.

29 years ago... changing to use /**/ instead of ! as comments
Brendan Kehoe [Sat, 15 Apr 1995 02:38:17 +0000 (02:38 +0000)]
... changing to use /**/ instead of ! as comments

* sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
* sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.

29 years ago * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end. * sysdeps...
Brendan Kehoe [Sat, 15 Apr 1995 02:30:20 +0000 (02:30 +0000)]
    * 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.

* 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.

29 years ago * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be preproces...
Brendan Kehoe [Sat, 15 Apr 1995 02:07:14 +0000 (02:07 +0000)]
    * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be         preprocessor comments, not assembler comments.

* sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
preprocessor comments, not assembler comments.

29 years ago * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
Brendan Kehoe [Sat, 15 Apr 1995 01:56:26 +0000 (01:56 +0000)]
    * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.

Fri Apr 14 18:49:03 1995  Brendan Kehoe  (brendan@zen.org)

* sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.

29 years agoFri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 14 Apr 1995 20:07:31 +0000 (20:07 +0000)]
Fri Apr 14 15:53:46 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
  in place of inline.

29 years ago* Makefile (distribute): Add ChangeLog.[0-9].
Roland McGrath [Fri, 14 Apr 1995 03:52:54 +0000 (03:52 +0000)]
* Makefile (distribute): Add ChangeLog.[0-9].

* 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.

29 years ago* sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
Roland McGrath [Fri, 14 Apr 1995 03:27:44 +0000 (03:27 +0000)]
* sysdeps/generic/expm1.c: #undef expm1 before weak_alias.

* 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.

29 years agoThu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 14 Apr 1995 01:13:53 +0000 (01:13 +0000)]
Thu Apr 13 09:45:01 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
  being cleared are already known to be set.  Thanks Ulrich.

29 years agoWed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 13 Apr 1995 09:00:11 +0000 (09:00 +0000)]
Wed Apr 12 23:27:22 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/environ.c: Add weak alias `_environ'.

29 years agoTue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-950411
Roland McGrath [Wed, 12 Apr 1995 01:03:38 +0000 (01:03 +0000)]
Tue Apr 11 20:38:55 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years agoMon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 10 Apr 1995 18:58:00 +0000 (18:58 +0000)]
Mon Apr 10 14:53:15 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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}_*.

29 years agoSun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Mon, 10 Apr 1995 09:00:08 +0000 (09:00 +0000)]
Sun Apr  9 01:24:33 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* 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.

29 years ago* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
Roland McGrath [Sat, 8 Apr 1995 19:23:00 +0000 (19:23 +0000)]
* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make

  sure these are simply-expanded variables.