+
+ * configure: Regenerated.
+
+
+ * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
+ extended qualifier.
+
+
+ * configure.ac: Add AC_GNU_SOURCE.
+ * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
+ * configure, config.in: Rebuild.
+ * floatformat.c (_GNU_SOURCE): Don't define if already defined.
+
+
+ * d-demangle.c (dlang_symbol_kinds): New enum.
+ (dlang_parse_symbol): Update signature. Handle an ambiguity between
+ pascal functions and template value arguments. Only check for a type
+ if parsing a function, or at the top level. Return failure if the
+ entire symbol was not successfully demangled.
+ (dlang_identifier): Update signature. Handle an ambiguity between two
+ adjacent digits in a mangled symbol string.
+ (dlang_type): Update call to dlang_parse_symbol.
+ (dlang_template_args): Likewise.
+ (dlang_parse_template): Likewise.
+ (dlang_demangle): Likewise.
+ * testsuite/d-demangle-expected: Fix bad tests found, and add problematic
+ examples to the unittests.
+
+
+ * d-demangle.c (dlang_template_args): Skip over specialized template
+ parameters in mangled symbol.
+ * testsuite/d-demangle-expected: Add coverage and unittest for specialized
+ template parameters.
+
+
+ * d-demangle.c (dlang_type): Handle cent and ucent types.
+ * testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
+
+
+ * d-demangle.c (dlang_attributes): Handle return attributes, ignoring
+ return parameters in the mangled string. Return NULL if have encountered
+ an unknown attribute.
+ (dlang_function_args): Handle return parameters in the mangled string.
+ * testsuite/d-demangle-expected: Add coverage tests for functions with
+ return parameters and return attributes.
+
+
+ * d-demangle.c (dlang_identifier): Check encoded length of identifier
+ to verify strncmp matches entire string.
+ * testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
+
+
+ * d-demangle.c (dlang_type_modifiers): New function.
+ (dlang_type_modifier_p): New function.
+ (dlang_call_convention_p): Ignore any kind of type modifier.
+ (dlang_type): Handle and emit the type modifier after delegate types.
+ (dlang_parse_symbol): Handle and emit the type modifier after the symbol.
+ * testsuite/d-demangle-expected: Add coverage tests for all valid
+ usages of function symbols with type modifiers.
+
+
+ * d-demangle.c (dlang_call_convention): Return NULL if have reached the
+ end of the symbol, but expected something to read.
+ (dlang_attributes): Likewise.
+ (dlang_function_type): Likewise.
+ (dlang_type): Likewise.
+ (dlang_identifier): Likewise.
+ (dlang_value): Likewise.
+
+
+ * d-demangle.c (dlang_parse_string): Represent embedded whitespace or
+ non-printable characters as hex or escape sequences.
+ * testsuite/d-demangle-expected: Add test for templates with tabs and
+ newlines embedded into the signature.
+
+
+ * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
+ but not HAVE_SYS_TIME_H.
+
+
+ * setenv.c <environ>: Declare only if not a macro.
+
+
+ * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
+
+
+ PR target/65351
+ * configure: Regenerate.
+
+
+ PR target/65351
+ * configure: Regenerate.
+
+
+ * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
+ macros.
+
+
+ * xasprintf.c: New file.
+ * Makefile.in (CFILES): Add xasprintf.c.
+ (REQUIRED_OFILES): Add xasprintf.$(objext).
+ (xasprintf.$(objext)): New target.
+ * functions.texi: Regenerate.
+
+
+ * xvasprintf.c: New file.
+ * vprintf-support.h: Likewise.
+ * vprintf-support.c: Likewise.
+ * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
+ (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
+ (vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
+ (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
+ * functions.texi: Regenerate.
+ * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
+
+
+ PR other/63694
+ * configure.ac: Check for strtol, strtoul, strtoll and strtoull
+ declarations.
+ * configure: Regenerated.
+
+
+ * testsuite/test-strtol.c (run_tests): Cast strtol return to
+ unsigned long.
+
+
+ PR driver/36312
+ * filename_cmp.c (canonical_filename_eq): New function to check if
+ file names are the same.
+ * functions.texi: Updated with documentation for new function.
+
+
+ * ChangeLog.jit: New.
+
+
+ * sigsetmask.c (_POSIX_SOURCE): Remove.
+
+
+ * strtoll.c: New file.
+ * strtoull.c: New file.
+ * configure.ac: Add long long checks. Add harness for strtoll and
+ strtoull. Check decls for strtol, strtoul, strtoll, strtoull.
+ * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * functions.texi: Regenerate.
+ * testsuite/Makefile.in (check-strtol): New rule.
+ (test-strtol): Likewise.
+ (mostlyclean): Clean up strtol test.
+ * testsuite/test-strtol.c: New test.
+
+
+ * choose-temp.c (choose_tmpdir): Remove now-redundant local
+ copy of prototype.
+ * functions.texi: Regenerate.
+ * make-temp-file.c (choose_tmpdir): Convert return type from
+ char * to const char * - given that this returns a pointer to
+ a memoized allocation, the caller must not touch it.
+
+
+ * d-demangle.c: Replace strtold with strtod in global comment.
+ (strtold): Remove declaration.
+ (strtod): New declaration.
+ (dlang_parse_real): Declare value as double instead of long
+ double. Replace call to strtold by call to strtod.
+ Update format in call to snprintf.
+
+
+ * cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
+
+
+ * pex-common.h (struct pex_funcs): Add new parameter for open_write field.
+ * pex-unix.c (pex_unix_open_write): Add support for new parameter.
+ * pex-djgpp.c (pex_djgpp_open_write): Likewise.
+ * pex-win32.c (pex_win32_open_write): Likewise.
+ * pex-common.c (pex_run_in_environment): Likewise.
+
+
+ * Makefile.in (CFILES): Add d-demangle.c.
+ (REQUIRED_OFILES): Add d-demangle.o.
+ * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
+ (cplus_demangle): Likewise.
+ * d-demangle.c: New file.
+ * testsuite/Makefile.in (really-check): Add check-d-demangle.
+ * testsuite/d-demangle-expected: New file.
+
+
+ * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
+ handle objects with more than SHN_LORESERVE sections.
+ (simple_object_elf_write_shdr): Add sh_link parameter.
+ (simple_object_elf_write_to_file): Correctly handle objects with
+ more than SHN_LORESERVE sections.
+
+
+ * cp-demangle.c (d_dump): Only access field from s_fixed part of
+ the union for DEMANGLE_COMPONENT_FIXED_TYPE.
+ (d_count_templates_scopes): Likewise.
+
+
+ * testsuite/demangler-fuzzer.c: New file.
+ * testsuite/Makefile.in (fuzz-demangler): New rule.
+ (demangler-fuzzer): Likewise.
+ (mostlyclean): Clean up demangler fuzzer.
+
+
+ * cplus-dem.c (do_type): Call string_delete even if the call to
+ demangle_template fails.
+
+
+ * pex-win32.c (argv_to_cmdline): Don't quote
+ args unnecessarily
+
+
+ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
+ and DEMANGLE_COMPONENT_NUMBER.
+
* testsuite/demangle-expected: Fix last commit.
(d_ctor_dtor_name): Handle unified ctor/dtor.
-
+
PR other/59195
* cp-demangle.c (struct d_info_checkpoint): New struct.
(struct d_print_info): Add current_template field.