]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/ChangeLog
RISC-V: Add testcase for pr114734
[thirdparty/gcc.git] / libiberty / ChangeLog
index 4f2605c12cf99728d9de17a8748472477d81fa30..cdcd4b3ced8d27c4be0c81a06ef4ba74df18cb52 100644 (file)
@@ -1,3 +1,775 @@
+2024-04-02  Tom Tromey  <tom@tromey.com>
+
+       * cplus-dem.c (cplus_demangle): Try the D demangler with
+       "auto" format.
+       * testsuite/d-demangle-expected: Add --format=auto test.
+
+2024-04-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * regex.c (byte_re_match_2_internal): Fix duplicated words in comment;
+       next next -> next.
+       * dyn-string.c (dyn_string_init): Fix duplicated words in comment;
+       of of -> of.
+
+2024-02-19  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR other/113957
+       * pex-unix.c (pex_unix_exec_child): Set pid = -1 in the error
+       paths, since that is used to signal an erroneous outcome for
+       the routine.
+
+2024-02-15  Richard Biener  <rguenther@suse.de>
+
+       * hashtab.c (iterative_hash): Remove TBAA violating handling
+       of aligned little-endian case in favor of just keeping the
+       aligned case special-cased.  Use | for composing a larger word.
+
+2024-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * vprintf-support.c (libiberty_vprintf_buffer_size): Handle
+       properly l, ll, z, t or on _WIN32 I64 modifiers for diouxX
+       and L modifier for fFgGeE.
+
+2024-01-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-demangle.c (FNQUAL_COMPONENT_CASE): Add case for
+       DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
+       (d_dump): Handle DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
+       (d_nested_name): Parse H after N in nested name.
+       (d_count_templates_scopes): Handle
+       DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
+       (d_print_mod): Likewise.
+       (d_print_function_type): Likewise.
+       * testsuite/demangle-expected: Add tests for explicit object
+       member functions.
+
+2023-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): Verify __get_cpuid and
+       __get_cpuid_count are not implicitly declared.
+       * configure: Regenerated.
+
+2023-12-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * pex-unix.c (pex_unix_wait): Change return type to pid_t.
+
+2023-12-01  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_make_comp): Handle
+       DEMANGLE_COMPONENT_CONSTRAINTS.
+       (d_count_templates_scopes): Likewise.
+       (d_print_comp_inner): Likewise.
+       (d_maybe_constraints): New.
+       (d_encoding, d_template_args_1): Call it.
+       (d_parmlist): Handle 'Q'.
+       * testsuite/demangle-expected: Add some constraint tests.
+
+2023-11-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (GCC_CHECK_ASSEMBLER_HWCAP): Invoke.
+       * configure, aclocal.m4: Regenerate.
+       * Makefile.in (COMPILE.c): Add HWCAP_CFLAGS.
+
+2023-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): New check.
+       * sha1.c: If HAVE_X86_SHA1_HW_SUPPORT is defined, include x86intrin.h
+       and cpuid.h.
+       (sha1_hw_process_bytes, sha1_hw_process_block,
+       sha1_choose_process_bytes): New functions.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+
+2023-11-15  Mark Wielaard  <mjw@redhat.com>
+
+       * aclocal.m4: Rebuild.
+
+2023-11-10  Brendan Shanks  <bshanks@codeweavers.com>
+
+       * configure.ac (AC_CHECK_HEADERS): Add spawn.h.
+       (checkfuncs): Add posix_spawn, posix_spawnp.
+       (AC_CHECK_FUNCS): Add posix_spawn, posix_spawnp.
+       * aclocal.m4, configure, config.in: Rebuild.
+       * pex-unix.c [HAVE_POSIX_SPAWN] (pex_unix_exec_child): New function.
+
+2023-08-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/109751
+       * cp-demangle.c (d_make_comp): Handle DEMANGLE_COMPONENT_FRIEND.
+       (d_count_templates_scopes): Likewise.
+       (d_print_comp_inner): Likewise.
+       (d_unqualified_name): Handle member-like friend mangling.
+       * testsuite/demangle-expected: Add test.
+
+2023-08-07  John Ericson  <git@JohnEricson.me>
+
+       * configure: Regenerate.
+
+2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
+
+       * configure: Regenerate.
+
+2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
+
+       * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
+       (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+       (configure_deps): Depend on ../config/gcc-plugin.m4.
+       * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
+       RANLIB_PLUGIN_OPTION.
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
+
+2023-06-15  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac: Also set shared when enable_host_pie.
+       * configure: Regenerate.
+
+2023-06-13  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_print_conversion): Remove incorrect
+       template instantiation handling.
+       * testsuite/demangle-expected: Add testcases.
+
+2023-06-07  Costas Argyris  <costas.argyris@gmail.com>
+
+       * argv.c (writeargv): Constant propagate "0" for "status",
+       simplifying the code slightly.
+
+2023-06-06  Costas Argyris  <costas.argyris@gmail.com>
+
+       * argv.c (writeargv): Simplify & remove gotos.
+
+2023-06-05  Costas Argyris  <costas.argyris@gmail.com>
+
+       * pex-win32.c: fix typos.
+
+2023-06-05  Costas Argyris  <costas.argyris@gmail.com>
+
+       * pex-win32.c (win32_spawn): Check command line length
+       and generate a response file if necessary.
+       (spawn_script): Adjust parameters.
+       (pex_win32_exec_child): Ditto.
+
+2023-06-03  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/70790
+       * cp-demangle.c (cplus_demangle_operators): Add the noexcept
+       operator.
+       (d_print_comp_inner) <case DEMANGLE_COMPONENT_UNARY>: Always
+       print parens around the operand of noexcept too.
+       * testsuite/demangle-expected: Test noexcept operator
+       demangling.
+
+2023-04-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR other/109306
+       * strstr.c: Revert the 2020-11-13 changes.
+       (strstr): Return s1 if len is 0.
+
+2023-03-30  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * obstacks.texi (Preparing for Obstacks): Remove a (broken)
+       reference to the Glibc manual.
+
+2023-03-03  Costas Argyris  <costas.argyris@gmail.com>
+
+       * pex-win32.c (win32_spawn): Fix memory leak of cmdline
+       buffer and refactor to have cleanup code appear once
+       for all exit cases.
+
+2023-02-11  niXman  <i.nixman@autistici.org>
+
+       * lrealpath.c (lrealpath): try to resolve symlink and
+       use UNC paths where applicable.
+
+2023-01-07  LIU Hao  <lh_mouse@126.com>
+
+       PR middle-end/108300
+       * make-temp-file.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
+       * pex-win32.c: Likewise.
+
+2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       Revert:
+       2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac: Also set shared when enable_host_pie.
+       * configure: Regenerate.
+
+2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac: Also set shared when enable_host_pie.
+       * configure: Regenerate.
+
+2022-11-15  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (struct d_print_info): Rename is_lambda_arg to
+       lambda_tpl_parms.  Augment semantics.
+       (d_make_comp): Add checks for new components.
+       (d_template_parm, d_template_head): New.
+       (d_lambda): Add templated lambda support.
+       (d_print_init): Adjust.
+       (d_print_lambda_parm_name): New.
+       (d_print_comp_inner): Support templated lambdas,
+       * testsuite/demangle-expected: Add testcases.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst: New file.
+       * doc/conf.py: New file.
+       * doc/copyright.rst: New file.
+       * doc/extensions.rst: New file.
+       * doc/function-variable-and-macro-listing.rst: New file.
+       * doc/index.rst: New file.
+       * doc/indices-and-tables.rst: New file.
+       * doc/introduction.rst: New file.
+       * doc/lesser-general-public-license-2.1.rst: New file.
+       * doc/overview.rst: New file.
+       * doc/replacement-functions.rst: New file.
+       * doc/supplemental-functions.rst: New file.
+       * doc/using.rst: New file.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support Sphinx based documentation.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * at-file.texi: Removed.
+       * copying-lib.texi: Removed.
+       * functions.texi: Removed.
+       * libiberty.texi: Removed.
+       * obstacks.texi: Removed.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support --with-sphinx-build.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst:
+       Add trailing newline.
+       * doc/copyright.rst:
+       Add trailing newline.
+       * doc/extensions.rst:
+       Add trailing newline.
+       * doc/function-variable-and-macro-listing.rst:
+       Add trailing newline.
+       * doc/index.rst:
+       Add trailing newline.
+       * doc/indices-and-tables.rst:
+       Add trailing newline.
+       * doc/introduction.rst:
+       Add trailing newline.
+       * doc/lesser-general-public-license-2.1.rst:
+       Add trailing newline.
+       * doc/overview.rst:
+       Add trailing newline.
+       * doc/replacement-functions.rst:
+       Add trailing newline.
+       * doc/supplemental-functions.rst:
+       Add trailing newline.
+       * doc/using.rst:
+       Add trailing newline.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * doc/conf.py: Add newline at last line.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       PR other/107620
+       * configure: Regenerate.
+       * configure.ac: Always set sphinx-build.
+
+2022-11-13  Martin Liska  <mliska@suse.cz>
+
+       PR other/107620
+       * configure: Regenerate.
+       * configure.ac: Always set sphinx-build.
+
+2022-11-10  Martin Liska  <mliska@suse.cz>
+
+       * doc/conf.py: Add newline at last line.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst:
+       Add trailing newline.
+       * doc/copyright.rst:
+       Add trailing newline.
+       * doc/extensions.rst:
+       Add trailing newline.
+       * doc/function-variable-and-macro-listing.rst:
+       Add trailing newline.
+       * doc/index.rst:
+       Add trailing newline.
+       * doc/indices-and-tables.rst:
+       Add trailing newline.
+       * doc/introduction.rst:
+       Add trailing newline.
+       * doc/lesser-general-public-license-2.1.rst:
+       Add trailing newline.
+       * doc/overview.rst:
+       Add trailing newline.
+       * doc/replacement-functions.rst:
+       Add trailing newline.
+       * doc/supplemental-functions.rst:
+       Add trailing newline.
+       * doc/using.rst:
+       Add trailing newline.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support --with-sphinx-build.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * at-file.texi: Removed.
+       * copying-lib.texi: Removed.
+       * functions.texi: Removed.
+       * libiberty.texi: Removed.
+       * obstacks.texi: Removed.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support Sphinx based documentation.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst: New file.
+       * doc/conf.py: New file.
+       * doc/copyright.rst: New file.
+       * doc/extensions.rst: New file.
+       * doc/function-variable-and-macro-listing.rst: New file.
+       * doc/index.rst: New file.
+       * doc/indices-and-tables.rst: New file.
+       * doc/introduction.rst: New file.
+       * doc/lesser-general-public-license-2.1.rst: New file.
+       * doc/overview.rst: New file.
+       * doc/replacement-functions.rst: New file.
+       * doc/supplemental-functions.rst: New file.
+       * doc/using.rst: New file.
+
+2022-10-18  Florian Weimer  <fweimer@redhat.com>
+
+       * acinclude.m4 (ac_cv_func_strncmp_works): Add missing
+       int return type and parameter list to the definition of main.
+       Include <stdlib.h> and <string.h> for prototypes.
+       (ac_cv_c_stack_direction): Add missing
+       int return type and parameter list to the definitions of
+       main, find_stack_direction.  Include <stdlib.h> for exit
+       prototype.
+       * configure: Regenerate.
+
+2022-10-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increment.
+       * cp-demangle.c (cplus_demangle_builtin_types): Add std::bfloat16_t
+       entry.
+       (cplus_demangle_type): Demangle DF16b.
+       * testsuite/demangle-expected (_Z3xxxDF16b): New test.
+
+2022-10-11  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_prefix): 'M' components are not
+       (re-)added to the substitution table.
+       * testsuite/demangle-expected: Add tests.
+
+2022-10-07  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_print_comp_inner): Allow parameter packs
+       in a lambda signature.
+       * testsuite/demangle-expected: Add tests.
+
+2022-09-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/106652
+       PR c++/85518
+       * cp-demangle.c (d_dump): Handle
+       DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE.  Don't handle
+       DEMANGLE_COMPONENT_FIXED_TYPE.
+       (d_make_extended_builtin_type): New function.
+       (cplus_demangle_builtin_types): Add _Float entry.
+       (cplus_demangle_type): For DF demangle it as _Float<N> or
+       _Float<N>x rather than fixed point which conflicts with it.
+       (d_count_templates_scopes): Handle
+       DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE.  Just break; for
+       DEMANGLE_COMPONENT_FIXED_TYPE.
+       (d_find_pack): Handle DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE.
+       Don't handle DEMANGLE_COMPONENT_FIXED_TYPE.
+       (d_print_comp_inner): Likewise.
+       * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Bump.
+       * testsuite/demangle-expected: Replace _Z3xxxDFyuVb test
+       with _Z3xxxDF16_DF32_DF64_DF128_CDF16_Vb.  Add
+       _Z3xxxDF32xDF64xDF128xCDF32xVb test.
+
+2022-09-22  Jonathan Wakely  <jwakely@redhat.com>
+
+       * README: Replace gcc-bugs email address with Bugzilla URL.
+
+2022-08-25  Martin Liska  <mliska@suse.cz>
+
+       * configure: Regenerate.
+
+2022-07-22  Martin Liska  <mliska@suse.cz>
+
+       PR other/106370
+       * _doprnt.c: Remove continue as last stmt
+       in a loop.
+
+2022-07-14  Martin Liska  <mliska@suse.cz>
+
+       * functions.texi: Replace strtoul with strtoull.
+
+2022-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * rust-demangle.c (demangle_const): Add a missing goto pass_return
+       at the end of the function.
+
+2022-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * rust-demangle.c (demangle_path_maybe_open_generics): Add
+       recursion limit.
+
+2022-07-01  Nick Clifton  <nickc@redhat.com>
+
+       PR demangler/105039
+       * rust-demangle.c (demangle_const): Add recursion limit.
+
+2022-06-26  Simon Marchi  <simon.marchi@efficios.com>
+
+       * configure.ac: Add AC_CONFIG_MACRO_DIRS call.
+       * configure: Re-generate.
+
+2022-05-23  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_make_comp): Adjust.
+       (d_name, d_prefix): Adjust subst handling. Add module handling.
+       (d_maybe_module_name): New.
+       (d_unqualified_name): Add incoming module parm. Handle it.  Adjust all callers.
+       (d_special_name): Add 'GI' support.
+       (d_count_template_scopes): Adjust.
+       (d_print_comp_inner): Print module.
+       * testsuite/demangle-expected: New test cases
+
+2022-05-18  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_name): Add SUBSTABLE parameter,
+       push substitution if requested. Adjust unscoped name handling.
+       (d_prefix): Reorder main loop. Adjust all calls.
+       (d_unqualified_name): Add SCOPE parameter, create qualified
+       name here. Adjust all calls.
+       (cplus_demangle_type): Do not handle 'S' here, leave all
+       to d_class_enum_type.
+       (d_class_enum_type): Add SUBSTABLE parameter.
+
+2022-05-17  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_make_comp): Adjust.
+       (d_unqualified_name): Add 'DC' support.
+       (d_count_template_scopes): Adjust.
+       (d_print_comp_inner): Add structured binding.
+       * testsuite/demangle-expected: Add testcases.
+
+2022-05-10  Martin Liska  <mliska@suse.cz>
+
+       * regex.c: Restore comments.
+
+2022-05-10  Martin Liska  <mliska@suse.cz>
+           Alan Modra  <amodra@gmail.com>
+
+       * hashtab.c (htab_empty): Use void * type instead of void **.
+       (htab_expand): Likewise.
+
+2022-05-10  Martin Liska  <mliska@suse.cz>
+
+       * random.c: Remove 'define PTR'.
+
+2022-05-10  Martin Liska  <mliska@suse.cz>
+
+       * alloca.c (C_alloca): Use void * instead PTR.
+       * calloc.c (malloc): Likewise.
+       (bzero): Likewise.
+       (calloc): Likewise.
+       * hashtab.c (find_empty_slot_for_expand): Likewise.
+       (eq_pointer): Likewise.
+       (htab_create_alloc_ex): Likewise.
+       (htab_create_typed_alloc): Likewise.
+       (htab_set_functions_ex): Likewise.
+       (htab_delete): Likewise.
+       (htab_empty): Likewise.
+       (htab_expand): Likewise.
+       (htab_find_with_hash): Likewise.
+       (htab_find): Likewise.
+       (htab_find_slot_with_hash): Likewise.
+       (htab_find_slot): Likewise.
+       (htab_remove_elt): Likewise.
+       (htab_remove_elt_with_hash): Likewise.
+       (htab_clear_slot): Likewise.
+       (htab_traverse_noresize): Likewise.
+       (htab_traverse): Likewise.
+       (htab_hash_string): Likewise.
+       (iterative_hash): Likewise.
+       (hash_pointer): Likewise.
+       * memchr.c (memchr): Likewise.
+       * memcmp.c (memcmp): Likewise.
+       * memcpy.c (memcpy): Likewise.
+       * memmove.c (memmove): Likewise.
+       * mempcpy.c (memcpy): Likewise.
+       (mempcpy): Likewise.
+       * memset.c (memset): Likewise.
+       * objalloc.c (malloc): Likewise.
+       (free): Likewise.
+       (objalloc_create): Likewise.
+       (_objalloc_alloc): Likewise.
+       (objalloc_free_block): Likewise.
+       * random.c (PTR): Likewise.
+       (void): Likewise.
+       (initstate): Likewise.
+       (setstate): Likewise.
+       * regex.c: Likewise.
+       * spaces.c (malloc): Likewise.
+       (free): Likewise.
+       * stpcpy.c (memcpy): Likewise.
+       * strdup.c (malloc): Likewise.
+       (memcpy): Likewise.
+       * strerror.c (malloc): Likewise.
+       (memset): Likewise.
+       * strndup.c (malloc): Likewise.
+       (memcpy): Likewise.
+       * strsignal.c (malloc): Likewise.
+       (memset): Likewise.
+       * vasprintf.c (malloc): Likewise.
+       * vprintf-support.c: Likewise.
+       * xatexit.c (malloc): Likewise.
+       * xmalloc.c (xmalloc): Likewise.
+       (xcalloc): Likewise.
+       (xrealloc): Likewise.
+       * xmemdup.c (xmemdup): Likewise.
+
+2022-03-19  Tiezhu Yang  <yangtiezhu@loongson.cn>
+
+       * floatformat.c (floatformat_ieee_quad_big): Renamed from
+       floatformat_ia64_quad_big.
+       (floatformat_ieee_quad_little): Similarly.
+
+2022-02-22  Jakub Jelinek  <jakub@redhat.com>
+
+       PR lto/104617
+       * simple-object-elf.c (simple_object_elf_match): Fix up URL
+       in comment.
+       (simple_object_elf_copy_lto_debug_sections): Remap sh_info and
+       sh_link even if they are in the SHN_LORESERVE .. SHN_HIRESERVE
+       range (inclusive).
+
+2022-02-17  Mark Wielaard  <mark@klomp.org>
+
+       * rust-demangle.c (rust_demangle_callback): Ignore everything
+       after '.' char in sym for v0. For legacy symbols search
+       backwards to find the last 'E' before any '.'.
+       * testsuite/rust-demangle-expected: Add new .suffix testcases.
+
+2022-01-31  Nick Clifton  <nickc@redhat.com>
+
+       PR demangler/98886
+       PR demangler/99935
+       * rust-demangle.c (struct rust_demangler): Add a recursion
+       counter.
+       (demangle_path): Increment/decrement the recursion counter upon
+       entry and exit.  Fail if the counter exceeds a fixed limit.
+       (demangle_type): Likewise.
+       (rust_demangle_callback): Initialise the recursion counter,
+       disabling if requested by the option flags.
+
+2022-01-15  Martin Sebor  <msebor@redhat.com>
+
+       * regex.c: Suppress -Wuse-after-free.
+
+2021-12-30  Lancelot SIX  <lsix@lancelotsix.com>
+
+       * cp-demangle.c (d_clone_suffix): Support digits in clone tag
+       names.
+       * testsuite/demangle-expected: Check demangling of clone symbols
+       with digits in name.
+
+2021-12-16  H.J. Lu  <hjl.tools@gmail.com>
+
+       Revert:
+       2021-12-16  H.J. Lu  <hjl.tools@gmail.com>
+
+       * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
+       (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+       (configure_deps): Depend on ../config/gcc-plugin.m4.
+       * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
+       RANLIB_PLUGIN_OPTION.
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
+
+2021-12-15  H.J. Lu  <hjl.tools@gmail.com>
+
+       * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
+       (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+       (configure_deps): Depend on ../config/gcc-plugin.m4.
+       * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
+       RANLIB_PLUGIN_OPTION.
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
+
+2021-11-29  Eric Gallager  <egallager@gcc.gnu.org>
+
+       PR other/103021
+       * Makefile.in: Use ETAGS variable in TAGS target.
+       * configure: Regenerate.
+       * configure.ac: Allow ETAGS variable to be overridden.
+
+2021-11-29  Andrew Pinski  <apinski@marvell.com>
+
+       * make-temp-file.c (try_dir): Check to see if the dir
+       is actually a directory.
+
+2021-10-22  Eric Gallager  <egallager@gcc.gnu.org>
+
+       PR other/102663
+       * Makefile.in: Allow dvi-formatted documentation
+       to be installed.
+
+2021-10-17  Luís Ferreira  <contact@lsferreira.net>
+
+       PR d/102618
+       * d-demangle.c (dlang_parse_qualified): Handle anonymous
+       symbols correctly.
+       * testsuite/d-demangle-expected: New tests to cover anonymous
+       symbols.
+
+2021-10-14  Luís Ferreira  <contact@lsferreira.net>
+
+       * testsuite/d-demangle-expected: Add test case for function literals.
+
+2021-10-14  Luís Ferreira  <contact@lsferreira.net>
+
+       * testsuite/d-demangle-expected: Add test cases for simple special
+       mangles.
+
+2021-10-12  Luís Ferreira  <contact@lsferreira.net>
+
+       * d-demangle.c (dlang_parse_qualified): Remove redudant parenthesis
+       around lhs and rhs of assignments.
+
+2021-10-01  Luís Ferreira  <contact@lsferreira.net>
+
+       * testsuite/d-demangle-expected: Add missing format for new test
+
+2021-09-23  Luís Ferreira  <contact@lsferreira.net>
+
+       * d-demangle.c (dlang_Type): Validate MANGLED is nonnull.
+       * testsuite/d-demangle-expected: New test.
+
+2021-09-23  Luís Ferreira  <contact@lsferreira.net>
+
+       * d-demangle.c (dlang_symbol_backref): Ensure strlen of
+       string is less than length computed by dlang_number.
+
+2021-09-01  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * configure: Regenerate.
+       * configure.ac: Do not search for sbrk on Darwin.
+       * xmalloc.c: Do not declare sbrk unless it has been found
+       by configure.
+
+2021-08-29  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-demangle.c (dlang_identifier): Skip over fake parent manglings.
+       * testsuite/d-demangle-expected: Add tests.
+
+2021-08-29  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-demangle.c (dlang_parse_arrayliteral): Add 'info' parameter.
+       (dlang_parse_assocarray): Likewise.
+       (dlang_parse_structlit): Likewise.
+       (dlang_value): Likewise.  Handle function literal symbols.
+       (dlang_template_args): Pass 'info' to dlang_value.
+       * testsuite/d-demangle-expected: Add new test.
+
+2021-08-29  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-demangle.c (dlang_attributes): Handle typeof(*null).
+       (dlang_type): Likewise.  Demangle 'n' as typeof(null).
+       * testsuite/d-demangle-expected: Update tests.
+
+2021-08-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * simple-object-mach-o.c (simple_object_mach_o_write_segment):
+       Cast the first argument to set_32 as needed.
+
+2021-08-18  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * simple-object-mach-o.c (simple_object_mach_o_write_segment):
+       Arrange to swap the LTO index tables where needed.
+
+2021-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * make-temp-file.c (usrtmp): Remove.
+       (choose_tmpdir): Remove use of usrtmp.
+
+2021-06-28  Indu Bhagat  <indu.bhagat@oracle.com>
+
+       * simple-object.c (handle_lto_debug_sections): Copy over .BTF section.
+
+2021-06-28  Indu Bhagat  <indu.bhagat@oracle.com>
+           David Faust  <david.faust@oracle.com>
+           Jose E. Marchesi  <jose.marchesi@oracle.com>
+           Weimin Pan  <weimin.pan@oracle.com>
+
+       * simple-object.c (handle_lto_debug_sections): Copy over .ctf
+       sections.
+
+2021-06-05  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR target/100734
+       * configure.ac: Use libiberty snprintf and vsnprintf on
+       hppa*-*-hpux*.
+       * configure: Regenerate.
+
+2021-05-06  Tom Tromey  <tom@tromey.com>
+
+       * hashtab.c (htab_eq_string): New function.
+
+2021-05-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * configure.ac: Make test for variables more robust.
+       * configure: Regenerate.
+
+2021-05-03  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/99703
+       * configure: Regenerated.
+
 2021-04-21  Andreas Schwab  <schwab@linux-m68k.org>
 
        PR demangler/100177
 2016-06-12  Brooks Moses  <bmoses@google.com>
 
        * cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
-         VLAs.
+       VLAs.
 
 2016-05-31  Alan Modra  <amodra@gmail.com>
 
 
 2009-08-23  H.J. Lu  <hongjiu.lu@intel.com>
 
-        PR ld/10536
-        * Makefile.in (install-html-recursive): Removed.
+       PR ld/10536
+       * Makefile.in (install-html-recursive): Removed.
 
 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
@@ -7183,7 +7955,7 @@ Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
        * 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
+       ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
 
 Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
 
@@ -9567,12 +10339,12 @@ Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
 Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
        * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
-        (_getopt_initialize): New function, broken out of _getopt_internal.
-        (_getopt_internal):
-        If long_only and the ARGV-element has the form "-f", where f is
-        a valid short option, don't consider it an abbreviated form of
-        a long option that starts with f.  Otherwise there would be no
-        way to give the -f short option.
+       (_getopt_initialize): New function, broken out of _getopt_internal.
+       (_getopt_internal):
+       If long_only and the ARGV-element has the form "-f", where f is
+       a valid short option, don't consider it an abbreviated form of
+       a long option that starts with f.  Otherwise there would be no
+       way to give the -f short option.
 
 Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
@@ -9792,8 +10564,8 @@ Fri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 Tue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
 
        * Makefile.in (lneeded-list): ensure that object file names are
-         not duplicated, as multiple instances of the same object file in
-         a library causes problems on some machines
+       not duplicated, as multiple instances of the same object file in
+       a library causes problems on some machines
 
 Mon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
@@ -10206,10 +10978,10 @@ Wed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
 Thu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
 
        * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
-         as a time optimization.
+       as a time optimization.
 
        * cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
-         be more expensive than simply demangling.
+       be more expensive than simply demangling.
 
        * cplus-dem.c (cplus_match): new function.
 
@@ -10305,7 +11077,7 @@ Wed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
 Tue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
 
        * getopt.c, getopt1.c: merged largely gratuitous, mostly
-         whitespace diffs from other prep distributions.
+       whitespace diffs from other prep distributions.
 
 Mon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
 
@@ -10395,7 +11167,7 @@ Mon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
        * Makefile.in: do not print recursion line.
 
        * Makefile.in: allow CFLAGS to be passed in from command line.
-         Removed MINUS_G.  Default CFLAGS to -g.
+       Removed MINUS_G.  Default CFLAGS to -g.
 
 Mon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
 
@@ -10466,8 +11238,8 @@ Thu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
 
        * Makefile.in, configure.in: removed traces of namesubdir,
-         -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
-         copyrights to '92, changed some from Cygnus to FSF.
+       -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
+       copyrights to '92, changed some from Cygnus to FSF.
 
 Sat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
 
@@ -10552,17 +11324,17 @@ Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
 Fri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
 
        * Makefile.in: remove spaces following hyphens because bsd make
-         can't cope.  added standards.text support.  install using
-         INSTALL_DATA.
+       can't cope.  added standards.text support.  install using
+       INSTALL_DATA.
 
        * configure.in: remove commontargets as it is no longer a
-         recognized hook.
+       recognized hook.
 
 Thu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
 
        * Makefile.in: idestdir and ddestdir go away.  Added copyrights
-         and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
-         and mandir now keyed off datadir by default.
+       and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
+       and mandir now keyed off datadir by default.
 
 Fri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)