OSDN Git Service

* splay-tree.h (splay_tree_predecessor): Declare.
[pf3gnuchains/gcc-fork.git] / libiberty / ChangeLog
index 78180af..ee879c4 100644 (file)
@@ -1,3 +1,701 @@
+2000-09-10  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.c (splay_tree_predecessor): New function.
+       (splay_tree_successor): Likewise.
+
+2000-09-10  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/demangle-expected: Add four tests for type_info
+       mangling.
+
+       * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
+       for a non-template non-qualified type_info function or node.
+
+2000-09-08  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c: Fix copyright banner.
+
+2000-09-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * md5.c: #include "ansidecl.h".
+
+2000-09-06  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
+       (demangle_type): Handle substitution candidates correctly in the
+       face of special substitutions.
+
+2000-09-05  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_encoding): Rename variable.
+       (demangle_name): Rename parameter.  Handle return type
+       suppression.
+       (demangle_nested_name): Rename parameter.
+       (demangle_prefix): Likewise.  Change return type suppression.
+       (demangle_unqualified_name): Add parameter.  Flag constructors and
+       conversion operators.
+       (demangle_special_name): Fix comment.
+       (demangle_type): Rename variable.
+       (demangle_bare_function_type): Check for missing return type and
+       parameter. 
+       (demangle_class_enum_type): Rename parameter.
+       (demangle_discriminator): Fix misspelling in comment.
+
+2000-08-31  DJ Delorie  <dj@redhat.com>
+
+       * configure.in (Cygwin): special case cygwin only when we're
+       building cygwin, not when we're hosting cygwin.
+
+2000-09-04  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_template_arg): Eat an `E' after an
+       <expression>. 
+       
+2000-09-04  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_type_ptr): Increment position past
+       pointer and reference characters.
+
+2000-09-04  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_nv_offset): New function.
+       (demangle_v_offset): Likewise.
+       (demangle_call_offset): Likewise.
+       (demangle_special_name): Update thunk demangling to comply with
+       ABI changes.
+       
+2000-09-03  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
+       (substitution_def): Remove template_parm_number.
+       (NOT_TEMPLATE_PARM): Remove.
+       (result_insert_string): New macro.
+       (result_insert): Likewise.
+       (result_insert_char): Likewise.
+       (substitution_add): Remove last parameter.  Don't store template
+       parm number. 
+       (BFT_NO_RETURN_TYPE): Define as NULL.
+       (demangle_encoding): Adjust call to demangle_bare_function_type.
+       (demangle_name): Adjust substitution.  Adjust call to
+       substitution_add. 
+       (demangle_prefix): Adjust call to substitution_add.
+       (demangle_identifier): Handle anonymous namespaces.
+       (demangle_operator_name): Change demangling of vendor-extended
+       operator to match ABI changes.
+       (demangle_type_ptr): Change parameters.  Make recursive.  Handle
+       substitutions here.  
+       (demangle_type): Adjust calls to demangle_template_param,
+       substitution_add, and demangle_type_ptr.  Fix substitution of
+       templated types.
+       (demangle_function_type): Change parameter to a pointer.
+       (demangle_bare_function_type): Likewise.  Adjust insertion point.
+       (demangle_template_param): Remove last parameter.
+       (demangle_expr_primary): Remove unused variable.  Adjust call to
+       demangle_template_param. 
+       (is_mangled_char): Accept `$' and `.'.
+       * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
+       * dyn-string.c (dyn_string_insert_char): New function.
+
+2000-08-31  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/demangle-expected: Add nine tests for
+       underscore-after-number followed by five tests for name-signature
+       delimiter.
+
+2000-08-28  Richard Henderson  <rth@cygnus.com>
+
+       * Makefile.in (md5.o): Depend on config.h.
+
+2000-08-28  Jason Merrill  <jason@redhat.com>
+
+       * Makefile.in (REQUIRED_OFILES): Add md5.o.
+       (CFILES): Add md5.c.
+       * md5.c: New file.
+
+2000-08-27  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_name): Initialize template_p in local
+       name case.  Don't re-add substitutions as candidates.
+       (demangle_nested_name): Use <unqualified-name>.
+       (demangle_prefix): Likewise.  Don't add template names as
+       substitution candidates twice, or re-add a substitution or the
+       last prefix component.
+       (demangle_local_name): Adjust output format.
+
+2000-08-25  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (result_add_separated_char): Change parameter to
+       int.
+       (substitution_add): Don't check for duplicates.  Check if
+       previously allocated size is zero.
+       (demangle_name): Remove duplicate check for std substitution.
+       Clear template flag appropriately.
+       (demangle_prefix): Remove argument to demangle_substitution.
+       Don't check that template flag is already set.
+       (demangle_operator_name): Add pt operator.
+       (demangle_type): Don't treat r as built-in type.  Remove argument
+       to demangle_substitution.  Fix substitution candidate mechanics.
+       Handle <template-template-parm>s.  Improve comments.
+       (demangle_template_param): Don't handle template arg lists here. 
+       (demangle_substitution): Remove parameter.
+       (print_usage): Remove extra fprintf option.
+
+2000-08-24  Greg McGary  <greg@mcgary.org>
+
+       * libiberty/random.c (end_ptr): Revert previous change.
+
+2000-08-24  Greg McGary  <greg@mcgary.org>
+
+       * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
+       demangle_expression, demangle_function_name): Use ARRAY_SIZE.
+       * libiberty/random.c (end_ptr): Likewise.
+
+2000-08-23  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (result_close_template_list): Remove function.
+       (result_add_separated_char): New function.
+       (result_open_template_list): New macro.
+       (result_close_template_list): Likewise.
+       (demangle_prefix): Don't set template_p if the
+       prefix ends with a ctor name.
+       (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
+       (demangle_type): Check for template args after substitution.
+       (demangle_template_args): Use result_open_template_list.
+       
+2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * pexecute.c:  Don't use vfork.  Initialize 'pid' before retry loop.
+
+2000-07-26  Dave Pitts  <dpitts@cozx.com>      
+
+       * config/mh-openedition.h: Added -DLE370 definition.
+
+2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
+
+       * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
+       __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
+       Cast program to 'char *' in errmsg_arg assignment.
+       (PWAIT_ERROR): Define.
+       (pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
+       to DJGPP's WIF* macros.
+
+2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
+           Jeff Law <law@cygnus.com>
+
+       * getcwd.c: Include string.h, stdlib.h for prototypes
+
+       * Makefile.in (rename.o, waitpid.o): Depend on config.h
+       * rename.c: Include config.h, unistd.h
+       * waitpid.c: Include config.h, sys/wait.h
+
+2000-07-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cplus-dem.c (work_stuff_copy_to_from): New.
+       (delete_non_B_K_work_stuff): New.
+       (delete_work_stuff): New.
+       (mop_up): Break out work_stuff partly destruction to
+       delete_non_B_K_work_stuff.
+       (iterate_demangle_function): New.
+       (demangle_prefix): Call iterate_demangle_function instead of
+       demangle_function_name.  Leave handling of name-signature
+       __-delimiters to iterate_demangle_function.
+       (demangle_integral_value): Strip an optional
+       following underscore cautiously.  Handle negative numbers.
+
+2000-07-24  Daniel Berlin <dberlin@redhat.com>
+
+       * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to 
+       if (AUTO_DEMANGLING || GNU_DEMANGLING)
+
+2000-07-21  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
+       allocating ctor mangling.
+       (demangle_array_type): Handle empty and non-constant array length.
+
+2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+           Jeff Law <law@cygnus.com>
+
+       * configure.in (AC_CHECK_HEADERS): Add time.h.
+       (AC_HEADER_TIME): Add check.
+       * configure, config.in: Regenerate.
+       * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
+
+       * configure.in (AC_CHECK_HEADERS): Add limits.h.
+       * configure, config.in: Regenerate.
+       * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
+       * strtol.c, strtoul.c: #include "config.h". Portably #include
+       <limits.h> and/or <sys/param.h>.
+       * Makefile.in (strtol.o, strtoul.o): Update dependencies.
+
+       * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
+       * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
+       * configure, config.in: Regenerate.
+       * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
+
+       * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
+
+2000-07-21  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
+       * (vasprintf.o): Add dependency for config.h in vasprintf.c.
+
+2000-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
+
+       * setenv.c (setenv): Initialize variable `ep'.
+
+       * sigsetmask.c (abort): Prototype.
+
+       * vasprintf.c: Include config.h.  Check ANSI_PROTOTYPES, not
+       __STDC__ for stdarg.h include.
+       (int_vasprintf): Prototype.
+       (checkit): Prototype.  Use VPARAMS/ANSI_PROTOTYPES/VA_START in
+       definition.  Cast `global_total_width' in comparison.
+       (main): Prototype.  Return a value.
+
+       * vfork.c (fork): Prototype.
+
+       * xexit.c: Include config.h.
+
+2000-07-20  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
+       and print it with %u.
+
+2000-07-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/regress-demangle (failed test): Show result and
+       expected output.
+
+2000-07-07  Andrew Haley  <aph@cygnus.com>
+
+       * cplus-dem.c (main): fflush() after emitting last char before
+       waiting for input.
+
+2000-06-28  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_encoding): Accept no substitutions.
+       (demangle_name): Handle <substitution> followed by
+       <unqualified-template-name>.
+       (demangle_type): Follow special substitutions with
+       <class-enum-type>
+       (demangle_subtitution): Set template_p for special substitutions.
+       (main): Fix typos.
+       
+2000-06-27  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_special_name): Swap base and derived
+       class when demangling construction vtables.
+
+2000-06-21  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c: Don't include ctype.h.
+       (IS_DIGIT): New macro.
+       (IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
+       instead of isdigit and isalpanum.
+       (demangling_def): Make name and next const pointers.
+       (STATUS_ALLOCATION_FAILED): New status code.
+       (dyn_string_append_space): Handle failure in
+       dyn_string_append_char.
+       (int_to_dyn_string): Likewise.  Change return value to status_t.
+       (string_list_new): Handle failure of dyn_string_init.
+       (result_close_template_list): Change return type to status_t.
+       Handle failure in dyn_string_append.
+       (result_push): Change return value to status_t.  Handle failure in
+       string_list_new.  Handle failure of result_push throughout.
+       (substitution_add): Change return value to status_t.  Handle
+       dyn_string failures.  Handle failure of substitution_add
+       throughout.
+       (template_arg_list_new): Return NULL on allocation failure.
+       (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
+       Handle error result throughout.
+       (result_append): Likewise.
+       (result_append_char): Likewise.
+       (result_append_space): Likewise.
+       (demangling_new): Make argument a const pointer.  Handle
+       allocation failures.
+       (demangle_template_args): Handle failure in template_arg_list_new
+       and result_close_template_list.
+       (demangle_discriminator): Return if int_to_dyn_string fails.
+       (cp_demangle): Likewise.
+       (cp_demangle_type): New function.
+       (cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
+       memory allocation failure.
+       (main): Likewise.
+       * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
+       IN_LIBGCC2.
+       (dyn_string_init): Change return value to int.  Handle
+       RETURN_ON_ALLOCATION_FAILURE case.
+       (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
+       (dyn_string_release): Delete the dyn_string.
+       (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
+       (dyn_string_copy): Change return type to int.
+       (dyn_string_copy_cstr): Likewise.
+       (dyn_string_prepend): Likewise.
+       (dyn_string_prepend_cstr): Likewise.
+       (dyn_string_insert): Likewise.
+       (dyn_string_insert_cstr): Likewise.
+       (dyn_string_append): Likewise.
+       (dyn_string_append_cstr): Likewise.
+       (dyn_string_append_char): Likewise.
+       (dyn_string_substring): Likewise.
+       
+2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * cp-demangle.c (demangle_operator_name): Add spaces before
+       names beginning with a letter: delete, delete[], new, new[],
+       sizeof.
+       (demangle_special_name): Handle TF <type> and TJ <type>.
+
+Thu Jun  8 18:52:24 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
+
+Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * cp-demangle.c (stdio.h): File included unconditionaly.
+       (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
+       * dyn-string.c (stdio.h): File included.
+       * partition.c (partition_print): No `&' needed to take the address of
+       a function.
+
+2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
+       
+       * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
+
+       * cp-demangle.c (demangle_char): Change parameter from char to int.
+       (demangle_expression, demangle_expr_primary): Remove extra
+       semi-colon in prototype.
+
+       * dyn-string.c (dyn_string_append_char): Change parameter from
+       char to int.
+
+       * memcmp.c (memcmp): Constify.
+
+       * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
+       __extension__.
+
+       * partition.c (elem_compare): Prototype.  Don't cast away
+       const-ness.
+
+       * setenv.c (setenv): Use braces to avoid ambiguous `else'.
+       
+2000-06-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
+
+       * cp-demangle.c: Include demangle.h.
+       (template_arg_list_new): DeANSIfy.
+       (cp_demangle): Make static and add prototype.
+       (operator_code, operators): Constify.
+       (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
+
+2000-06-05  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
+       unsigned char.
+       (demangle_unqualified_name): Likewise.
+       (demangle_number_literally): Likewise.
+       (demangle_type): Likewise.
+       (demangle_substitution): Likewise.
+       (is_mangled_char): Likewise, for isalnum.
+
+2000-06-04  Alex Samuel  <samuel@codesourcery.com>
+
+       * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
+       (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
+       (cp-demangle.o): New dependency.
+       (dyn-string.o): Likewise.
+
+       * dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.
+
+       * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
+       demangler.
+       (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
+       demangling mode.
+       (gnu_new_abi_symbol_characters): New function.
+       (main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
+       file.
+       * cp-demangle.c: New file.
+       
+Tue May 30 16:45:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * floatformat.c: Add name to each floatformat field.
+
+Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (objalloc.o): Depend on config.h
+
+2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
+       if HAVE_STRING_H.
+       * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
+       * objalloc.c: Include config.h.  Include stdlib.h and don't
+       declare malloc or free if HAVE_STDLIB_H.
+       * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
+       else declare malloc without prototype.  Include string.h if
+       HAVE_STRING_H, else declare memset without prototype.  Don't
+       include stddef.h.
+
+2000-05-23  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
+       -j3.
+
+2000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * xmalloc.c: Include config.h for HAVE_SBRK definition.
+
+2000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
+
+        * hashtab.c (hash_pointer): Delete low-order bits which are
+       probably zero, also eliminate a warning on alpha.
+
+2000-05-15  David Edelsohn  <edelsohn@gnu.org>
+
+       * Makefile.in: Change "pic" to depend on $(PICFLAG), not
+       on $(enable_shared).
+
+2000-05-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * config.table: Use mh-sparcpic for sparc*-*-*.
+
+2000-05-08  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.in (CFILES): Add strncmp.c.
+       (NEEDED): Add strncmp.
+
+2000-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
+       Cast the arguments to `islower' to `unsigned char'.
+       (print_demangler_list): Prototype.
+
+Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * sort.c (UCHAR_MAX): Provide fallback definition.
+
+2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * Makefile.in (maintainer-clean-subdir): Fix handling of empty
+       SUBDIRS.
+
+2000-04-28  Kenneth Block  <block@zk3.dec.com>
+           Jason Merrill  <jason@casey.cygnus.com>
+
+        * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
+        (cplus_demangle_set_style): New function for setting style.
+        (cplus_demangle_name_to_style): New function to translate name.
+
+2000-04-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
+
+       * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
+       (libiberty_AC_FUNC_STRNCMP): Invoke.
+
+       * strncmp.c: New file.
+
+Thu Apr 27 16:58:43 MET DST 2000  Jan Hubicka  <jh@suse.cz>
+
+       * hashtab.c (htab_expand): Add prototype.
+       (find_empty_slot_for_expand): Likewise.
+
+2000-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * hashtab.c (hash_pointer, eq_pointer): Make definition static to
+       match prototype.
+       (htab_expand): Cast the return value of xcalloc.
+
+2000-04-24  Mark Mitchell  <mark@codesourcery.com>
+
+       * hashtab.c (hash_pointer): New function.
+       (eq_pointer): Likewise.
+       (htab_hash_pointer): New variable.
+       (htab_eq_pointer): Likewise.
+
+2000-04-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * sort.c (sort_pointers): Fix endianness bugs.
+
+       * sort.c: New file.
+       * Makefile.in (CFILES): Add sort.c
+       (REQUIRED_OFILES): Add sort.o.
+       (sort.o): New target.
+
+2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * Makefile.in (*-subdir): Revamp slightly to avoid losing on
+       4.3BSD systems.
+
+Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * hashtab.c: Various minor cleanups.
+       (htab_find_slot_with_hash): INSERT is now enum insert_option.
+       (htab_find_slot): Likewise.
+
+2000-04-16  Dave Pitts  <dpitts@cozx.com>
+
+       * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
+2000-04-05  Richard Henderson  <rth@cygnus.com>
+
+       * splay-tree.c (splay_tree_remove): New.
+
+2000-03-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
+       codes.
+       (htab_find_with_hash): Likewise.
+       (htab_find_slot_with_hash): Likewise.
+       
+2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * hashtab.c (htab_find_with_hash): Avoid calculating hash2
+       unless it will be used.  Rearrange loop for better
+       optimization.
+       (higher_prime_number): Add static prototype.
+
+Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (partition.o): Depend on config.h
+
+2000-03-14  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * hashtab.c (find_empty_slot_for_expand): New function.
+       (htab_expand): Use it instead of htab_find_slot.
+       (htab_find_with_hash): Renamed from htab_find; now accepts extra
+       argument HASH.
+       (htab_find_slot_with_hash): Likewise for htab_find_slot.
+       (htab_find): New wrapper function.
+       (htab_find_slot): Likewise.
+       (htab_traverse): Pass slot, not entry, to called function.
+
+2000-03-09  Alex Samuel  <samuel@codesourcery.com>
+
+       * Makefile.in (CFILES): Add partition.c.
+       (REQUIRED_OFILES): Add partition.o.
+       (partition.o): New rule.
+       * partition.c: New file.
+       
+2000-03-09  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * hashtab.c (htab_create): Set del_f.
+       (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
+       Use it.
+
+2000-03-08  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * hashtab.c: Remove debugging variables (all_searches,
+       all_collisions, all_expansions). Delete
+       all_hash_table_collisions.
+       (create_hash_table, delete_hash_table, empty_hash_table,
+       find_hash_table_entry, remove_element_from_hash_table_entry,
+       clear_hash_table_slot, traverse_hash_table, hash_table_size,
+       hash_table_elements_number, hash_table_collisions): Rename to:
+       htab_create, htab_delete, htab_empty, htab_find_slot,
+       htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
+       htab_elements, htab_collisions.
+       (htab_find): New function, handles common case where you don't
+       plan to add or delete an entry.
+       (htab_expand): Don't create a whole new table, just a new
+       entry vector.
+       (htab_find_slot): Simplify logic.
+
+1999-08-03  Ian Lance Taylor  <ian@zembu.com>
+
+       * floatformat.c: Add casts to avoid signed/unsigned warnings.
+       * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
+
+       * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
+       $(TARGETLIB)n so it works on MSDOS.
+       (install_to_tooldir): Likewise.
+
+1999-07-21  Ian Lance Taylor  <ian@zembu.com>
+
+       From Mark Elbrecht:
+       * makefile.dos: Remove; obsolete.
+       * configure.bat: Remove; obsolete.
+
+1999-07-11  Ian Lance Taylor  <ian@zembu.com>
+
+       * splay-tree.c (splay_tree_insert): Add initialization to avoid
+       warning.
+
+2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * pexecute.c: Conditionally include string.h.
+       (fix_argv): Handle embedded whitespace in args for Mingw32.
+
+2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
+       we're using gcc.
+
+       * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
+
+1999-12-27  Geoff Keating  <geoffk@cygnus.com>
+
+       * vasprintf.c (int_vasprintf): Don't re-read the format character
+       as this mishandles strings like '%%s'.
+
+1999-12-05  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
+       rather than struct splay_tree_node.
+       (splay_tree_insert): Use struct splay_tree_s rather than struct
+       splay_tree.
+
+Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
+
+       * hashtab.c (sys/types.h): File included.
+
+1999-11-22  Jason Merrill  <jason@casey.cygnus.com>
+
+       * strtoul.c, strtol.c, random.c: Remove advertising clause from
+       BSD license, pursuant with
+
+         ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+
+Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * hashtab.c: Include stdio.h.
+
+Mon Nov  8 09:23:41 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
+
+Tue Nov  2 03:23:13 1999  Philippe De Muyter  <phdm@macqel.be>
+
+       * xstrdup (sys/types.h): Include this file.
+
+1999-10-28  Nathan Sidwell  <nathan@acm.org>
+
+       * Makefile.in (SUBDIRS): New macro.
+       (mostlyclean, clean, distclean, maintainer-clean): Adjust to
+       avoid multiple subdirectory cleaning.
+       (*-subdir): Use SUBDIRS.
+
+1999-10-25  Jim Kingdon  <http://developer.redhat.com/>
+
+       * cplus-dem.c: Move declarations of standard_symbol_characters and
+       hp_symbol_characters inside #ifdef MAIN to avoid compiler
+       warnings.
+
+1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
+
+       * hashtab.c (find_hash_table_entry): When returning a
+       DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
+       (clear_hash_table_slot): New function which deletes an entry
+       by its position in the table, not its value.
+       (traverse_hash_table): New function which calls a hook
+       function for every live entry in the table.
+
 1999-10-19  Mark Mitchell  <mark@codesourcery.com>
 
        * cplus-dem.c (INTBUF_SIZE): New macro.
        (demangle_qualified): Use consume_count_with_underscores.
        (get_count): Tweak formatting.
        (do_type): Use string_append_template_idx.
-       
+
 1999-10-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * calloc.c: Add a public domain notice.
@@ -74,7 +772,7 @@ Wed Sep  8 20:03:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
 Tue Sep  7 23:32:18 1999  Linas Vepstas  <linas@linas.org>
 
-        * config.table: Add openedition target.
+       * config.table: Add openedition target.
        * config/mh-openedition: New file.
 
 Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
@@ -103,7 +801,7 @@ Thu Sep  2 01:36:12 1999  Marc Espie <espie@cvs.openbsd.org>
        (arm_special): Likewise.
        (demangle_fund_type): Likewise.
        (do_hpacc_template_const_value): Mark parameter `work' with
-       ATTRIBUTE_UNUSED.       
+       ATTRIBUTE_UNUSED.
        (main): Constify variable `valid_symbols'.
 
 Tue Aug 24 02:50:45 1999  Philippe De Muyter  <phdm@macqel.be>
@@ -121,7 +819,7 @@ Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
 
 1999-07-14  Richard Henderson  <rth@cygnus.com>
 
-       * argv.c: Include stdlib.h and string.h instead of 
+       * argv.c: Include stdlib.h and string.h instead of
        prototyping directly.
        * choose-temp.c: Conditionally include string.h.
 
@@ -215,7 +913,7 @@ Sun Apr 25 01:18:21 1999  Mumit Khan  <khan@xraylith.wisc.edu>
 1999-04-20  Jim Blandy  <jimb@zwingli.cygnus.com>
 
        Fix from Dale Hawkins:
-       * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be 
+       * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
        reallocated properly if we use it again.
 
        * cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
@@ -306,7 +1004,7 @@ Sun Apr 11 23:20:59 1999  Mumit Khan  <khan@xraylith.wisc.edu>
        * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
        when doing arm or hp style.
        (demangle_nested_args): Decr forgetting_types field when done.
-       
+
 Thu Mar 11 01:22:58 1999  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * pexecute.c (__CYGWIN32__): Rename to
@@ -340,10 +1038,10 @@ Tue Feb  9 01:12:27 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
        * configure.in (funcs): Check for and conditionally add mkstemps to
        the list of functions libiberty will provide.
        * configure: Rebuilt.
-       
+
 Wed Feb  3 00:01:15 1999  Mumit Khan  <khan@xraylith.wisc.edu>
 
-       * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on 
+       * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
        platforms that don't have HZ.
        * getruntime.c (HZ): Likewise.
 
@@ -412,7 +1110,7 @@ Fri Dec 18 17:50:18 1998  David Taylor  <taylor@texas.cygnus.com>
        * cplus-dem.c (demangle_arm_pt): remove declaration -- function
        doesn't exist.
        (do_hpacc_template_literal): remove unused variable `i'.
-       
+
 Fri Dec 18 16:11:43 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
 
        * cplus-dem.c (demangle_fund_type): Process CV and u codes before
@@ -518,7 +1216,7 @@ Mon Nov 23 16:59:49 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
 1998-11-16  Benjamin Kosnik  <bkoz@haight.constant.com>
 
-        * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
+       * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
 
 Thu Nov 19 22:15:50 1998  Jeffrey A Law  (law@cygnus.com)
 
@@ -571,8 +1269,8 @@ Sat Nov  7 16:02:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
 Mon Nov  2 15:05:33 1998  Geoffrey Noer  <noer@cygnus.com>
 
-        * configure.in: detect cygwin* instead of cygwin32*
-        * configure: regenerate
+       * configure.in: detect cygwin* instead of cygwin32*
+       * configure: regenerate
 
 Mon Nov  2 10:22:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
@@ -662,9 +1360,9 @@ Thu Oct 15 18:51:12 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
 Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
 
-        * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
-        * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
-        * config.in, configure: Rebuilt.
+       * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
+       * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
+       * config.in, configure: Rebuilt.
 
        * getopt.c: Check HAVE_STRINGS_H before including strings.h.
        * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
@@ -672,7 +1370,7 @@ Tue Oct 13 23:51:51 1998  Jeffrey A Law  (law@cygnus.com)
 
 Mon Oct 12 19:15:59 1998  Geoffrey Noer  <noer@cygnus.com>
 
-        * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
+       * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
 
 Sun Oct 11 17:36:06 1998  Michael Tiemann  <tiemann@holodeck.cygnus.com>
 
@@ -1112,8 +1810,8 @@ Fri Feb  6 01:35:17 1998  Manfred Hollstein  <manfred@s-direktnet.de>
 
 Thu Feb  5 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
 
-        * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
-        since it gets built automatically
+       * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
+       since it gets built automatically
 
 Sun Feb  1 02:52:32 1998  Mike Stump  <mrs@wrs.com>
 
@@ -1198,24 +1896,24 @@ Mon Sep 29 12:28:41 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        Mon Sep 29 12:27:59 1997  Ian Lance Taylor  <ian@cygnus.com>
 
-        * pexecute.c: Use spawn if __CYGWIN32__.
+       * pexecute.c: Use spawn if __CYGWIN32__.
 
        1997-08-08  Paul Eggert  <eggert@twinsun.com>
 
-        * pexecute.c: Include "config.h" first, as per autoconf manual.
+       * pexecute.c: Include "config.h" first, as per autoconf manual.
 
        Fri Jun 27 15:20:29 1997  Scott Christley <scottc@net-community.com>
 
-        * pexecute.c (fix_argv): New function.
-        (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
-        Add underscore to cwait function call.
+       * pexecute.c (fix_argv): New function.
+       (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
+       Add underscore to cwait function call.
 
 Sun Sep 28 12:00:52 1997  Mark Mitchell  <mmitchell@usa.net>
 
-        * cplus-dem.c (demangle_template): Add new parameter.  Handle new
-        template-function mangling.
-        (consume_count_with_underscores): New function.
-        (demangle_signature): Handle new name-mangling scheme.
+       * cplus-dem.c (demangle_template): Add new parameter.  Handle new
+       template-function mangling.
+       (consume_count_with_underscores): New function.
+       (demangle_signature): Handle new name-mangling scheme.
 
 Wed Sep 24 00:31:59 1997  Felix Lee  <flee@yin.cygnus.com>
 
@@ -1593,7 +2291,7 @@ Tue Jun 25 23:01:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
 
 Tue Jun 25 22:50:07 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
 
-        * Makefile.in (datadir): Set to $(prefix)/share.
+       * Makefile.in (datadir): Set to $(prefix)/share.
 
 Thu Jun 20 21:17:52 1996  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -1639,7 +2337,7 @@ Wed Apr 17 11:17:55 1996  Doug Evans  <dje@canuck.cygnus.com>
 
 Tue Apr 16 11:27:16 1996  Jeffrey A Law  (law@cygnus.com)
 
-        * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
+       * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
        Reverts Feb 8, 1995 change.
 
 Mon Apr 15 12:53:26 1996  Doug Evans  <dje@canuck.cygnus.com>
@@ -1893,7 +2591,7 @@ Wed Jun 28 19:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
        * cplus-dem.c: Update from gcc.
 
        * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
-        <stddef.h>.
+       <stddef.h>.
        * alloca-norm.h: If __STDC__, declare alloca with its parameter.
 
 Thu Jun 22 18:57:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
@@ -1986,17 +2684,17 @@ Mon May 15 19:53:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
 Thu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
 
        * cplus-dem.c: Use const instead of CONST.  Don't include
-        ansidecl.h directly.
+       ansidecl.h directly.
 
 Wed Apr 19 01:30:27 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
 
        * cplus-dem.c: Don't include libiberty.h.  Do declare xmalloc and
-        xrealloc.
+       xrealloc.
        (-DMAIN): Don't rely on an externally-defined version number;
-        instead, require the version number to be defined as a
-        preprocessor macro.  Handle the RS/6000 leading dot.  Define
-        xmalloc, xrealloc and fatal.  Don't strip a leading underscore
-        if we couldn't demangle the word.
+       instead, require the version number to be defined as a
+       preprocessor macro.  Handle the RS/6000 leading dot.  Define
+       xmalloc, xrealloc and fatal.  Don't strip a leading underscore
+       if we couldn't demangle the word.
 
 Tue Apr  4 13:03:51 1995  Stan Shebs  <shebs@andros.cygnus.com>
 
@@ -2170,7 +2868,7 @@ Fri Aug 19 15:29:12 1994  Kung Hsu  (kung@mexican.cygnus.com)
 Thu Aug 18 14:37:14 1994  Kung Hsu  (kung@mexican.cygnus.com)
 
        * cplus-dem.c (demangle args): Handle ARM repeat encoding where
-        the type index is greater than 9.
+       the type index is greater than 9.
 
 Wed Aug 17 16:13:49 1994  Kung Hsu  (kung@mexican.cygnus.com)
 
@@ -2232,7 +2930,7 @@ Thu Jun 16 17:54:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 Sun Jun 12 01:37:09 1994  Jason Merrill  (jason@deneb.cygnus.com)
 
        * cplus-dem.c (demangle_template): Separate consecutive >'s with a
-        space.
+       space.
        (gnu_special): Demangle template and qualified names in a vtable name.
 
 Fri May 27 12:27:52 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
@@ -2276,13 +2974,13 @@ Fri May  6 11:01:59 1994  D. V. Henkel-Wallace  (gumby@rtl.cygnus.com)
 
 Mon Apr 11 00:54:33 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
-        * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
-        Declare strlen to return int.  Don't include stddef.h.
+       * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
+       Declare strlen to return int.  Don't include stddef.h.
 
 Fri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
 
-        * getopt.c: Delete use of IN_GCC to control whether
-        stddef.h or gstddef.h is included.
+       * getopt.c: Delete use of IN_GCC to control whether
+       stddef.h or gstddef.h is included.
 
 Thu Apr 14 14:00:56 1994  Kung Hsu  (kung@mexican.cygnus.com)
 
@@ -2355,27 +3053,27 @@ Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
 Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
-        * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
-        Test just __STDC__, not emacs.
+       * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
+       Test just __STDC__, not emacs.
 
 Wed Feb  9 00:14:00 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
-        * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
-        [emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
+       * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
+       [emacs] [not __STDC__]: Don't include stddef.h.  Don't declare strlen.
 
 Fri Dec 24 19:43:00 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
 
-        * getopt.c (_NO_PROTO): Define before config.h is included.
+       * getopt.c (_NO_PROTO): Define before config.h is included.
 
 Mon Sep 20 15:59:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
 
-        * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
+       * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
        <config.h> only under these, else "config.h".
 
 Thu Aug 12 18:16:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
 
-        * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
-        <config.h> instead of "config.h".
+       * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
+       <config.h> instead of "config.h".
 
 Sun Feb 20 17:17:01 1994  Ian Lance Taylor  (ian@lisa.cygnus.com)
 
@@ -2751,7 +3449,7 @@ Fri May 21 09:53:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
 Tue May 18 17:12:10 1993  Fred Fish  (fnf@cygnus.com)
 
-        (merge changes from dlong@cse.ucsc.edu)
+       (merge changes from dlong@cse.ucsc.edu)
        * cplus-dem.c (consume_count):  Simplify.
        * cplus-dem.c (arm_pt, demangle_class_name):  New functions.
        * cplus-dem.c (various):  Calls to arm_pt, demangle_class_name.