glibc/ChangeLog
Brendan Kehoe fc40c039a4 * 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.
1995-04-15 16:04:06 +00:00

2453 lines
97 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
* 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/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.
* 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/bsd/osf/alpha/start.S: Change comments to be
preprocessor comments, not assembler comments.
* sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
* sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
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.
Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makefile (distribute): Add ChangeLog.[0-9].
* configure.in: Add check for .set directive.
* config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
* libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
strong_alias_asm): Use `foo = bar' syntax instead.
* Makerules [! subdir] (O%-lib): Don't prepend ../.
* sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
* 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.
* elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
being cleared are already known to be set. Thanks Ulrich.
Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/environ.c: Add weak alias `_environ'.
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.
Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* 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.
* 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}_*.
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.
Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
sure these are simply-expanded variables.
* locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
mmap call.
* configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
for these too.
* sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
set c_oflag value.
* Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
* locale/Makefile (categories): Uncomment collate.
* locale/lc-collate.c: New file.
* malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
#ifdef emacs.
* malloc/realloc.c: Likewise.
* stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
(_itoa): Use it in defn.
* stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
"_itoa.h".
(_itoa): Function removed.
* malloc/free.c: Remove use of `assert'.
* malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
__malloc_safe_bcopy; #define safe_bcopy.
* malloc/free.c: Cope with systems lacking `memmove'.
(_free_internal): Cast result of _malloc_internal.
Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdinline.c: Include signal.h first, so we don't define
its inlines too.
* sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
of -1 to avoid compiler warning.
* configure.in (host_os=linux*): Set elf=yes for this, not just
linux*elf*.
* misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
and open.
* sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/unix/start.c: Remove spurious decl and #endif.
* misc/progname.c (program_invocation_name,
program_invocation_short_name): Make these initialized data
definitions.
* sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
so gcc doesn't optimize out the function entirely.
Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/execvp.c: Don't use stat to search path; just try execv
until it works.
* sysdeps/mach/hurd/i386/trampoline.c: Add a link to
SS->active_resources, so that _hurdsig_longjmp_from_handler will
be called when a longjmp unwinds the signal frame.
* sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
SS->active_resources chain added by _hurd_setup_sighandler.
* hurd/sigunwind.c: New file.
* hurd/Makefile (sig): Add sigunwind.
* Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
* MakeTAGS (tags-sources): Include $(all-dist).
[subdir] (all-dist): Define to $(distribute).
Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
parent objdirs.
* extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
filtering out $($(lib)-inhibit-o); use that instead of
$(object-suffixes) in all the other variables.
* locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
if undefined.
* string/strxfrm.c: Just copy the string (for now).
* string/strcoll.c: Just call strcmp (for now).
* mach/Makefile (lock): Add mutex-init.
* mach/mutex-solid.c (_cthread_mutex_lock_routine,
_cthread_mutex_unlock_routine): Variables removed.
(__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
(__mutex_init): Function moved to new file mutex-init.c.
* mach/mutex-init.c: New file, broken out of mutex-solid.c.
Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
* sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
* sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
both are zero).
Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/dlfcn.h: New file.
* Make-dist (README): Commit it to CVS if there is a CVS directory.
More changes from Germano Caronni <caronni@tik.ethz.ch>:
* malloc/free.c: Relocate _heapinfo when that allows us to return
core to the system.
* malloc/malloc.c: Move #include <errno.h> outside #ifndef
_MALLOC_INTERNAL.
Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* mach/Makefile (headers): Add mach/mach_traps.h.
* Makerules ($(installed-libcs) rule): Fix typos.
* sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
* sysdeps/stub/revoke.c: New file.
* misc/Makefile (routines): Add revoke.
* posix/unistd.h [__USE_BSD] (revoke): Declare it.
* sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
(forkpty): Declare login_tty.
* misc/logwtmp.c (logwtmp): Declare to return void.
* misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
* posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
* posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
unless L_SET already defined.
* misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
already defined.
Incorporated -lutil library from 4.4-Lite.
* misc/Makefile (extra-libs, libutil-routines): New variables.
* misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
Support simple, light-weight unwind-protect mechanism for longjmp.
* setjmp/longjmp.c: Call _longjmp_unwind first thing.
* sysdeps/mach/hurd/jmp-unwind.c: New file.
* sysdeps/stub/jmp-unwind.c: New file.
* sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
* sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
* setjmp/Makefile (routines): Add jmp-unwind.
* hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
`prevp' members into new substructure `resource'; add another such
substructure `thread' and members `cleanup' (function ptr) and
`cleanup_data' (generic ptr).
(_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
into the `_hurd_self_sigstate ()->active_resources' list via the
`thread' substructure.
* hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
(_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
LINK->cleanup_data' to the port extracted.
* hurd/hurd/signal.h (struct hurd_sigstate): New member
`active_resources'.
* hurd/port-cleanup.c: New file.
* hurd/Makefile (routines): Add port-cleanup.
* malloc/malloc.c: Include errno.h.
Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* misc/Makefile (headers): Add utmp.h.
* misc/utmp.h: New file, incorporated from 4.4-Lite.
* stdio/printf-parse.h: New file, mostly written by drepper.
* stdio/vfprintf.c: Rewritten, mostly by drepper.
* stdio/printf-prs.c: Rewritten.
* stdio/Makefile (distribute): Add printf-parse.h.
Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
with asm name. Just do a ".set start, __start".
* malloc/realloc.c: Call _free_internal instead of free.
Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
directory, open LOCALE/LC_*/SYS_LC_* instead.
Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
stdio/gen-mpn-copy: Files moved to stdlib.
* stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
* stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
* stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
headers.
* stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
headers.
* Makefile (parent-mostlyclean): Don't use $(libc.a).
(parent-clean): Use $(objpfx) to find sysd-*.
* Rules (generated): Append dummy.o dummy.c.
* Makerules (lib): Depend on lib-noranlib.
(lib-noranlib): Depend on $(install-lib) in objdir.
(common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
from objdir. Don't remove TAGS; it comes in the distribution.
* malloc/malloc.c (morecore): Save errno around call to
_realloc_internal. Don't account for the additional new blocks of
the info table itself when choosing the new table size for the
first crack; if it succeeds, the new blocks will have been found
in existing free space already described by the existing info
table.
* stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
read-ahead character.
Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
Get anal with unsigned to pacify compiler.
* stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
means %d from 3rd arg).
* sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
* stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
END, not GROUP.
Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makefile (subdirs): Put elf last.
* sunrpc/Makefile (install-lib): Variable removed.
(rpcsvc-objs): Variable removed.
(extra-objs): Don't include $(rpcsvc-objs).
(extra-libs): New variable, contains librpcsvc.
(librpcsvc-routines): New variable.
(librpcsvc-inhibit-o): New variable, contains .so.
(omit-deps): Set this to $(librpcsvc-routines).
($(objpfx)rpcgen): Don't use $(libc.a).
(lib, $(objpfx)librpcsvc.a): Targets removed.
* o-iterator.mk, extra-lib.mk: New files.
* Makerules (o-iterator): New variable.
[extra-libs]: Include extra-lib.mk to generate rules for each word
of $(extra-libs).
* Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
* sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
Handle 80-bit denormalized numbers correctly.
* stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
(IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
* stdlib/strtod.c (RETURN): Add parentheses around return value.
(round_and_return): Correct handling of denormalized numbers.
* stdio/fpioconst.c, stdio/fpioconst.h: Don't use
LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
exponent.
Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/C-ctype.c: New correct data generated by drepper.
* Rules: Don't use $(libc.a).
Parsing of grouped numbers contributed by Ulrich Drepper.
* stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
new flag arg; if nonzero, parse locale-dependent thousands
grouping and interpret only the prefix that is correctly grouped.
(strtol): Define this to call _strtol_internal with zero for the flag.
Use a weak symbol for the definition.
* stdlib/strtod.c (strtod, __strtod_internal): Likewise.
Check for the exponent of the number overflowing the float format.
* stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
(__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
[__OPTIMIZE__]: Define inline functions calling those.
* stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
(strtold): Remove weak alias.
* stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
(strtof): Remove weak alias.
* stdlib/grouping.h: New file, written by drepper.
* stdlib/Makefile (distribute): Add grouping.h.
* stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
__strtoX_internal with the grouping flag set iff the modifier is
present.
Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
* mach/Machrules: Produce static deps for all object flavors.
[interface-library]: Remove all these variables and rules.
($(interface-library)-routines): Define this variable.
(extra-libs): Append $(interface-library) to this.
* mach/Makefile (interface-library): Omit .a suffix.
* hurd/Makefile: Likewise.
Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
early if no new data in buffer after priming.
Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makerules (object-suffixes, libtypes): Move all these variables
to Makeconfig.
* Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
* Makerules (build-extra-lib): New canned sequence.
* sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
fix uses of FILE and PORT. Remove bogus weak alias for `access'.
* sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
Add missing semicolon.
* sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
hurd_fd *' temp var, since DIRP->__fd is a `void *'.
* sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
* stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
locale data format is implemented.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Pass &__sigreturn on the stack to the trampoline code, so it is
not position-dependent.
* stdio/printf_fp.c (NDEBUG): Define this to disable assert.
Don't include <stdarg.h>.
(__printf_fp): Last arg ARGS is now `const void **const';
dereference ARGS[0] instead of using va_arg.
* locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
loop to install data.
* locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
to extract number from item code.
(_nl_load_locale): Close the descriptor when finished.
* malloc/realloc.c (_realloc_internal): Call _malloc_internal in
place of malloc.
* time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
* stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
to avoid warning.
* sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
int to avoid warning.
Support building several flavors of objects and libraries.
* Makerules (libtypes, object-suffixes): New variables.
(libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
suffix.
(CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
(%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
(close-check-inhibit-asm): Append a semicolon.
(sysd-rules): Generate rules for each object suffix.
(compile.S, compile.c): Always assume gcc.
(OUTPUT_OPTION): Define unconditionally.
(+make-deps): In generated rule, produce a dependent for each
object suffix.
(.SUFFIXES): Add $(object-suffixes) in place of .o.
(.PRECIOUS): Make all suffix flavors precious.
($(libc.a)): Target removed.
(lib): Depend on each enabled libtype.
(libobjs, objects, objs): Depend on all the enabled object flavors.
(lib%.a): New pattern rule.
[$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
(stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
to make one for each flavor; library dep rule likewise rewritten.
($(libc.a)(__.SYMDEF)): Target replaced with one target for each
flavor.
(symdef.%): New pattern rule; helper for __.SYMDEF targets.
(installed-libcs): New variable.
(install): Depend on that instead of
$(libdir)/lib$(libprefix)$(libc-name).a;
that file's rule rewritten to make each enabled libtype.
(install-lib.so): New variable, filters lib%.so from $(install-lib).
(install-lib): Filter out lib%.so after setting install-lib.so.
[$(build-shared)=yes] (install): Install $(install-lib.so).
(common-mostlyclean): Remove all flavors of objects.
* Makefile ($(libc.a)(__.SYMDEF)): Target removed.
[$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
* sysdeps/stub/pause.c: Likewise.
* sysdeps/stub/time.c: Likewise.
* stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
locale data format is implemented.
* stdlib/wctomb.c: Likewise.
* mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
gcc bug is fixed.
* mach/errsystems.c: File removed.
* Makeconfig (libc.a): Variable removed.
(+link): Don't use it.
* configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
assuming `yes'.
* malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
* malloc/realloc.c (_realloc_internal): Renamed from realloc;
don't use __realloc_hook.
(realloc): New function; call __realloc_hook ?: _realloc_internal.
* malloc/malloc.c (_malloc_internal): Renamed from malloc;
don't use __malloc_hook.
(malloc): New function; call __malloc_hook ?: _malloc_internal.
Changes from Germano Caronni <caronni@tik.ethz.ch>:
(initialize): Set up _heaplimit to cover the _heapinfo table.
(morecore_recursing): New static variable.
(morecore): If that is set, return null immediately.
When growing the info table, before getting new core from the
system for it, set morecore_recursing and try moving _heapinfo
with _realloc_internal. When that fails and we get new core, set
_heaplimit to cover the core for the new _heapinfo table.
(register_heapinfo): New function. Record the _heapinfo table's
own blocks in that table and in the statistics variables.
(initialize, _malloc_internal): Use it after allocating new table.
Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
* sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
by other packages.
[LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* mach/errorlib.h (errors): Use const for decl.
* time/tzfile.c (uc2ul, _uc2ul): Macros removed.
(decode): New inline function; decode signed 32-bit integers, and
sign-extend properly when long is longer than 32 bits.
(__tzfile_read): Changed all uses of uc2ul to decode.
Decode the transition times properly when sizeof (time_t) > 4.
* stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
(printf_function): Make last arg ARGS a vector of pointers instead of a
pointer to va_list.
Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
(buffered_vfprintf): Remove line buffer when flush failed.
Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* time/tzfile.c (struct ttinfo): New member `isgmt'.
(__tzfile_read): Read isgmt flags for each type.
(__tzfile_default): When using TZDEFRULES DST rules, adjust
transition times according to the isstd and isgmt flags for the
types of each transition, and adjust each transition to point to
type index either 0 or 1. Reset type indices 0 and 1 to describe
the user's settings.
Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
into just CLASS. Add standard/optional flag to all items.
* locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
* ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
Rearrange defn to satisfy compiler.
* locale/localeinfo.h: Declare _nl_current.
* configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
--enable-shared, --enable-profile, --enable-omitfp; pass settings
through to config.make.
* config.make.in (build-shared, build-profile, build-omitfp): New
config vars.
* elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
(DT_NUM): New macro.
* locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
* locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
* locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
MAP_COPY to MAP_PRIVATE.
Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
* sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
that's used inside the alpha sysdep.h.
* sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
keyword.
* sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
* configure.in: Match `osf*', not `osf1*'.
* configure: Likewise.
* sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob/configure.bat: Fixes from DJ.
* time/backward, time/europe, time/northamerica, time/pacificnew,
time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
time/ialloc.c: Code and data updated from ADO's 95b.
* time/emkdir.c: File removed.
* time/Makefile (distribute, extra-objs, zic): Omit it.
* time/localtime.c: Deansideclized. Never #define __tzname et al
to non-__ names.
* locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
instead of short int *.
* ctype/ctype-info.c: Likewise.
* ctype/ctype.h: Likewise.
* locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
of EB and EL versions.
Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
(_IS* enum): Use _ISbit to produce values.
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* ctype/ctype-info.c: For initial tables, use
_nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
locale/C-ctype.c.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
alias munmap.
* sysdeps/unix/mman/munmap.S: Likewise.
* sysdeps/mach/munmap.c: Likewise.
* sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
alias mmap.
* sysdeps/unix/mman/mmap.S: Likewise.
* sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
* sysdeps/stub/mmap.c: Likewise.
* sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
* sysdeps/unix/dirfd.c: #undef dirfd before function defn.
Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* misc/search.h: Add missing semicolon.
* sysdeps/unix/dirfd.c: Fix typo.
* sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
in decl.
* stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
WIDTH before test.
Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdlib/strtod.c: Fixes from drepper.
[IMPLICIT_ONE]: New macro, one for IEEE754 formats.
* stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
* stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
* stdio/vfprintf.c: Correctly notice Z modifier.
* misc/search.h: New file.
* misc/Makefile (headers): Add search.h.
* misc/insremque.c: Include search.h.
(struct qelem): Type removed.
Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/libelf.h: New file.
* elf/elf_hash.c: New file.
Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Changes from Germano Caronni <caronni@tik.ethz.ch>:
* malloc/malloc.c (morecore): Account in NEWSIZE for the
malloc_info structures for each new block.
Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/hurd/kill.c: When the process has no message port
registered and we have its task port, translate a few signals to
task_suspend/task_resume/task_terminate.
Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* io/Makefile (routines): Add euidaccess.
* sysdeps/mach/hurd/euidaccess.c: New file.
* sysdeps/stub/euidaccess.c: New file.
* posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
* dirent/Makefile (routines): Add dirfd.
* sysdeps/stub/dirfd.c: New file.
* sysdeps/unix/dirfd.c: New file.
* sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
* dirent/dirent.h (dirfd): Declare new function. Define as macro
_DIR_dirfd if that is defined.
* sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
with `void *__fd'.
* sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
Open the file with `open'; set FD_CLOEXEC on the fd.
* sysdeps/mach/hurd/closedir.c: Likewise.
* sysdeps/mach/hurd/readdir.c: Likewise.
* sysdeps/mach/hurd/dirfd.c: New file.
* posix/Makefile (glob/configure): Do cvs commit if there is a CVS
directory.
(glob/ChangeLog): Likewise.
* locale/locale.h (LC_*): Use small integers instead of bit masks.
* stdio/bug4.c: Put temporary files in /tmp.
* stdio/bug3.c: Likewise.
* stdio/bug5.c: Likewise.
* stdio/test-fseek.c: Likewise.
* stdio/test-popen.c: Likewise.
Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
* libc-symbols.h (weak_symbol): New macro.
* hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
elts with null handlers.
* sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdlib/random.c (__srandom): Change algorithm used to populate
the state array.
(randtbl): Recomputed with new algorithm.
* sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
to original value of `crypt'.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
(crypt): New variable, set to crypt.solar.
Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
* sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
* config.h.in: Put comment around ^L to pacify Solaris as here too.
Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* string/Makefile (distribute): Add pagecopy.h.
* sysdeps/mach/pagecopy.h: New file.
* sysdeps/generic/pagecopy.h: New file.
* sysdeps/generic/memcpy.c: Include pagecopy.h; call
PAGE_COPY_FWD_MAYBE first when word aligned.
* sysdeps/generic/memmove.c: Likewise.
* misc/bsd-compat.c (longjmp, setjmp): Functions removed.
(getpgrp): Call __getpgid instead of __getpgrp.
* Makefile (subdirs): Add elf first.
* elf/Makefile: New file.
* elf/elf.h: New file.
* sysdeps/unix/start.c (errno): Only define if it's not #define'd
as a macro.
[! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
indirection.
* csu/Makefile (crtstuff): New variable consolidates crti, crtn;
add crti_s, crtn_s.
(install-lib, extra-objs, generated-, omit-deps): Use that.
(initfini): New canned sequence, broken out of crt[in].s rule.
(crt[in].s rule): Use it.
(crt[in]_s.s): New rule.
* csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
(_init, _fini): Use GLOBAL as storage class.
Add self reference to avoid GCC optimizing out the functions.
* Makefile (headers): Remove $(stddef.h).
* Makeconfig (stddef.h): Variable removed; now require gcc version
>= 2.2.
* stddef.h: File removed.
Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
definition.
* sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
* stdlib/strtod.c: Allow the string to start with a decimal point
without a leading zero.
Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* Makefile (subdirs): Put csu first.
* sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
* Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
to crt[in].o.
(csu-objpfx): New variable.
(+link): Use it to find start.o and $(+preinit), $(+postinit).
* Rules (subdir_lib, all): Depend on objs.
* config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
* stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
access to float.h macros.
* misc/efgcvt.c: New file.
* misc/Makefile (routines): Add efgcvt.
Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
* sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
* sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
to avoid a misreference that would override sysdeps/generic/mul.c.
* sysdeps/sparc/Dist: Likewise.
Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* posix/Makefile (aux): Add environ.
* posix/environ.c: New file.
* sysdeps/unix/sparc/start.c: Remove __environ definition.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/mach/hurd/start.c: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/stub/start.c: Likewise.
* sysdeps/unix/make_errlist.c: In produced program, test
HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
* sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
Remove extra weak alias.
* sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
in #include.
* libc-symbols.h: Put comment around ^L to pacify Solaris as.
* sysdeps/posix/Makefile (cded-objdir-includes): New variable
replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
$(CPPFLAGS).
(mk-stdiolim): Use it instead.
Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* mach/mach_init.c (__vm_page_size): Make it initialized. It does
not work to make a weak alias to a bss symbol.
* stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
(tests): Add test-fwrite.
* stdio/test-fwrite.c: New file.
* stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
__strtold.
* Makefile (autoconf-it): New canned sequence. Do cvs commit if
there is a CVS directory.
(configure, %/configure): Use $(autoconf-it) for cmds.
* Make-dist: Likewise.
* sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
if there is a CVS directory.
* sysdeps/sparc/Makefile (divrem output): Likewise.
* sysdeps/alpha/Makefile (divrem output): Likewise.
* Makerules ($(gpl2lgpl)): Likewise.
* Makerules (rule to install lib%.a from $(install-lib)): Fix
patsubst to elide ranlib for $(non-lib.a).
* stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
* mach/mig-dealloc.c: Add weak alias mig_deallocate.
Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
DEALLOC_REFPORT; deallocate the refport after use only if it
evaluates to nonzero.
* sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
* hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
* hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
*STATE_CHANGE to indicate whether or not we changed *STATE and it
should be committed to the thread.
(abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
state for a thread, do thread_set_state on that thread. Don't use
SS->intr_port for collecting reply ports, it is not safe to
clobber that when suspending; instead, alloca a temporary array.
(_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
zero when dying, one when suspending. Pass new arg to abort_rpcs.
* sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
HURD_FD_PORT_USE will. Don't use critical sections around
HURD_FD_PORT_USE invocations.
* sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
* sysdeps/posix/stdio_init.c: Likewise.
Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
locking; don't leave the descriptor locked on return.
(HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
Use a critical section around locking the descriptor.
Check for an empty descriptor and return EBADF.
* sysdeps/mach/hurd/dup2.c: Likewise.
* sysdeps/mach/hurd/fcntl.c: Likewise.
Use HURD_FD_PORT_USE macro for RPCs.
* sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
using HURD_FD_PORT_USE.
* sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
to lock the descriptor.
* sysdeps/mach/hurd/stdio_init.c: Use critical sections while
locking the descriptor.
* sysdeps/mach/hurd/fdopen.c: Likewise.
* hurd/fd-close.c: Likewise.
Don't expect the descriptor to be locked on entry.
Check for empty descriptor and return EBADF.
Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
new functions _hurd_ctty_input and _hurd_ctty_output, each
called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
* hurd/ctty-input.c: New file.
* hurd/ctty-output.c: New file.
* hurd/Makefile (dtable): Add ctty-input and ctty-output.
* hurd/fd-read.c: Use _hurd_ctty_input.
* hurd/fd-write.c: Use _hurd_ctty_output.
* sysdeps/mach/hurd/ioctl.c: Likewise.
* hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
as appropriate to the type.
* sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
repeating the union.
(HUGE_VAL, __huge_val): Use it.
[__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
* stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
(STRTOF): Set to __strtold; define strtold as weak alias.
* stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
(STRTOF): Set to __strtof; define strtof as weak alias.
* sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
(IEEE754_FLOAT_BIAS): New macro.
* sysdeps/ieee754/mpn2ldbl.c: Fix typos.
* stdlib/testmb.c: Add tests from rfg for using normal chars as
multibyte chars.
* hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
only the `defined but not used' warning, but also to avoid GCC
optimizing out the entire function (!).
* stdlib/wctomb.c: Include ctype.h.
* Makerules (install-lib-non.a): Don't include $(non-lib.a).
* hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/printf_fp.c: Include "fpioconst.h".
(_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
(__printf_fp): All references changed.
Don't bother computing THOUSANDS_SEP if GROUPING is empty.
(group_number): Use memmove instead of memcpy, since operands overlap.
* stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
* stdio/fpioconst.h: New file, header declaring the table data.
* stdio/Makefile (aux): Add fpioconst.
(distribute): Add fpioconst.h.
* stdlib/strtod.c: Complete rewrite from drepper.
* stdlib/strtof.c: New file.
* stdlib/strtold.c: New file.
* stdlib/Makefile (routines): Add strtof, strtold.
* stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
* sysdeps/stub/mpn2flt.c: New file.
* sysdeps/stub/mpn2dbl.c: New file.
* sysdeps/stub/mpn2ldbl.c: New file.
* sysdeps/ieee754/mpn2flt.c: New file.
* sysdeps/ieee754/mpn2dbl.c: New file.
* sysdeps/ieee754/mpn2ldbl.c: New file.
* Makerules (install-lib.a): Don't filter out $(non-lib.a).
($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
appears in $(non-lib.a).
Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdlib/wctomb.c: A normal ASCII character translates to itself.
* stdlib/mbtowc.c: Likewise.
Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
Remove `const' from prototypes.
* sysdeps/m68k/__longjmp.c: Likewise.
* setjmp/longjmp.c: Likewise.
* sysdeps/i386/__longjmp.c: Likewise.
* sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
so when we return a name, it is incremented past the value that
produces that same name.
* stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
* stdio/stdio.h (fgets): Likewise.
* stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
* hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
when it's EBACKGROUND; we need to notice that it is EBACKGROUND
and retry the RPC.
* hurd/fd-read.c: Likewise.
Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
<mach/mig_support.h>.
* assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
* assert/assert.c: Likewise.
* sysdeps/posix/libc_fatal.c: Likewise.
Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
as macros, to satisfy ANSI pedants.
* stdio/internals.c (flushbuf): When there is no new data after
priming the stream, return without writing out the buffer.
* stdio/Makefile (tests): Add bug7.
* stdio/bug7.c: New file.
* io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
is defined.
* stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
* stdio/Makefile (tests): Add errnobug.
* stdio/errnobug.c: New file.
* mach/mig_strncpy.c: Include string.h.
* sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
inlines cause trouble for files defining global register variables.
* stdio/vfprintf.c: Use _strerror_internal for %m.
* sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
* stdio/printf.h (struct printf_info): New member `group', for %' flag.
* stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
* stdio/vfprintf.c (group_number): New function.
(vfprintf): Support %' flag for integer formats, by calling
group_number after formatting the number in WORK.
* stdio/printf_fp.c (guess_grouping, group_number): New functions.
(__printf_fp): Implement `group' flag using them.
* Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
(parent-clean): Remove sysd-rules, not sysdirs.
(distclean): Pass avoid-generated=yes to submake.
(distclean-1): Remove $(sysdep-$(distclean-1)).
* Makerules (objects, objs): Depend on $(extra-objs) too.
(include sysd-Makefile): Protect with ifndef avoid-generated.
* Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
(CPPFLAGS): Use $(defines) in place of $(+defines).
Replace -D_LIBC with -include $(..)libc-symbols.h.
* stdio/freopen.c: Set seen bit before calling fclose.
Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
successes and each kind of failure. Return EPERM or EACCES only
if every task failed that way.
* sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
correctly.
* sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
or resume the process after frobbing.
* hurd/hurdsig.c: Use spin lock operations on sigstate locks
throughout.
(_hurd_thread_sigstate): Don't lock the sigstate lock.
(_hurd_internal_post_signal): New subfunction `mark_pending'; replace
repeated sequences with calls to it. Don't expect the sigstate
lock to be held on entry; lock it just before examining sigaction.
In handler case, check SS->critical_section after calling
abort_rpcs; if set, mark the signal pending and resume the thread.
* hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
(_hurd_self_sigstate): Don't lock the sigstate lock.
(HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
_hurd_self_sigstate_unlocked.
* hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
the sigstate lock.
* hurd/hurdexec.c: Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it. Fix critical section
locking.
* hurd/hurd-raise.c: Likewise.
* sysdeps/mach/hurd/sigsuspend.c: Likewise.
* sysdeps/mach/hurd/sigpending.c: Likewise.
* sysdeps/mach/hurd/sigaltstack.c: Likewise.
* sysdeps/mach/hurd/sigaction.c: Likewise.
* sysdeps/mach/hurd/sigprocmask.c: Likewise.
* hurd/fd-write.c: Likewise.
* hurd/fd-read.c: Likewise.
* sysdeps/mach/hurd/ioctl.c: Likewise.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
* sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
* sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
* hurd/hurdmsg.c (get_int): Likewise.
* stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
* stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
global.
(PAD): Caller changed.
* stdio/printf_fp.c (__pad): Function removed.
(PAD): Use __printf_pad instead.
Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Merged new FP printer by Ulrich Drepper.
* stdio/printf_fp.c: Rewrite by drepper.
* stdio/Makefile (routines): Add ldbl2mpn.
* sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
member.
(union ieee854_long_double): New type, from drepper.
(IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
* sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
* sysdeps/stub/ldbl2mpn.c: New file.
* math/Makefile (routines): Add isinfl and isnanl.
* sysdeps/ieee754/isinfl.c: New file.
* sysdeps/stub/isinfl.c: New file.
* sysdeps/ieee754/isnanl.c: New file.
* sysdeps/stub/isnanl.c: New file.
* malloc/malloc.c (__malloc_extra_blocks): New variable.
(malloc): When getting more core, get __malloc_extra_blocks extra;
put the new block at the end of the free list and let the next loop
iteration use the initial portion of it.
* malloc/free.c (_free_internal): Account for twice
__malloc_extra_blocks in deciding if we have so much extra memory
we should return it to the system.
* malloc/malloc.h (__malloc_extra_blocks): Declare it.
* posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
const in parameter decl.
* sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
* sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
* sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
* sysdeps/mips/bsd-setjmp.S: Likewise.
* sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
* sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
Use `long int' for sigcode. Use explicit register numbers instead
of names.
(_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
* sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdmalloc.c: Remove bogus bcopy decl.
* mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
using __stpncpy.
* io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
* stdio/vfprintf.c: Set PREC to zero for %. without following digit.
Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* mach/mig_strncpy.c: Include mach.h instead of string.h. Use
vm_size_t instead of size_t for arg and return types.
* mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
already does.
Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* set-hooks.h (RUN_HOOK): Dereference PTR properly.
* configure.in (friendly stddef.h check): Write override defn for
`stddef.h' Make variable.
(AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
* configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
* Rules ($(objpfx)dummy.o): Write an empty function, not just an
empty file.
* sysdeps/sparc/Makefile (sysdep-realclean): New variable.
Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
* sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
mach/machine/syscall_sw.h with this.
Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
instead of <lock-intern.h>.
(struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
(_hurd_critical_section_lock): Use spin lock operators.
Don't hold the sigstate lock, unlock it after setting the flag.
(_hurd_critical_section_unlock): Take the sigstate lock
to clear the flag; while holding it, check pending signals. After
unlocking, sig_post ourselves if there were pending signals.
* hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
sigstate lock. If it is locked, clear SS->critical_section and
SS->context, and unlock it.
* sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
* set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
* munch-tmpl.c: Likewise.
* mach/Makefile (routines): Don't filter out syscall_% from
$(mach-syscalls).
Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
* posix/fnmatch.c: Declare errno if it's not defined.
That's simpler than testing #if !defined(__GNU_LIBRARY__)
&& !defined(STDC_HEADERS).
Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* csu/Makefile: New file.
* csu/initfini.c: New file.
* Makefile (+other_dirs): Add csu.
(+init): Variable renamed to libc-init. All references changed.
(aux): Remove start.
(install-lib): Variable removed.
(crt0.o, Mcrt1.o crt1.o): Targets removed.
* mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
and $(objpfx)config.h.
(static deps of RPC alias *.o): Removed.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
Protect macros with this.
* sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
* sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
* sysdeps/unix/bsd/vax/sysdep.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
* sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
* sysdeps/unix/mips/sysdep.h: Likewise.
Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makerules (compile.[Sc]): Match gcc in $(CC) better.
(BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
* hurd/intr-rpc.awk: Emit weak alias.
* sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
__getpgrp.
* sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
this.
* sysdeps/unix/i386/sysdep.h: Likewise.
* sysdeps/unix/sparc/sysdep.h: Likewise.
* io/ftw.c: Avoid `ret' as variable name.
* posix/glob.c: Likewise.
* ctype/ctype.h (_ISalpha): Define as its own bit.
* locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
* stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
DEFINE_HOOK with this.
Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
* mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
* mach/shortcut.awk: Emit weak alias.
* mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
* mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
__ names.
* mach/Makefile (lock): Remove spin-syms.
(routines): Remove __ names, vm_page_size, msgserver_t.
($(mach-syscalls) rule): Generate files without __, add weak alias.
Remove symbol alias file rule.
($(mach-shortcuts) rule): Likewise.
[!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
* mach/Machrules (if-calls.c): Variable and rule removed.
(interface-headers): Don't add $($(if)-calls).
(transform-user-stub): Define to add weak alias.
* set-hooks.h: Use new libc-symbols.h set access macros.
* time/Makefile (routines): Remove __ names.
(aux): Variable removed.
* hurd/Makefile: Likewise.
* sysdeps/unix/start.c (environ): Define as weak alias for __environ.
(data_start): Define as weak alias for __data_start.
* sysdeps/mach/hurd/start.c: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
sys_errlist.
* sysdeps/mach/hurd/errlist.awk: Likewise.
* sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
alias for __environ.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/stub/setdomain.c: Use new stub_warning macro.
* sysdeps/stub/getdomain.c: Likewise.
* sysdeps/stub/vhangup.c: Likewise.
* sysdeps/stub/swapon.c: Likewise.
* sysdeps/stub/sendmsg.c: Likewise.
* sysdeps/stub/recvmsg.c: Likewise.
* sysdeps/stub/acct.c: Likewise.
* sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
* sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
* sysdeps/posix/libc_fatal.c: Likewise.
* sysdeps/i386/abort.c: Likewise.
* sysdeps/i386/__longjmp.c: Likewise.
* sysdeps/generic/make_siglist.c: Emit defn always for
_sys_siglist. Emit weak alias to sys_siglist.
* sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
* sysdeps/ieee754/log10.c: Likewise.
* time/difftime.c: Likewise.
* stdlib/random.c (srand): Define as weak alias for __srandom.
* stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
macros for __libc_atexit.
* stdlib/Makefile (routines): Remove __random, srand.
* stdio/gets.c: Use new link_warning macro instead of old
warn_references.
* stdio/Makefile (routines): Remove __ names.
(aux): Remove syms-stdio.
* socket/Makefile (routines): Added e on getpeernam and getsocknam.
* setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
* setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
* setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
* stdio/stdio.h: Likewise.
* misc/Makefile (routines): Remove __ names.
(aux): Remove data_start.
* sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
* sysdeps/mach/hurd/brk.c: Likewise.
* hurd/hurdid.c: Likewise.
* hurd/hurdpid.c: Likewise.
* hurd/openport.c: Likewise.
* hurd/hurdsock.c: Likewise.
* hurd/hurdsig.c: Likewise.
* hurd/hurdrlimit.c: Likewise.
* hurd/hurdmalloc.c: Likewise.
* hurd/dtable.c: Likewise.
* hurd/setauth.c: Likewise.
* misc/progname.c: Likewise.
* misc/init-misc.c: Likewise.
* sysdeps/generic/vfork.c: Likewise.
* sysdeps/unix/bsd/init-posix.c: Likewise.
* math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
* time/time.h: Likewise.
* math/Makefile (routines): Remove __ names.
* io/Makefile: Likewise.
* termios/Makefile: Likewise.
* resource/Makefile: Likewise.
* signal/Makefile: Likewise.
* dirent/Makefile: Likewise.
* assert/assert.h: Replace __NORETURN keyword with __attribute__
uses. Functions return void and macros deal with this.
* assert/assert-perr.c: Remove obsolete __NORETURN keyword.
Return void. Don't include gnu-stabs.h.
* assert/assert.c: Likewise.
* posix/Makefile (routines): Remove __ names, setpgrp. Add
getpgid.
(aux): Remove environ.
* stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
__attribute__ use.
* posix/unistd.h (_exit): Likewise.
(__getpgrp, __setpgrp): Declarations removed.
(__getpgid, getpid): Declare these.
* configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
$libc_link_{sources,dests}.
* sysdeps/unix/configure.in: Remove __ from file names. Don't
create files, just add to libc_link_{dests,sources}.
* config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
* config.h.in: Add #undefs used by sysdeps configures.
* sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
__setpgid, __getpgid.
* sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
from setpgrp.c.
* sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
from __getpgrp.c.
* sysdeps/unix/bsd/getpgrp.c: File removed.
* sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
Call __getpgid with zero.
* sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
weak aliases setpgid and setpgrp.
* sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
* sysdeps/unix/common/setpgid.S: Likewise.
* sysdeps/mach/hurd/setpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
Use subcall 5 to __pgrpsys.
* sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
weak alias getpgid.
* sysdeps/mach/hurd/getpgid.c: Likewise.
* sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
* sysdeps/unix/common/getpgid.S: Likewise.
* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
Use subcall 4 to __pgrpsys.
* sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
* sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
* sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
* sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
* sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
* sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
* sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
* sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
* sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
* sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
* sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
* sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
* sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
from __getdents.S.
* sysdeps/posix/defs.c: Don't include gnu-stabs.h.
* sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
warning.
* sysdeps/stub/fexecve.c: Likewise.
* sysdeps/stub/fchdir.c: Likewise.
* sysdeps/stub/fchflags.c: Likewise.
* sysdeps/stub/chflags.c: Likewise.
* sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
* sysdeps/generic/abort.c: Likewise.
* sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
* hurd/hurdioctl.c: Include hurd/ioctl.h.
(_hurd_ioctl_handler_lists): Define this set.
(_hurd_lookup_ioctl_handler): New function.
* hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
* hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
(_hurd_lookup_ioctl_handler): Declare it.
(ioctl_handler_t): New typedef. Use it throughout.
* sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
(_hurd_ioctl_handler_lists): Don't define.
(__ioctl): Call _hurd_lookup_ioctl_handler.
* stdlib/strtol.c (maxquad): Make this const.
[__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
* posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
any compile tests.
* sysdeps/mach/hurd/setitimer.c (timer_thread): Call
__msg_sig_post_request, not __sig_post_request.
* misc/getusersh.c: Renamed to getusershell.c.
* sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
* sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
* sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
* sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/stub/settod.c: Renamed to settimeofday.c.
* sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
* sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
* sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
* sysdeps/stub/setitmr.c: Renamed to setitimer.c.
* sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
* sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
* sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
* sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
* sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
* sysdeps/stub/getprio.c: Renamed to getpriority.c.
* sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
* sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
* sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
* sysdeps/stub/setprio.c: Renamed to setpriority.c.
* sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
* sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
* sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
* sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
* sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
* sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
* sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
* sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
* sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
* sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
* sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
* sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
* sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
* sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
* sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
* sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
of __sig_post.
* sysdeps/mach/hurd/sigsuspend.c: Likewise.
* sysdeps/mach/hurd/kill.c: Likewise.
* sysdeps/mach/hurd/sigprocmask.c: Likewise.
* misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
[!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
* sysdeps/stub/remove.c: New file.
* sysdeps/posix/remove.c: New file.
Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* time/mktime.c [weak_alias] (timelocal): Define as weak alias for
mktime.
* mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
__mig_strncpy.
* mach/msg-destroy.c: Renamed from __msg_dest.c.
(mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
* mach/setup-thread.c (mach_setup_thread): Define as weak alias.
* time/tzset.c (tzname, daylight, timezone): Define as weak
aliases for __ names.
* hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
* hurd/hurdlookup.c: Add weak aliases for non-__ names.
* Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
being defined.
Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* string/Makefile (routines): Remove __ names, index, rindex, and
bcmp.
* sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
alias for strchr.
* sysdeps/generic/strchr.c: Likewise.
* sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
alias for strrchr.
* sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
alias for memcmp.
* malloc/free.c (cfree): Define this function, with weak_alias if
available, otherwise a C function.
* malloc/Makefile (gmalloc-routines): Remove cfree.
Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/fseek.c: Do move bufp by O when that puts it exactly at
get_limit. This has the effect of no-op'ing properly for zero.
* configure.in: Add AC_CONFIG_HEADER(config.h).
(--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
* config.h.in: New file.
* setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
All code converted to use weak symbols, defined in the files which
define the real code (with the __ names, the non-__ names are weak).
All old symbol alias files removed.
Many files renamed to remove __ prefix since there is now just
the one file for both the __ and non-__ name for each function.
* libc-symbols.h: New file.
* set-hooks.h: Use libc-symbols.h macros for accessing symbol
sets.
* gnu-stabs.h: Prepend #error this file is obsolete.
* sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
* sysdeps/stub/__access.c: Renamed to access.c; added weak alias
access.
* sysdeps/unix/common/__access.S: Likewise.
* sysdeps/mach/hurd/__access.c: Likewise.
* sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
adjtime.
* sysdeps/unix/common/__adjtime.S: Likewise.
* sysdeps/mach/__adjtime.c: Likewise.
* sysdeps/mach/hurd/__adjtime.c: Likewise.
* sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
* sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
* sysdeps/unix/bsd/vax/__brk.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
* sysdeps/unix/i386/__brk.S: Likewise.
* sysdeps/unix/sparc/__brk.S: Likewise.
* sysdeps/unix/mips/__brk.S: Likewise.
* sysdeps/mach/hurd/__brk.c: Likewise.
* sysdeps/standalone/__brk.c: Likewise.
* sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
* sysdeps/unix/__chdir.S: Likewise.
* sysdeps/mach/hurd/__chdir.c: Likewise.
* sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
* sysdeps/unix/__chmod.S: Likewise.
* sysdeps/mach/hurd/__chmod.c: Likewise.
* sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
* sysdeps/unix/__chown.S: Likewise.
* sysdeps/mach/hurd/__chown.c: Likewise.
* sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
* sysdeps/unix/__close.S: Likewise.
* sysdeps/mach/hurd/__close.c: Likewise.
* sysdeps/standalone/__close.c: Likewise.
* sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
alias copysign.
* sysdeps/ieee754/__copysign.c: Likewise.
* sysdeps/alpha/__copysign.c: Likewise.
* sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
* sysdeps/m68k/fpu/__drem.c: Likewise.
* sysdeps/stub/__drem.c: Likewise.
* sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
* sysdeps/stub/__dup.c: Likewise.
* sysdeps/unix/__dup.S: Likewise.
* sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
* sysdeps/stub/__dup2.c: Likewise.
* sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
* sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
* sysdeps/unix/common/__dup2.S: Likewise.
* sysdeps/mach/hurd/__dup2.c: Likewise.
* sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
execve.
* sysdeps/unix/__execve.S: Likewise.
* sysdeps/mach/hurd/__execve.c: Likewise.
* sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
expm1.
* sysdeps/m68k/fpu/__expm1.c: Likewise.
* sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
fchmod.
* sysdeps/unix/common/__fchmod.S: Likewise.
* sysdeps/mach/hurd/__fchmod.c: Likewise.
* sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
fchown.
* sysdeps/unix/common/__fchown.S: Likewise.
* sysdeps/mach/hurd/__fchown.c: Likewise.
* sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
* sysdeps/unix/__fcntl.S: Likewise.
* sysdeps/mach/hurd/__fcntl.c: Likewise.
* math/__finite.c: Renamed to finite.c; added weak alias finite.
* sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
* sysdeps/stub/__flock.c: Likewise.
* sysdeps/unix/bsd/__flock.S: Likewise.
* sysdeps/mach/hurd/__flock.c: Likewise.
* hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
fopenport.
* sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
* sysdeps/unix/__fork.S: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
* sysdeps/unix/i386/__fork.S: Likewise.
* sysdeps/unix/sparc/__fork.S: Likewise.
* sysdeps/unix/mips/__fork.S: Likewise.
* sysdeps/mach/hurd/__fork.c: Likewise.
* sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
alias fpathconf.
* sysdeps/stub/__fpathcon.c: Likewise.
* sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
* sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
* sysdeps/unix/__fstat.S: Likewise.
* sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
* sysdeps/mach/hurd/__fstat.c: Likewise.
* stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
getdelim.
* sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
alias getdents.
* sysdeps/unix/__getdents.c: Likewise.
* sysdeps/unix/bsd/sun/__getdents.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
* sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
* sysdeps/unix/sysv/__getdents.c: Likewise.
* sysdeps/mach/hurd/__getdents.c: Likewise.
* hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
* sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
alias getdtablesize.
* sysdeps/stub/__getdtsz.c: Likewise.
* sysdeps/unix/bsd/__getdtsz.S: Likewise.
* sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
* sysdeps/mach/hurd/__getdtsz.c: Likewise.
* sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
getegid.
* sysdeps/unix/__getegid.S: Likewise.
* sysdeps/mach/hurd/__getegid.c: Likewise.
* sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
geteuid.
* sysdeps/unix/__geteuid.S: Likewise.
* sysdeps/mach/hurd/__geteuid.c: Likewise.
* sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
getgid.
* sysdeps/unix/__getgid.S: Likewise.
* sysdeps/mach/hurd/__getgid.c: Likewise.
* sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
alias getgroups.
* sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
* sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
* sysdeps/unix/common/__getgrps.S: Likewise.
* sysdeps/mach/hurd/__getgrps.c: Likewise.
* sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
alias gethostname.
* sysdeps/unix/inet/__gethstnm.S: Likewise.
* sysdeps/unix/sysv/__gethstnm.c: Likewise.
* sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
* sysdeps/mach/hurd/__gethstnm.c: Likewise.
* sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
alias getitimer.
* sysdeps/unix/common/__getitmr.S: Likewise.
* sysdeps/mach/hurd/__getitmr.c: Likewise.
* stdio/__getline.c: Renamed to getline.c; added weak alias getline.
* sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
alias getpagesize.
* sysdeps/stub/__getpgsz.c: Likewise.
* sysdeps/unix/__getpgsz.c: Likewise.
* sysdeps/unix/bsd/__getpgsz.S: Likewise.
* sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
* sysdeps/mach/__getpgsz.c: Likewise.
* sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
getpid.
* sysdeps/unix/__getpid.S: Likewise.
* sysdeps/mach/hurd/__getpid.c: Likewise.
* sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
getppid.
* sysdeps/unix/__getppid.S: Likewise.
* sysdeps/mach/hurd/__getppid.c: Likewise.
* sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
alias gettimeofday.
* sysdeps/stub/__gettod.c: Likewise.
* sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
* sysdeps/unix/common/__gettod.S: Likewise.
* sysdeps/mach/__gettod.c: Likewise.
* sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
getuid.
* sysdeps/unix/__getuid.S: Likewise.
* sysdeps/mach/hurd/__getuid.c: Likewise.
* sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
alias infnan.
* sysdeps/ieee754/__infnan.c: Likewise.
* sysdeps/vax/__infnan.c: Likewise.
* sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
* sysdeps/unix/__ioctl.S: Likewise.
* sysdeps/mach/hurd/__ioctl.c: Likewise.
* sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
isatty.
* sysdeps/stub/__isatty.c: Likewise.
* sysdeps/unix/bsd/__isatty.c: Likewise.
* sysdeps/mach/hurd/__isatty.c: Likewise.
* sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
isinf.
* sysdeps/m68k/fpu/__isinf.c: Likewise.
* sysdeps/stub/__isinf.c: Likewise.
* sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
isnan.
* sysdeps/ieee754/__isnan.c: Likewise.
* sysdeps/m68k/fpu/__isnan.c: Likewise.
* sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
* sysdeps/unix/__kill.S: Likewise.
* sysdeps/mach/hurd/__kill.c: Likewise.
* sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
* sysdeps/unix/__link.S: Likewise.
* sysdeps/mach/hurd/__link.c: Likewise.
* sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
* sysdeps/m68k/fpu/__logb.c: Likewise.
* sysdeps/stub/__logb.c: Likewise.
* sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
* sysdeps/unix/__lseek.S: Likewise.
* sysdeps/mach/hurd/__lseek.c: Likewise.
* sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
lstat.
* sysdeps/stub/__lstat.c: Likewise.
* sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
* sysdeps/unix/common/__lstat.S: Likewise.
* sysdeps/mach/hurd/__lstat.c: Likewise.
* sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
alias memccpy.
* sysdeps/vax/__memccpy.c: Likewise.
* sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
* sysdeps/unix/sysv/__mkdir.c: Likewise.
* sysdeps/unix/common/__mkdir.S: Likewise.
* sysdeps/mach/hurd/__mkdir.c: Likewise.
* sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
* sysdeps/unix/__mknod.S: Likewise.
* sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
* sysdeps/mach/hurd/__mknod.c: Likewise.
* mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
* mach/__msgserver.c: Renamed to msgserver.c; added weak alias
mach_msg_server.
* sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
* sysdeps/unix/__open.S: Likewise.
* sysdeps/mach/hurd/__open.c: Likewise.
* sysdeps/standalone/__open.c: Likewise.
* sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
alias pathconf.
* sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
* sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
* hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
* sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
* sysdeps/unix/bsd/vax/__pipe.S: Likewise.
* sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
* sysdeps/unix/i386/__pipe.S: Likewise.
* sysdeps/unix/sparc/__pipe.S: Likewise.
* sysdeps/unix/mips/__pipe.S: Likewise.
* sysdeps/mach/hurd/__pipe.c: Likewise.
* stdlib/__random.c: Renamed to random.c; added weak alias random.
* sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
* sysdeps/unix/__read.S: Likewise.
* sysdeps/mach/hurd/__read.c: Likewise.
* sysdeps/standalone/__read.c: Likewise.
* sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
alias readlink.
* sysdeps/unix/common/__readlink.S: Likewise.
* sysdeps/mach/hurd/__readlink.c: Likewise.
* sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
* sysdeps/m68k/fpu/__rint.c: Likewise.
* sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
* sysdeps/unix/sysv/__rmdir.c: Likewise.
* sysdeps/unix/common/__rmdir.S: Likewise.
* sysdeps/mach/hurd/__rmdir.c: Likewise.
* sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
* sysdeps/stub/__sbrk.c: Likewise.
* sysdeps/mach/hurd/__sbrk.c: Likewise.
* math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
* sysdeps/stub/__select.c: Renamed to select.c; added weak alias
select.
* sysdeps/unix/common/__select.S: Likewise.
* sysdeps/mach/hurd/__select.c: Likewise.
* hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
* sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
setgid.
* sysdeps/unix/__setgid.S: Likewise.
* sysdeps/unix/bsd/__setgid.c: Likewise.
* sysdeps/mach/hurd/__setgid.c: Likewise.
* sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
setitmr
* sysdeps/unix/common/__setitmr.S: Likewise.
* sysdeps/mach/hurd/__setitmr.c: Likewise.
* sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
setpgrp
* sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
* sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
* sysdeps/unix/common/__setpgrp.S: Likewise.
* sysdeps/mach/hurd/__setpgrp.c: Likewise.
* sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
alias setregid.
* sysdeps/unix/common/__setregid.S: Likewise.
* sysdeps/mach/hurd/__setregid.c: Likewise.
* sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
alias setreuid.
* sysdeps/unix/common/__setreuid.S: Likewise.
* sysdeps/mach/hurd/__setreuid.c: Likewise.
* sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
setsid.
* sysdeps/unix/bsd/__setsid.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
* sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
* sysdeps/unix/sysv/linux/__setsid.S: Likewise.
* sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
* sysdeps/mach/hurd/__setsid.c: Likewise.
* sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
settimeofday.
* sysdeps/unix/bsd/__settod.S: Likewise.
* sysdeps/unix/sysv/__settod.c: Likewise.
* sysdeps/mach/hurd/__settod.c: Likewise.
* sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
setuid.
* sysdeps/unix/__setuid.S: Likewise.
* sysdeps/unix/bsd/__setuid.c: Likewise.
* sysdeps/mach/hurd/__setuid.c: Likewise.
* sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
alias sigblock.
* sysdeps/stub/__sigblock.c: Likewise.
* sysdeps/unix/bsd/__sigblock.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
* sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
alias sigpause.
* sysdeps/stub/__sigpause.c: Likewise.
* sysdeps/unix/bsd/__sigpause.S: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
* sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
alias sigprocmask.
* sysdeps/unix/bsd/__sigproc.c: Likewise.
* sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
* sysdeps/mach/hurd/__sigproc.c: Likewise.
* sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
alias sigreturn.
* sysdeps/unix/bsd/sun/__sigret.S: Likewise.
* sysdeps/unix/sysv/i386/__sigret.S: Likewise.
* sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
* sysdeps/unix/i386/__sigret.S: Likewise.
* sysdeps/unix/mips/__sigret.S: Likewise.
* sysdeps/mach/hurd/i386/__sigret.c: Likewise.
* sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
* sysdeps/mach/hurd/mips/__sigret.c: Likewise.
* sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
sigvec.
* sysdeps/stub/__sigvec.c: Likewise.
* sysdeps/unix/bsd/__sigvec.S: Likewise.
* sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
* sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
* sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
* sysdeps/unix/__stat.S: Likewise.
* sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
* sysdeps/mach/hurd/__stat.c: Likewise.
* sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
alias stpncpy.
* sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
symlink.
* sysdeps/unix/common/__symlink.S: Likewise.
* sysdeps/mach/hurd/__symlink.c: Likewise.
* sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
alias sysconf.
* sysdeps/stub/__sysconf.c: Likewise.
* sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
* sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
* sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
* hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
* sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
* sysdeps/unix/bsd/__times.c: Likewise.
* sysdeps/unix/sysv/__times.S: Likewise.
* time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
* sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
* sysdeps/unix/__umask.S: Likewise.
* sysdeps/mach/hurd/__umask.c: Likewise.
* sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
unlink.
* sysdeps/unix/__unlink.S: Likewise.
* sysdeps/mach/hurd/__unlink.c: Likewise.
* sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
utimes.
* sysdeps/unix/bsd/__utimes.S: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
* sysdeps/mach/hurd/__utimes.c: Likewise.
* sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
vfork.
* sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
* sysdeps/unix/bsd/vax/__vfork.S: Likewise.
* sysdeps/unix/bsd/i386/__vfork.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
* sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
* sysdeps/unix/sparc/__vfork.S: Likewise.
* stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
* stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
* sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
* sysdeps/stub/__wait.c: Likewise.
* sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
* sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
* sysdeps/unix/bsd/vax/__wait.S: Likewise.
* sysdeps/unix/bsd/m68k/__wait.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
* sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
* sysdeps/unix/sysv/irix4/__wait.S: Likewise.
* sysdeps/unix/i386/__wait.S: Likewise.
* sysdeps/unix/mips/__wait.S: Likewise.
* sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
* sysdeps/stub/__wait3.c: Likewise.
* sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
* sysdeps/unix/bsd/vax/__wait3.S: Likewise.
* sysdeps/unix/bsd/i386/__wait3.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
* sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
* sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
* sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
* sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
* sysdeps/unix/sysv/linux/__wait4.S: Likewise.
* sysdeps/mach/hurd/__wait4.c: Likewise.
* sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
waitpid.
* sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
* sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
* sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
* sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
* sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
* sysdeps/unix/__write.S: Likewise.
* sysdeps/mach/hurd/__write.c: Likewise.
* sysdeps/standalone/__write.c: Likewise.
* sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
alias tcgetattr.
* sysdeps/unix/bsd/__tcgetatr.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
* sysdeps/unix/sysv/__tcgetatr.c: Likewise.
* sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
alias sigaction.
* sysdeps/unix/bsd/__sigact.c: Likewise.
* sysdeps/unix/sysv/__sigact.c: Likewise.
* sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
* sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
* sysdeps/mach/hurd/__sigact.c: Likewise.
* sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
alias sigsetmask.
* sysdeps/stub/__sigstmsk.c: Likewise.
* sysdeps/unix/bsd/__sigstmsk.S: Likewise.
* sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
* sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
* sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
alias getrusage.
* sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
* sysdeps/unix/common/__getrusag.S: Likewise.
* hurd/task2pid.c: File removed.
* hurd/setauth.c: File removed.
* hurd/pid2task.c: File removed.
* hurd/hurdsyms.c: File removed.
* hurd/getdport.c: File removed.
* hurd/fopenport.c: File removed.
* mach/thread-sym.c: File removed.
* mach/spin-syms.c: File removed.
* mach/msgserver_t.c: File removed.
* mach/msgserver.c: File removed.
* mach/msg.c: File removed.
* mach/mig_syms.c: File removed.
* malloc/mcheck-init.c: File removed.
* malloc/cfree.c: File removed.
* io/flock.c: File removed.
* io/write.c: File removed.
* io/unlink.c: File removed.
* io/umask.c: File removed.
* io/symlink.c: File removed.
* io/rmdir.c: File removed.
* io/readlink.c: File removed.
* io/read.c: File removed.
* io/pipe.c: File removed.
* io/open.c: File removed.
* io/mkdir.c: File removed.
* io/lstat.c: File removed.
* io/lseek.c: File removed.
* io/link.c: File removed.
* io/isatty.c: File removed.
* io/stat.c: File removed.
* io/fstat.c: File removed.
* io/fchown.c: File removed.
* io/fchmod.c: File removed.
* io/dup2.c: File removed.
* io/dup.c: File removed.
* io/close.c: File removed.
* io/fcntl.c: File removed.
* io/chmod.c: File removed.
* io/chdir.c: File removed.
* io/access.c: File removed.
* io/chown.c: File removed.
* time/tzset.c: File removed.
* time/timelocal.c: File removed.
* time/syms-time.c: File removed.
* time/settod.c: File removed.
* time/setitmr.c: File removed.
* time/gettod.c: File removed.
* time/getitmr.c: File removed.
* time/adjtime.c: File removed.
* termios/tcgetattr.c: File removed.
* string/stpncpy.c: File removed.
* string/rindex.c: File removed.
* string/memccpy.c: File removed.
* string/index.c: File removed.
* string/bcmp.c: File removed.
* stdlib/srand.c: File removed.
* stdlib/random.c: File removed.
* stdio/vsscanf.c: File removed.
* stdio/vfscanf.c: File removed.
* stdio/syms-stdio.c: File removed.
* stdio/remove.c: File removed.
* stdio/getline.c: File removed.
* stdio/getdelim.c: File removed.
* signal/ssignal.c: File removed.
* signal/sigvec.c: File removed.
* signal/sigsetmask.c: File removed.
* signal/sigret.c: File removed.
* signal/sigproc.c: File removed.
* signal/sigpause.c: File removed.
* signal/sigblock.c: File removed.
* signal/sigaction.c: File removed.
* signal/kill.c: File removed.
* signal/gsignal.c: File removed.
* setjmp/siglongjmp.c: File removed.
* setjmp/_longjmp.c: File removed.
* resource/getrusage.c: File removed.
* posix/waitpid.c: File removed.
* posix/wait4.c: File removed.
* posix/wait3.c: File removed.
* posix/wait.c: File removed.
* posix/times.c: File removed.
* posix/sysconf.c: File removed.
* posix/setuid.c: File removed.
* posix/setsid.c: File removed.
* posix/setpgrp.c: File removed.
* posix/setpgid.c: File removed.
* posix/setgid.c: File removed.
* posix/pathconf.c: File removed.
* posix/getuid.c: File removed.
* posix/getppid.c: File removed.
* posix/getpid.c: File removed.
* posix/getgrps.c: File removed.
* posix/getgid.c: File removed.
* posix/geteuid.c: File removed.
* posix/getegid.c: File removed.
* posix/fpathcon.c: File removed.
* posix/fork.c: File removed.
* posix/execve.c: File removed.
* posix/environ.c: File removed.
* misc/utimes.c: File removed.
* misc/setreuid.c: File removed.
* misc/setregid.c: File removed.
* misc/select.c: File removed.
* misc/sbrk.c: File removed.
* misc/mknod.c: File removed.
* misc/ioctl.c: File removed.
* misc/getpgsz.c: File removed.
* misc/gethstnm.c: File removed.
* misc/getdtsz.c: File removed.
* misc/data_start.c: File removed.
* misc/brk.c: File removed.
* math/scalb.c: File removed.
* math/rint.c: File removed.
* math/logb.c: File removed.
* math/isnan.c: File removed.
* math/isinf.c: File removed.
* math/infnan.c: File removed.
* math/finite.c: File removed.
* math/expm1.c: File removed.
* math/drem.c: File removed.
* math/copysign.c: File removed.
* math/__scalb.c: File removed.
* dirent/getdents.c: File removed.
Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/morecore.c (__default_morecore): Use
__malloc_ptrdiff_t; don't cast arg to int.
* resolv/getnetnamadr.c: Include "conf/portability.h".
Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdlib/strtol.c: Include errno.h.
[QUAD] (ULONG_MAX): Define to a static variable initialized to
ULONG_LONG_MAX. This is to work around a GCC bug in using the
constant in arithmetic.
* posix/unistd.h (daemon): Declare it.
* malloc/mcheck-init.c: Remove GNU ld hacks.
(__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
* malloc/malloc.c (__malloc_initialize_hook): New hook variable.
(initialize): Call the hook if set.
* malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
(__malloc_initialize_hook): Declare new hook variable.
Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdsig.c: Prepend `msg_' to server RPC names.
* hurd/hurdpid.c: Likewise.
* hurd/hurdauth.c: Likewise.
Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
if any are successful.
* hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
(_S_msg_get_exec_flags, _S_msg_set_exec_flags,
_S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
functions.
(_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
* hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
* hurd/hurd-raise.c: Likewise.
* hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
* sysdeps/mach/hurd/ptrace.c: New file.
* sysdeps/mach/hurd/__select.c: Revamped to use new io_select
interface, which has normal EINTR semantics. Instead of waiting
for io_select_done notification messages, send io_select messages
with short reply timeout and then wait for io_select_reply
messages.
* hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
EXEC_INHERITED) to file_exec.
* hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
use sig_post_untraced_reply. All callers changed.
(abort_thread, abort_rpcs): Take same new arg and pass it through.
All callers changed.
(_hurd_internal_post_signal): Take new arg UNTRACED.
If zero and process is traced, stop with SIGNO as stop signal. If
nonzero, resume process before delivering signal (unless
ACT==stop). Expand local fn sigwakeup into block at end taken iff
SIGNO!=0.
(signal_allowed): New function, broken out of _S_sig_post.
(_S_sig_post): Call it. Pass UNTRACED arg of false to
_hurd_internal_post_signal.
(_S_sig_post_untraced): New function. Just like _S_sig_post, but
pass true for UNTRACED.
* hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
UNTRACED.
* hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
to _hurd_internal_post_signal (value zero).
Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* hurd/hurdinit.c (_hurd_exec_flags): New variable.
(_hurd_init): Initialize it from FLAGS arg.
(_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
raise a SIGTRAP signal (with a sigcode of zero).
* hurd/hurd.h (_hurd_exec_flags): Declare it.
* Version 1.09.5.
Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* malloc/malloc.c (malloc): Fix 1-off in previous change.
Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob/Makefile.in: Remove config.h and config.log.
Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* posix/glob/configure.in: Add AC_CONST check.
* conf/portability.h: #undef sun.
* resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
* resolv/getnetnamadr.c: Likewise.
* socket/Makefile (headers): Add sockaddrcom.h.
* inet/netinet/in.h: Include <sockaddrcom.h>.
(struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
* socket/sys/un.h (struct sockaddr_in): Likewise.
* socket/sys/socket.h (struct sockaddr): Likewise.
* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
* sysdeps/generic/sockaddrcom.h: New file.
* sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
* sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
F_FREESP): New macros.
* sysdeps/posix/truncate.c: New file.
* malloc/malloc.c (malloc): Fix typos in RMS's change.
* malloc/Makefile (dist-routines): Add malloc-find.
* malloc/malloc.h (malloc_find_object_address): Declare it.
* malloc/malloc-find.c: New file.
* malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
__malloc_size_t.
(malloc_info): Use that type for member `busy.info.size'.
* stdlib/strtol.c: Change uses of `long' keyword throughout to use
`LONG' macro.
[! QUAD] (LONG): Define as long.
[QUAD] (LONG): Define as long long.
[QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
versions.
[QUAD] (strtoul, strtol): Define to strtouq, strtoq.
* stdlib/Makefile (routines): Add strtoq and strtouq.
* stdlib/strtoq.c, stdlib/strtouq.c: New files.
* stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
Declare them.
* stdio/vfprintf.c: If there was a precision specified, ignore the
0 flag and always pad with spaces.
* stdio/vfprintf.c: Don't use strchr to skip text until next %.
Use a loop and also stop on first !isascii char.
Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
* malloc/malloc.c (malloc): For a multi-block object, store a
negative number into the busy.info.size of all but the first block.
Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
* sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
instead of t0, t1, and t2.
Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* malloc/memalign.c (__memalign_hook): New variable.
(memalign): Call it if set.
* malloc/malloc.h (__memalign_hook): Declare new variable.
Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* conf/portability.h: Include string.h and stdlib.h.
* inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
* resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
* sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
all uses of `extern __inline' with `__m81_inline'.
* sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
* sysdeps/unix/__fork.S: Swap args in subl.
* posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
compatibility.
Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
* sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
of swtch.
* sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
* mach/spin-solid.c (__spin_lock_solid): Likewise.
Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
for PBUF.
(__ivaliduser): Use getline instead of fgets with fixed-size buffer.
* sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
in `bis' insn; immediate must be second.
* sysdeps/unix/__fork.S: Use subl instead of decl.
* sysdeps/unix/i386/__fork.S: New file.
* sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
Remove A macro; just use `asm volatile' with proper quotes in each
line.
* sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
jmp target register.
* time/africa, time/asia, time/australasia, time/emkdir.c,
time/europe, time/ialloc.c, time/northamerica, time/private.h,
time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
and data from ADO 94h distribution.
* sysdeps/sparc/setjmp.S: Use sethi and or to put address of
__sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
absolute pointer. Put second store in jmp delay slot.
Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
__sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
absolute pointer.
* sysdeps/sparc/bsd-setjmp.S: Likewise.
* configure.in: Use ; before } in { ... } exprs.
See ChangeLog.4 for earlier changes.