Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
[platform/upstream/glibc.git] / ChangeLog
index 5db7a44..6f7a40e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,268 @@
+Fri Mar 17 12:58:37 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+       * 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.
+       (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/__math.h (__copysign): Use attribute instead of old
-       __CONSTVALUE by adding forward decl first with the const attribute.
+       * 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.