OSDN Git Service

merge from glibc
[pf3gnuchains/gcc-fork.git] / libiberty / ChangeLog
index da6798c..1b3ce6a 100644 (file)
@@ -1,3 +1,570 @@
+2001-07-18  Andreas Schwab  <schwab@suse.de>
+
+       * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
+       underscore character.
+
+2001-07-18  Ulrich Drepper  <drepper@redhat.com>
+
+       * regex.c: Limit string length printed in debug messages to 100
+       chars.
+
+2001-07-18  Andreas Jaeger  <aj@suse.de>
+
+       * regex.c: Place under LGPL version 2.1.
+
+2001-07-10  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * Makefile.in: Add support for regex code.
+       * regex.c: New file.
+
+2001-07-05  Mark Klein  <mklein@dis.com>
+
+       * Makefile.in: Add ffs.c dependency.
+       * configure.in: Add ffs.c.
+       * ffs.c: New file.
+
+2001-06-18  Richard Henderson  <rth@redhat.com>
+
+       * concat.c: Include <sys/types.h>.
+
+2001-06-11  Loren J. Rittle  <ljrittle@acm.org>
+
+       bootstrap/3106
+       * strerror.c (sys_nerr): Hide the OS header version.
+       * strsignal.c (sys_nsig): Likewise.
+
+2001-06-10  Richard Henderson  <rth@redhat.com>
+
+       * concat.c: Include string.h.  Fix int vs size_t usage.
+       Simplify the iteration loops.  Use memcpy.
+
+2001-05-16  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
+
+       * partition.c: Fix misspelling of `implementation'.
+
+2001-05-09  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
+
+       * md5.c (md5_init_ctx): Declare constants as unsigned.
+       (md5_process_block): Likewise.
+
+2001-05-07  Zack Weinberg  <zackw@stanford.edu>
+
+       * cp-demangle.c (demangle_v3_with_details,
+       is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
+       function definition.
+       * ternary.c: Use K+R style function definitions.  Use PTR, not
+       void *.  Make arguments constant where possible.
+
+2001-05-07  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.h (splay_tree_max): New function.
+       (splay_tree_min): Likewise.
+
+2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
+
+       * ternary.c: New file - Ternary search tree implementation.
+
+       * Makefile.in: Add ternary.o, and ternary.c dependencies.
+
+2001-04-03  Zack Weinberg  <zackw@stanford.edu>
+
+       * make-temp-file.c (try): Inline.
+
+2001-02-28  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (make-temp-file.o): Depend on config.h.
+
+2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * memchr.c (memchr): Adjust condition to avoid infinite loop.
+
+2001-03-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
+       `_' not followed by a digit is invalid.
+
+2001-03-22  Jim Blandy  <jimb@redhat.com>
+
+       * cp-demangle.c (string_list_delete): Use dyn_string_delete
+       instead of free, to free the contents as well as the string
+       structure.
+
+2001-03-21  Zack Weinberg  <zackw@stanford.edu>
+
+       * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
+       Don't default P_tmpdir to anything.  Try /var/tmp before
+       /usr/tmp.
+
+2001-03-20  Zack Weinberg  <zackw@stanford.edu>
+
+       * choose-temp.c: Split off make_temp_file, and the code
+       duplicated between it and choose_temp_base, into...
+       * make-temp-file.c: ... here; new file.
+
+       * Makefile.in (CFILES): Add make-temp-file.c.
+       (REQUIRED_OFILES): Add make-temp-file.o.
+
+2001-03-20  Jim Blandy  <jimb@redhat.com>
+
+       * cp-demangle.c (struct demangling_def): New fields:
+       is_constructor and is_destructor.
+       (demangling_new): Initialize them.
+       (demangle_ctor_dtor_name): Set them, if we detect a constructor
+       or destructor.
+       (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
+       is_gnu_v3_mangled_dtor): New functions.
+
+2001-03-20  Jason Merrill  <jason@redhat.com>
+
+       * cplus-dem.c (main): Skip initial $.
+
+2001-03-15  Michael Meissner  <meissner@redhat.com>
+
+       * hashtab.c (higher_prime_number): Silence warning that 4294967291
+       might be a signed integer under pre-ISO C systems.
+
+2001-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
+           John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * libiberty/lbasename.c: New file.
+       * libiberty/Makefile.in: Update for lbasename.
+
+2001-03-06  Zack Weinberg  <zackw@stanford.edu>
+
+       * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
+       * configure.in: Replace all alloca logic with a simple use of
+       the above new macro.
+       * config.table: Kill *-*-beos* entry.
+       * config/mh-beos: Delete.
+       * configure, config.in: Regenerate.
+
+       * Makefile.in (ALLOCA, HFILES): Kill.
+       (REQUIRED_OFILES): Add alloca.o.
+       (alloca.o): Depend on libiberty.h.
+       (argv.o): Don't depend on alloca-conf.h.
+       * alloca-conf.h: Delete.
+       * alloca.c: Include libiberty.h.  Kill all #ifdef emacs
+       blocks.  Provide the C alloca unconditionally.  Use PTR where
+       appropriate.  Make i00afunc static.
+       * argv.c: Don't include alloca-conf.h.
+
+2001-03-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * cplus-dem.c (main): Cast enum style to int.
+
+2001-02-16  Loren J. Rittle  <ljrittle@acm.org>
+
+       * cplus-dem.c (main): Initialize style.
+
+2001-02-02  Phil Edwards  <pme@sources.redhat.com>
+
+       * COPYING.LIB:  Update to LGPL 2.1 from the FSF.
+
+2001-01-31  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       Add support for Java demangling under the v3 ABI:
+       * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
+       (struct demangling_def): Add `style' field.
+       (demangling_new): New parameter `style'. Set it in demangling_t.
+       (demangle_prefix): Use NAMESPACE_SEPARATOR.
+       (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
+       (cp_demangle): New parameter `style'. Pass it to demangling_new().
+       (main): Call cp_demangle with extra parameter.
+       (java_demangle_v3): New function.
+       (java_builtin_type_names): New. Table of primitive type names used
+       for Java demangling.
+       (demangle_builtin_type): Look up in java_builtin_type_names if doing
+       Java output.
+       * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
+       demangling.
+       (long_options): Remove obsolete `java' option.
+       (main): Remove explicit handling of `java' option. Instead, pass style
+       parameter in cplus_demangle flags as gdb does.
+       * testsuite/demangle.expected: Add some Java test cases.
+
+2000-12-29  DJ Delorie  <dj@redhat.com>
+
+       * fnmatch.c: Make the note about the origins of this file more
+       accurate, at least until we can sync with glibc.
+       * getopt.c: Ditto.
+       * getopt1.c: Ditto.
+       * md5.c: Ditto.
+       * obstack.c: Ditto.
+
+2000-12-26  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * bsearch.c: New file.
+       * configure.in (funcs): Add bsearch.
+       (AC_CHECK_FUNCS): Likewise.
+       * configure, config.in: Regenerate.
+
+2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * safe-ctype.c: #include "ansidecl.h".
+       * strtod.c: Likewise.
+
+2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * strtoul.c: Include safe-ctype.h, not ctype.h.
+
+2000-12-07  Zack Weinberg  <zack@wolery.stanford.edu>
+
+       * safe-ctype.c: New file.
+       * Makefile.in (CFILES): Add safe-ctype.c.
+       (REQUIRED_OFILES): Add safe-ctype.o.
+
+       * argv.c: Define ISBLANK and use it, not isspace.
+       * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
+       strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
+       uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
+       before calling TOLOWER(c)/TOUPPER(c).
+
+2000-12-07  Mike Stump  <mrs@wrs.com>
+
+       * Makefile.in (distclean): When cleaning, remove testsuite.
+
+2000-12-05  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
+       name before allocating the dyn_string.
+
+2000-12-04  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c: s/new_abi/v3/.
+       * cplus-dem.c: Likewise.
+       (current_demangling_style): Now auto_demangling.
+       (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
+       (main): Use standard symbol chars for auto_demangling.
+
+2000-11-26  Mark Mitchell  <mark@codesourcery.com>
+
+       * hashtab.c (higher_prime_number): Use a table, rather than a
+       seive, to find the next prime.
+
+2000-11-22  H.J. Lu  <hjl@gnu.org>
+
+       * cplus-dem.c (main): Handle gnat_demangling.
+
+2000-11-22  Zack Weinberg  <zack@wolery.stanford.edu>
+
+       * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
+       (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
+       * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
+       argument form of AC_DEFINE in dummy definitions block.  Use
+       AC_DEFINE_NOAUTOHEADER for real definitions of things defined
+       in dummy block.  Preload cache variables instead of bypassing
+       tests, where possible.
+       * acconfig.h: Removed.
+
+       * xmalloc.c (xmalloc_failed): New function, does error
+       reporting on failed allocation.
+       (xmalloc, xcalloc, xrealloc): Use it.
+
+2000-11-21  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * cplus-dem.c (cplus_demangle): Fix formatting.
+       (grow_vect): Ditto.
+       (ada_demangle): Ditto.
+       (internal_cplus_demangle): Ditto.
+       (mop_up): Ditto.
+
+2000-11-21  H.J. Lu  <hjl@gnu.org>
+
+       * cplus-dem.c (main): Handle java_demangling.
+
+2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cplus-dem.c (grow_vect): Prototype.
+       (ada_demangle): Cast the arg of ctype macros to unsigned char.
+
+2000-11-15  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
+       parameter `option'.
+
+2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
+
+       * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
+       be used in GCC.
+
+2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
+
+       * cplus-dem.c: Add gnat demangler.  Add java to demangle style
+       list.
+
+2000-11-04  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * hashtab.c (htab_expand): Change to return int.  Use calloc or
+       xcalloc depending on htab->return_allocation_failure.  Return zero
+       if calloc fails.
+       (htab_create): Update comment to cover memory allocation.
+       (htab_try_create): New.
+       (htab_find_slot_with_hash): Return NULL if htab_expand fails.
+       Update comment to cover this.
+
+2000-11-03  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * hashtab.c: Change void * to PTR where necessary.
+       (htab_create, htab_expand): Correct formatting of comment before
+       function.
+
+2000-10-22  Alex Samuel  <samuel@codesourcery.com>
+
+       * cp-demangle.c (string_list_def): Add caret_position and comments.
+       (result_caret_pos): New macro.
+       (result_append_string): Rename to...
+       (result_add_string): ... this, and insert at caret position.
+       Rename throughout.
+       (result_append): Rename to...
+       (result_add): ... this, and insert at caret position.  Rename
+       throughout.
+       (result_append_char): Rename to...
+       (result_add_char): ... this, and insert at caret position.  Rename
+       throughout.
+       (result_append_space): Remove.
+       (string_list_new): Initialize caret position.
+       (result_add_separated_char): Use caret position.
+       (result_get_caret): New funtion.
+       (result_set_caret): Likewise.
+       (result_shift_caret): Likewise.
+       (result_previous_char_is_space): Likewise.
+       (substitution_start): Use caret position.
+       (substitution_add): Likewise.
+       (demangling_new): Initialize caret position.
+       (demangle_encoding): Use caret position.
+       (demanglin_nested_name): Put CV qualifiers after name.
+       (demangle_type_ptr): Use switch statement.  Handle pointers to
+       arrays.  Don't use result_append_space.  Use caret position.
+       (demangle_type): Emit CV qualifiers after underlying type.  Adjust
+       call to demangle_array_type.
+       (demangle_array_type): Add parameter to handle pointers to arrays.
+
+2000-10-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.c (splay_tree_insert): Fix formatting.
+
+2000-09-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
+
+2000-09-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * splay-tree.c: #include <stdio.h>.
+
+2000-09-14  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/demangle-expected: Add two tests for anonymous
+       namespaces.
+       * cplus-dem.c (gnu_special): Handle anonymous namespaces.
+
+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
 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>.
        <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
        (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
@@ -150,7 +722,7 @@ Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
 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.
@@ -169,7 +741,7 @@ Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
        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.
@@ -207,7 +779,7 @@ Thu Jun  8 09:25:54 2000  Philippe De Muyter  <phdm@macqel.be>
        (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.
@@ -239,7 +811,7 @@ Tue May 30 15:07:52 2000  Jeffrey A Law  (law@cygnus.com)
 
 2000-05-16  Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
 
-        * hashtab.c (hash_pointer): Delete low-order bits which are
+       * 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>
@@ -274,9 +846,9 @@ Thu May  4 17:14:41 2000  Philippe De Muyter  <phdm@macqel.be>
 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.
+       * 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>
 
@@ -328,7 +900,7 @@ Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 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.
@@ -339,7 +911,7 @@ Tue Apr 18 16:23:31 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        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
@@ -368,7 +940,7 @@ Thu Mar 16 01:33:58 2000  Jeffrey A Law  (law@cygnus.com)
        (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.
@@ -3352,7 +3924,7 @@ Thu Feb 11 22:20:47 1993  Fred Fish  (fnf@cygnus.com)
        * cplus-dem.c (string_prepends):  Used now, remove #if 0.
        * cplus-dem.c (demangle_signature):  Call demangle_qualified
        with prepending.
-       * cplus_dem.c (gnu_special):  Recognize static data members that
+       * cplus-dem.c (gnu_special):  Recognize static data members that
        use qualified names.
        * cplus-dem.c (demangle_qualified):  Accumulate qualifiers in a
        temporary buffer and the prepend or append them to the result,