+
+ * 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.
+
+
+ * cplus-dmem.c (internal_cplus_demangle): Free any resources
+ allocated by possible previous call to gnu_special.
+ (squangle_mop_up): Reset pointers to NULL after calling free.
+ * testsuite/demangle-expected: New test case.
+
+
+ * cp-demangle.c (struct d_component_stack): New structure.
+ (struct d_print_info): New field component_stack.
+ (d_print_init): Initialize the above.
+ (d_print_comp_inner): Renamed from d_print_comp.
+ Do not restore template stack if it would cause a loop.
+ (d_print_comp): New function.
+ * testsuite/demangle-expected: New test cases.
+
+
+ PR sanitizer/56781
+ * maint-tool: Also emit rule for noasan/ subdirectory.
+ * configure.ac (NOASANFLAG): Set and substitute.
+ * Makefile.in: Regenerated.
+ (NOASANFLAG): Set.
+ (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
+ subdir.
+ (stamp-noasandir): New goal.
+ * configure: Regenerated.
+
+
+ * simple-object.c (simple_object_internal_write): Handle
+ EINTR and short writes.
+
+
+ * simple-object.c (simple_object_internal_read): Handle
+ EINTR and short reads.
+
+
+ * regex.c (bzero) [!_LIBC]: Define without coma expression.
+ (regerror): Cast the call to memcpy to (void) to avoid unused
+ value warnings.
+
+
+ * cp-demangle.c (d_demangle_callback): Put an abort call in place,
+ to help the compiler.
+
+
+ * _doprint.c (checkit): Use stdarg, not VA_* macros.
+ * asprintf.c (asprintf): Use stdarg, not VA_* macros.
+ * concat.c (concat_length, concat_copy, concat_copy2, concat)
+ (reconcat): Use stdarg, not VA_* macros.
+ * snprintf.c (snprintf): Use stdarg, not VA_* macros.
+ * vasprintf.c (checkit): Use stdarg, not VA_* macros.
+ * vsnprintf.c (checkit): Use stdarg, not VA_* macros.
+
+
+ PR other/56780
+ * configure.ac: Delete target_header_dir assignment.
+ * configure: Regenerated.
+
+
+ * cp-demangle.c (struct d_print_info): New fields
+ next_saved_scope, copy_templates, next_copy_template and
+ num_copy_templates.
+ (d_count_templates): New function.
+ (d_print_init): New parameter "dc".
+ Estimate numbers of templates and scopes required.
+ (d_print_free): Removed function.
+ (cplus_demangle_print_callback): Allocate stack for
+ templates and scopes. Removed call to d_print_free.
+ (d_copy_templates): Removed function.
+ (d_save_scope): New function.
+ (d_get_saved_scope): Likewise.
+ (d_print_comp): Replace state saving/restoring code with
+ calls to d_save_scope and d_get_saved_scope.
+
+
+ * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
+ Handle unified ctor/dtor.
+ (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.
+ (d_operator_name): Set flag when processing a conversion
+ operator.
+ (cplus_demangle_type): When processing <template-args> for
+ a conversion operator, backtrack if necessary.
+ (d_expression_1): Renamed from d_expression.
+ (d_expression): New wrapper around d_expression_1.
+ (d_checkpoint): New function.
+ (d_backtrack): New function.
+ (d_print_init): Initialize current_template.
+ (d_print_comp): Set current_template.
+ (d_print_cast): Put current_template in scope for
+ printing conversion operator name.
+ (cplus_demangle_init_info): Initialize is_expression and
+ is_conversion.
+ * cp-demangle.h (struct d_info): Add is_expression and
+ is_conversion fields.
+ * testsuite/demangle-expected: New test cases.
+
+
+ * configure: Regenerate.
+
+
+ * cp-demangle.c (d_copy_templates): Cast result of malloc
+ to (struct d_print_template *).
+ (d_print_comp): Cast result of realloc to (struct d_saved scope *).
+
+
+ PR tree-optimization/58689
+ * concat.c: Remove note about xmalloc.
+
+
+ * testsuite/test-demangle.c: Include unistd.h.
+
+
+ * cp-demangle.c (struct d_saved_scope): New structure.
+ (struct d_print_info): New fields saved_scopes and
+ num_saved_scopes.
+ (d_print_init): Initialize the above.
+ (d_print_free): New function.
+ (cplus_demangle_print_callback): Call the above.
+ (d_copy_templates): New function.
+ (d_print_comp): New variables saved_templates and
+ need_template_restore.
+ [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
+ Capture scope the first time the component is traversed, and use the
+ captured scope for subsequent traversals.
+ * testsuite/demangle-expected: Add regression test.
+
+
+ * testsuite/test-expandargv.c: Include unistd.h.
+
+
+ * configure.ac: If --enable-host-shared, use -fPIC.
+ * configure: Regenerate.
+
+
+ * cp-demangle.c (d_name): Demangle local-source-names.
+ * testsuite/demangle-expected: New test.
+
+
+ PR bootstrap/58386
+ Revert:
+
+
+ * cp-demangle.c: Include hashtab.h.
+ (struct d_print_info): New field saved_scopes.
+ (d_print_init): Initialize the above.
+ (d_print_free): New function.
+ (cplus_demangle_print_callback): Call the above.
+ (struct d_saved_scope): New structure.
+ (d_store_scope): New function.
+ (d_free_scope) Likewise.
+ (d_restore_scope) Likewise.
+ (d_hash_saved_scope) Likewise.
+ (d_equal_saved_scope) Likewise.
+ (d_print_comp): New variable saved_scope.
+ [DEMANGLE_COMPONENT_REFERENCE,
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
+ time the component is traversed, and use the captured scope for
+ subsequent traversals.
+ * testsuite/demangle-expected: Add regression test.
+
+
+ * cp-demangle.c: Include hashtab.h.
+ (struct d_print_info): New field saved_scopes.
+ (d_print_init): Initialize the above.
+ (d_print_free): New function.
+ (cplus_demangle_print_callback): Call the above.
+ (struct d_saved_scope): New structure.
+ (d_store_scope): New function.
+ (d_free_scope) Likewise.
+ (d_restore_scope) Likewise.
+ (d_hash_saved_scope) Likewise.
+ (d_equal_saved_scope) Likewise.
+ (d_print_comp): New variable saved_scope.
+ [DEMANGLE_COMPONENT_REFERENCE,
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
+ time the component is traversed, and use the captured scope for
+ subsequent traversals.
+ * testsuite/demangle-expected: Add regression test.
+
+
+ * floatformat.c (floatformat_ibm_long_double): Rename to..
+ (floatformat_ibm_long_double_big): ..this.
+ (floatformat_ibm_long_double_little): New.
+
+
+ * makefile.vms (OBJS): Add dwarfnames.obj
+
+
+ PR other/56780
+ * libiberty/configure.ac: Move test for --enable-install-libiberty
+ outside of the 'with_target_subdir' test so that it actually gets
+ run. Add output messages to show the test result.
+ * libiberty/configure: Regenerate.
+ * libiberty/Makefile.in (install_to_libdir): Place the
+ installation of the libiberty library in the same guard as that
+ used for the headers to prevent it being installed unless
+ requested via --enable-install-libiberty.
+
+
+ * hashtab.c (hash_pointer): Remove conditional and avoid
+ unexecuted shift equal to wordsize.
+
+
+ * hashtab.c (hash_pointer): Move to end of file and reimplement.
+
+
+ * cp-demangle.c (cplus_demangle_type): Fix function quals.
+ (d_pointer_to_member_type): Simplify.
+
+ Demangle C++11 ref-qualifier.
+ * cp-demangle.c (d_ref_qualifier): New.
+ (d_nested_name, d_function_type): Use it.
+ (d_parmlist): Don't get confused by a ref-qualifier.
+ (cplus_demangle_type): Reorder ref-qualifier.
+ (d_pointer_to_member_type): Likewise.
+ (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
+ (d_make_comp, has_return_type, d_encoding): Likewise.
+ (d_print_comp, d_print_mod_list, d_print_mod): Likewise.
+ (d_print_function_type, is_ctor_or_dtor): Likewise.
+
+
+ * configure: Regenerated.
+
+
+ * libiberty.texi: Update comment, remove lowersections.
+ * obstacks.texi: Regenerate.
+
+
+ PR middle-end/56526
+ * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
+ wrapper_sect_offset to avoid a warning.
+
+
+ * obstacks.texi (Obstacks): Trim @node to only contain the
+ node name.
+ * libiberty.texi (Obstacks): Lower section.
+
+
+ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
+ (d_print_comp): Likewise.
+
+
+ PR other/56245
+ * regex.c (PTR_INT_TYPE): Define.
+ (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
+
+
+ PR other/54620
+ * sha1.c (sha1_process_block): Handle case that size_t is
+ a wider-integer-scalar as a 32-bit unsigned integer.
+
+ PR other/53413
+ * md5.c (md5_process_block): Handle case that size_t is
+ a wider-integer-scalar a 32-bit unsigned integer.
+
+
+ PR other/54800
+ * simple-object-mach-o.c (simple_object_mach_o_segment): Don't
+ bother to zero out a buffer we are about to set anyhow.
+
+
+ * simple-object-xcoff.c: New file.
+ * Makefile.in: Add it to build machinery.
+ * simple-object-common.h (simple_object_xcoff_functions): Declare.
+ * simple-object.c (format_functions): Add
+ simple_object_xcoff_functions.
+
+
+ * cp-demangle.c (d_unqualified_name): Handle abi tags here.
+ (d_name): Not here.
+
+
+ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
+ (d_make_comp, d_find_pack, d_print_comp): Likewise.
+ (d_abi_tags): New.
+ (d_name): Call it.
+
+
+ * cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
+ (d_make_comp, d_print_comp): Likewise.
+
+
+ * strnlen.c: New file.
+ * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
+ present.
+ * Makefile.in: Rebuild dependencies.
+ (CFILES): Add strnlen.c.
+ (CONFIGURED_OFILES): Add ./strnlen.$(objext).
+ * configure, config.in, functions.texi: Rebuild.
+
+ * maint-tool: Accept .def files in the include directory.
+
+
+ PR other/54411
+ * objalloc.c (_objalloc_alloc): Add overflow check covering
+ alignment and CHUNK_HEADER_SIZE addition.
+
+
+ * argv.c (dupargv): Replace malloc with xmalloc. Don't check
+ xmalloc return.
+ (buildargv): Likewise. Also replace strdup with xstrdup.
+ (expandargv): Don't check dupargv return.
+
+
+ PR binutils/14526
+ * argv.c (buildargv): Replace alloca with xmalloc/free.
+
+
+ * floatformat.c (floatformat_to_double): Correctly handle numbers
+ between 1 and 2. Simplify handling of denormal number.
+ (main): Test with 1.1.
+
+
+ * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
+ to swap_bytes, and then call memcpy to move it to ctx->buffer.
+
+
+ * pex-win32.c (pex_win32_exec_child): Only close original file
+ descriptors if child is launched successfully.
+
+
+ * cp-demangle.c (cplus_demangle_operators): Add *_cast.
+ (op_is_new_cast): New.
+ (d_expression, d_print_comp): Check it.
+
+
+ * filename_cmp.c (filename_hash, filename_eq): New functions.
+
+
+ * copying-lib.texi (Library Copying): Don't use @heading inside
+ @enumerate.
+
+
+ http://sourceware.org/bugzilla/show_bug.cgi?id=14065
+ * testsuite/demangle-expected: Add regression test.
+ * cp-demangle.c (d_find_pack): Return NULL for
+ DEMANGLE_COMPONENT_UNNAMED_TYPE.
+
+
+ * dwarfnames.c: New file.
+ * Makefile.in (CFILES): Add dwarfnames.
+ (REQUIRED_OFILES): Add dwarfnames.
+ (./dwarfnames.$(objext)): New target.
+
+
+ * pex-unix.c (to_ptr32): Fix style.
+
+
+ * stack-limit.c: Includes ansidecl.h.
+ (stack_limit_increase): Add ATTRIBUTE_UNUSED
+
+
+ * cp-demangle.c (cplus_demangle_type): Handle 'auto'.
+
+
+ * cp-demangle.c (cplus_demangle_operators): Add li.
+ (d_unqualified_name): Handle it specially.
+
+
+ * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
+ about using preprocessor directives inside of macro arguments.
+
+
+ * configure: Regenerate.
+
+
+ * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
+ Omit a trailing space in the operator name.
+
+
+ PR c++/6057
+ PR c++/48051
+ PR c++/50855
+ PR c++/51322
+ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
+ DEMANGLE_COMPONENT_INITIALIZER_LIST.
+ (d_make_comp): Likewise. Allow null right arg for
+ DEMANGLE_COMPONENT_TRINARY_ARG2.
+ (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
+ (d_template_args, d_template_arg): Handle 'J' for argument packs.
+ (d_exprlist): Add terminator parm.
+ (d_expression, d_print_comp): Handle initializer lists, nullary
+ expressions, prefix/suffix operators, and new.
+ (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
+ and DEMANGLE_COMPONENT_INITIALIZER_LIST.
+ * testsuite/demangle-expected: Add tests.
+
+ * cp-demangle.c (cplus_demangle_type): decltype, pack expansion
+ and vector are substitutable.
+ (cplus_demangle_operators): Sort.
+
+
+ * configure: Regenerate.
+
+
+ * make-relative-prefix.c (make_relative_prefix_1): Avoid
+ stack overflow if PATH contains just a single entry and
+ HOST_EXECUTABLE_SUFFIX needs to be used.
+
+ PR driver/48306
+ * make-relative-prefix.c: Include sys/stat.h.
+ (make_relative_prefix_1): If access succeeds, check also stat
+ if nstore is a regular file.
+
+
+ * configure: Regenerate.
+
+
+ * aclocal.m4: Assume strncmp works in cross case.
+ * configure: Regenerate
+
+
+ * configure: Regenerate.
+
+
+ Merged from transactional-memory.
+
+ * cp-demangle.c (cplus_demangle_fill_ctor): Accept
+ gnu_v3_object_ctor_group.
+ (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
+ (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
+ and gnu_v3_object_dtor_group.
+ (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
+ and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
+ (d_make_comp, d_print_comp): Likewise.
+ (d_special_name): Generate them.
+
+
+ PR c++/48370
+ * cp-demangle.c (d_special_name, d_print_comp): Handle a
+ discriminator number on DEMANGLE_COMPONENT_REFTEMP.
+
+
+ * Makefile.in (CFILES): Add timeval-utils.c.
+ (REQUIRED_OFILES): Add timeval-utils.$(objext).
+ (INSTALLED_HEADERS): Add timeval-utils.h.
+ (timeval-utils.$(objext)): Add rule.
+
+
+ * setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
+
+
+ PR target/48108
+ * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
+ GNU_WRAPPER_NAMES): New macros.
+ (simple_object_mach_o_segment): Handle wrapper scheme.
+ (simple_object_mach_o_write_section_header): Allow the segment name
+ to be supplied.
+ (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure
+ that the top-level segment name in the load command is empty.
+ (simple_object_mach_o_write_to_file): Determine the number of
+ sections during segment output, use that in writing the header.
+
+
+ PR c++/48665
+ * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
+ function type, change them to apply to the "this" parameter.
+ * testsuite/demangle-expected: Add test case.
+
+
+ * timeval-utils.c: New file.
+
+ * argv.c (countargv): New function.
+
+
+ PR 40831
+ * cp-demangle.c (d_make_comp): Add new component type.
+ (cplus_demangle_mangled_name): Check for clone suffixes.
+ (d_parmlist): Don't error out if we see '.'.
+ (d_clone_suffix): New function.
+ (d_print_comp): Print info for clone suffixes.
+ * testsuite/demangle-expected: Add new testcases.
+
+
+ * md5.c (md5_process_bytes): Correct handling of unaligned
+ buffer.
+
+
+ * aclocal.m4: Include ../config/picflag.m4.
+ * configure.ac (GCC_PICFLAG): Call it.
+ (enable_shared): Clear PICFLAG unless shared.
+ * configure: Regenerate.
+
+
+ * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
+
+
+ * testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
+
+
+ PR c++/49932
+ * cp-demangle.c (d_prefix): Handle decltype.
+ * testsuite/demangle-expected: Test it.
+
+
+ * testsuite/demangle-expected: Remove an extra line.
+
* cp-demangle.c (d_print_init): Initialize pack_index field.
* aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
* configure: Regenerate.
* configure: Regenerate.
* configure.ac: Turn PR_SET_NAME check into link check.
* Makefile.in (CFILES): Add setproctitle.
(CONFIGURED_OFILES): Add setproctitle.
- * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
+ * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
- * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
+ * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
(pex_win32_exec_child): Ensure each process has only one handle open
on pipe endpoints. Close standard input after creating child for
symmetry with standard output/standard error.
section, so that the native build does detect them at configure
time.
* configure: Regenerated.
-
+
- PR target/39397
- * pex-common.h (struct pex_obj): Store pid values as pid_t,
- not as long (members *children and (*wait))
- * pex-common.c (pex_run_in_environment): Likewise.
- * pex-win32.c (pex_win32_wait): Return pid_t and properly check
- returned pid value.
- * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
- * pex-msdos.c (pex_msdos_wait): Likewise.
+ PR target/39397
+ * pex-common.h (struct pex_obj): Store pid values as pid_t,
+ not as long (members *children and (*wait))
+ * pex-common.c (pex_run_in_environment): Likewise.
+ * pex-win32.c (pex_win32_wait): Return pid_t and properly check
+ returned pid value.
+ * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
+ * pex-msdos.c (pex_msdos_wait): Likewise.
- * libiberty/configure.ac: Fix Linux/MIPS matching rule.
- * libiberty/configure: Regenerate.
+ * libiberty/configure.ac: Fix Linux/MIPS matching rule.
+ * libiberty/configure: Regenerate.
* xstrdup.c: Include <sys/types.h> after "config.h"
-
+
* configure.ac: Call AC_SYS_LARGEFILE.