]> Git Repo - binutils.git/blobdiff - libiberty/ChangeLog
GCC: Check if AR works with --plugin and rc
[binutils.git] / libiberty / ChangeLog
index 031be3a974a2dcc656d34e5bf36ca2ed63cdf857..8e5f5dc4bfae003ae6768267a3ed31e0117dea2c 100644 (file)
@@ -1,3 +1,461 @@
+2021-01-11  H.J. Lu  <[email protected]>
+
+       PR ld/27173
+       * configure: Regenerated.
+
+2021-01-09  H.J. Lu  <[email protected]>
+
+       * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
+       (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+       (configure_deps): Depend on ../config/gcc-plugin.m4.
+       * aclocal.m4: Include ../config/gcc-plugin.m4.
+       * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
+       RANLIB_PLUGIN_OPTION.
+       * configure: Regenerated.
+
+2021-01-04  Martin Liska  <[email protected]>
+
+       * strverscmp.c: Convert to utf8 from iso8859.
+
+2020-12-22  Jason Merrill  <[email protected]>
+
+       PR c++/67343
+       * cp-demangle.h (struct d_info): Add unresolved_name_state.
+       * cp-demangle.c (d_prefix): Add subst parm.
+       (d_nested_name): Pass it.
+       (d_unresolved_name): Split out from...
+       (d_expression_1): ...here.
+       (d_demangle_callback): Maybe retry with old sr mangling.
+       * testsuite/demangle-expected: Add test.
+
+2020-12-21  Jason Merrill  <[email protected]>
+
+       * cp-demangle.c (d_expression_1): Recognize qualified-id
+       on RHS of dt/pt.
+       * testsuite/demangle-expected: Add test.
+
+2020-12-21  Jason Merrill  <[email protected]>
+
+       * cp-demangle.c (d_unqualified_name): Clear is_expression.
+       * testsuite/demangle-expected: Add tests.
+
+2020-11-25  Matthew Malcomson  <[email protected]>
+
+       * configure: Regenerate.
+       * configure.ac: Avoid using sanitizer.
+
+2020-11-13  Eduard-Mihai Burtescu  <[email protected]>
+
+       * rust-demangle.c (struct rust_demangler): Add
+       skipping_printing and bound_lifetime_depth fields.
+       (eat): Add (v0-only).
+       (parse_integer_62): Add (v0-only).
+       (parse_opt_integer_62): Add (v0-only).
+       (parse_disambiguator): Add (v0-only).
+       (struct rust_mangled_ident): Add punycode{,_len} fields.
+       (parse_ident): Support v0 identifiers.
+       (print_str): Respect skipping_printing.
+       (print_uint64): Add (v0-only).
+       (print_uint64_hex): Add (v0-only).
+       (print_ident): Respect skipping_printing,
+       Support v0 identifiers.
+       (print_lifetime_from_index): Add (v0-only).
+       (demangle_binder): Add (v0-only).
+       (demangle_path): Add (v0-only).
+       (demangle_generic_arg): Add (v0-only).
+       (demangle_type): Add (v0-only).
+       (demangle_path_maybe_open_generics): Add (v0-only).
+       (demangle_dyn_trait): Add (v0-only).
+       (demangle_const): Add (v0-only).
+       (demangle_const_uint): Add (v0-only).
+       (basic_type): Add (v0-only).
+       (rust_demangle_callback): Support v0 symbols.
+       * testsuite/rust-demangle-expected: Add v0 testcases.
+
+2020-11-13  Seija Kijin  <[email protected]>
+
+       * strstr.c (strstr): Make implementation ANSI/POSIX compliant.
+
+2020-11-11  Patrick Palka  <[email protected]>
+
+       PR c++/88115
+       * cp-demangle.c (d_print_comp_inner)
+       <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Don't print the
+       "operator " prefix for __alignof__.
+       <case DEMANGLE_COMPONENT_UNARY>: Always print parens around the
+       operand of __alignof__.
+       * testsuite/demangle-expected: Test demangling for __alignof__.
+
+2020-11-09  Christophe Lyon  <[email protected]>
+
+       * pex-win32.c (pex_win32_exec_child): Initialize orig_err.
+
+2020-10-06  Martin Liska  <[email protected]>
+
+       PR lto/97290
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Use sh_link of a .symtab_shndx section.
+
+2020-09-24  Mark Wielaard  <[email protected]>
+
+       * dwarfnames.c (get_DW_UT_name): Define using DW_UT_FIRST, DW_UT
+       and DW_UT_END.
+
+2020-09-08  Felix Willgerodt  <[email protected]>
+
+       * floatformat.c (floatformat_bfloat16_big): New.
+       (floatformat_bfloat16_little): New.
+
+2020-09-08  Alan Modra  <[email protected]>
+
+       * d-demangle.c: Include limits.h.
+       (ULONG_MAX, UINT_MAX): Provide fall-back definition.
+       (dlang_number): Simplify and correct overflow test.  Only
+       write *ret on returning non-NULL.  Make "ret" an unsigned long*.
+       Only succeed for result of [0,UINT_MAX].
+       (dlang_decode_backref): Simplify and correct overflow test.
+       Only write *ret on returning non-NULL.  Only succeed for
+       result [1,MAX_LONG].
+       (dlang_backref): Remove now unnecessary range check.
+       (dlang_symbol_name_p): Likewise.
+       (string_need): Take a size_t n arg, and use size_t tem.
+       (string_append): Use size_t n.
+       (string_appendn, string_prependn): Take a size_t n arg.
+       (TEMPLATE_LENGTH_UNKNOWN): Define as -1UL.
+       (dlang_lname, dlang_parse_template): Take an unsigned long len
+       arg.
+       (dlang_symbol_backref, dlang_identifier, dlang_parse_integer),
+       (dlang_parse_integer, dlang_parse_string),
+       (dlang_parse_arrayliteral, dlang_parse_assocarray),
+       (dlang_parse_structlit, dlang_parse_tuple),
+       (dlang_template_symbol_param, dlang_template_args): Use
+       unsigned long variables.
+       * testsuite/d-demangle-expected: Add new tests.
+
+2020-08-26  Iain Buclaw  <[email protected]>
+
+       * d-demangle.c (dlang_function_args): Handle 'in' and 'in ref'
+       parameter storage classes.
+       (dlang_type): Remove identifier type.
+       * testsuite/d-demangle-expected: Update tests.
+
+2020-08-03  Richard Biener  <[email protected]>
+
+       PR lto/96385
+       * simple-object-elf.c
+       (simple_object_elf_copy_lto_debug_sections): Localize global
+       UNDEFs and reuse the prevailing name.
+
+2020-07-30  H.J. Lu  <[email protected]>
+
+       PR bootstrap/96202
+       * configure: Regenerated.
+
+2020-07-14  Ian Lance Taylor  <[email protected]>
+
+       PR demangler/96143
+       * cp-demangle.c (d_lambda): Don't add substitution candidate.
+       * testsuite/demangle-expected: Update a few existing test cases
+       accordingly, and add a new test case.
+
+2020-07-10  Jason Merrill  <[email protected]>
+
+       * cp-demangle.c (cplus_demangle_operators): Add di, dx, dX.
+       (d_expression_1): Handle di and dX.
+       (is_designated_init, d_maybe_print_designated_init): New.
+       (d_print_comp_inner): Use d_maybe_print_designated_init.
+       * testsuite/demangle-expected: Add designator tests.
+
+2020-06-26  Nick Clifton  <[email protected]>
+
+       * bsearch.c (bsearch): Remove use of register keyword.
+       * bsearch_r.c (bsearch_r): Likewise.
+
+2020-06-23  Nick Alcock  <[email protected]>
+
+       * bsearch_r.c: New file.
+       * Makefile.in (CFILES): Add bsearch_r.c.
+       (REQUIRED_OFILES): Add bsearch_r.o.
+       * functions.texi: Regenerate.
+
+2020-05-29  H.J. Lu  <[email protected]>
+
+       PR bootstrap/95413
+       * configure: Regenerated.
+
+2020-05-15  Iain Buclaw  <[email protected]>
+
+       * d-demangle.c (dlang_attributes): Add @live attribute.
+       * testsuite/d-demangle-expected: Add new tests.
+
+2020-05-14  Rainer Schuetze  <[email protected]>
+           Iain Buclaw  <[email protected]>
+
+       * d-demangle.c (enum dlang_symbol_kinds): Remove enum.
+       (struct dlang_info): New struct
+       (dlang_decode_backref): New function.
+       (dlang_backref): New function.
+       (dlang_symbol_backref): New function.
+       (dlang_type_backref): New function.
+       (dlang_symbol_name_p): New function.
+       (dlang_function_type_noreturn): New function.
+       (dlang_function_type): Add 'info' parameter.  Decode function type
+       with dlang_function_type_noreturn.
+       (dlang_function_args): Add 'info' parameter.
+       (dlang_type): Add 'info' parameter.  Handle back referenced types.
+       (dlang_identifier): Replace 'kind' parameter with 'info'.  Handle back
+       referenced symbols.  Split off decoding of plain identifiers to...
+       (dlang_lname): ...here.
+       (dlang_parse_mangle): Replace 'kind' parameter with 'info'.  Decode
+       function type and return with dlang_type.
+       (dlang_parse_qualified): Replace 'kind' parameter with 'info', add
+       'suffix_modifier' parameter.  Decode function type with
+       dlang_function_type_noreturn.
+       (dlang_parse_tuple): Add 'info' parameter.
+       (dlang_template_symbol_param): New function.
+       (dlang_template_args): Add 'info' parameter.  Decode symbol parameter
+       with dlang_template_symbol_param.  Handle back referenced values, and
+       externally mangled parameters.
+       (dlang_parse_template): Add 'info' parameter.
+       (dlang_demangle_init_info): New function.
+       (dlang_demangle): Initialize and pass 'info' parameter.
+       * testsuite/d-demangle-expected: Add new tests.
+
+2020-05-12  H.J. Lu  <[email protected]>
+
+       PR bootstrap/94998
+       * configure: Regenerated.
+
+2020-04-28  H.J. Lu  <[email protected]>
+
+       PR bootstrap/94739
+       * configure: Regenerated.
+
+2020-04-27  Jakub Jelinek  <[email protected]>
+
+       PR demangler/94797
+       * cp-demangle.c (cplus_demangle_operators): Add ss <=> operator.
+       * testsuite/demangle-expected: Add operator<=> test.
+
+2020-04-25  H.J. Lu  <[email protected]>
+
+       PR bootstrap/94739
+       * Makefile.in (COMPILE.c): Add @CET_HOST_FLAGS@.
+       (configure_deps): Add $(srcdir)/../config/cet.m4 and
+       $(srcdir)/../config/enable.m4.
+       * aclocal.m4: Include ../config/cet.m4 and ../config/enable.m4.
+       * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
+       AC_SUBST(CET_HOST_FLAGS).
+       * configure: Regenerated.
+
+2020-03-05  Egeyar Bagcioglu  <[email protected]>
+
+       * simple-object.c (handle_lto_debug_sections): Name
+       ".GCC.command.line" among debug sections to be copied over
+       from lto objects.
+
+2020-03-02  Nick Clifton  <[email protected]>
+
+       * testsuite/demangle-expected: Update expected demangling of
+       enable_if pattern.
+
+2020-03-02  H.J. Lu  <[email protected]>
+
+       PR lto/93966
+       * simple-object.c (handle_lto_debug_sections): Also copy
+       .note.gnu.property section.
+
+2020-02-12  Sandra Loosemore  <[email protected]>
+
+       PR libstdc++/79193
+       PR libstdc++/88999
+
+       * configure: Regenerated.
+
+2020-02-05  Andrew Burgess  <[email protected]>
+
+       * hashtab.c (htab_remove_elt): Make a parameter const.
+       (htab_remove_elt_with_hash): Likewise.
+
+2020-01-23  Alexandre Oliva <[email protected]>
+
+       * argv.c (writeargv): Output empty args as "".
+
+2020-01-01  Jakub Jelinek  <[email protected]>
+
+       Update copyright years.
+
+2019-12-06  Tim Ruehsen  <[email protected]>
+
+       * make-relative-prefix.c (split_directories):
+       Return early on empty 'name'
+
+2019-11-16  Tim Ruehsen  <[email protected]>
+
+       * cp-demangle.c (d_print_init): Remove const from 4th param.
+       (cplus_demangle_fill_name): Initialize d->d_counting.
+       (cplus_demangle_fill_extended_operator): Likewise.
+       (cplus_demangle_fill_ctor): Likewise.
+       (cplus_demangle_fill_dtor): Likewise.
+       (d_make_empty): Likewise.
+       (d_count_templates_scopes): Remobe const from 3rd param,
+       Return on dc->d_counting > 1,
+       Increment dc->d_counting.
+        * cp-demint.c (cplus_demangle_fill_component): Initialize d->d_counting.
+       (cplus_demangle_fill_builtin_type): Likewise.
+       (cplus_demangle_fill_operator): Likewise.
+
+2019-11-16  Eduard-Mihai Burtescu  <[email protected]>
+
+       * cplus-dem.c (cplus_demangle): Use rust_demangle directly.
+       (rust_demangle): Remove.
+       * rust-demangle.c (is_prefixed_hash): Rename to is_legacy_prefixed_hash.
+       (parse_lower_hex_nibble): Rename to decode_lower_hex_nibble.
+       (parse_legacy_escape): Rename to decode_legacy_escape.
+       (rust_is_mangled): Remove.
+       (struct rust_demangler): Add.
+       (peek): Add.
+       (next): Add.
+       (struct rust_mangled_ident): Add.
+       (parse_ident): Add.
+       (rust_demangle_sym): Remove.
+       (print_str): Add.
+       (PRINT): Add.
+       (print_ident): Add.
+       (rust_demangle_callback): Add.
+       (struct str_buf): Add.
+       (str_buf_reserve): Add.
+       (str_buf_append): Add.
+       (str_buf_demangle_callback): Add.
+       (rust_demangle): Add.
+       * rust-demangle.h: Remove.
+
+2019-11-15  Miguel Saldivar  <[email protected]>
+
+       * testsuite/demangle-expected: Fix test.
+
+2019-11-04  Kamlesh Kumar  <[email protected]>
+
+       * cp-demangle.c (d_expr_primary): Handle
+       nullptr demangling.
+       * testsuite/demangle-expected: Added test.
+
+2019-10-29 Paul Pluzhnikov  <[email protected]>
+
+       * cp-demangle.c (d_number): Avoid signed int overflow.
+
+2019-10-28  Miguel Saldivar  <[email protected]>
+
+       * cp-demangle.c (d_print_mod): Add a space before printing `complex`
+       and `imaginary`, as opposed to after.
+       * testsuite/demangle-expected: Adjust test.
+
+2019-10-03  Eduard-Mihai Burtescu  <[email protected]>
+
+       * rust-demangle.c (looks_like_rust): Remove.
+       (rust_is_mangled): Don't check escapes.
+       (is_prefixed_hash): Allow 0-9a-f permutations.
+       (rust_demangle_sym): Don't bail on unknown escapes.
+       * testsuite/rust-demangle-expected: Update 'main::$99$' test.
+
+2019-09-03  Eduard-Mihai Burtescu  <[email protected]>
+
+       * rust-demangle.c (unescape): Remove.
+       (parse_lower_hex_nibble): New function.
+       (parse_legacy_escape): New function.
+       (is_prefixed_hash): Use parse_lower_hex_nibble.
+       (looks_like_rust): Use parse_legacy_escape.
+       (rust_demangle_sym): Use parse_legacy_escape.
+       * testsuite/rust-demangle-expected: Add 'llv$u6d$' test.
+
+2019-08-27  Martin Liska  <[email protected]>
+
+       PR lto/91478
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       First find a WEAK HIDDEN symbol in symbol table that will be
+       preserved.  Later, use the symbol name for all removed symbols.
+
+2019-08-12  Martin Liska  <[email protected]>
+
+       * Makefile.in: Add filedescriptor.c.
+       * filedescriptor.c: New file.
+       * lrealpath.c (is_valid_fd): Remove.
+
+2019-08-08  Martin Liska  <[email protected]>
+
+       PR bootstrap/91352
+       * lrealpath.c (is_valid_fd): New function.
+
+2019-07-24  Martin Liska  <[email protected]>
+
+       PR lto/91228
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Find first '\0' starting from gnu_lto + 1.
+
+2019-07-12  Ren Kimura  <[email protected]>
+
+       * simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx.
+       This fixes a Bug 90924.
+
+2019-07-22  Martin Liska  <[email protected]>
+
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Do not search for gnu_lto_v1, but search for first '\0'.
+
+2019-07-18  Eduard-Mihai Burtescu  <[email protected]>
+
+       * cplus-dem.c: Include rust-demangle.h.
+       * rust-demangle.c: Include rust-demangle.h.
+       * rust-demangle.h: New file.
+
+2019-05-31  Michael Forney  <[email protected]>
+
+       * cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
+       is non-zero.
+
+2019-04-30  Ben L  <[email protected]>
+
+       * d-demangle.c (dlang_parse_assocarray): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_tuple): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_structlit): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_arrayliteral): Correctly handle error result.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * d-demangle.c (dlang_parse_integer): Fix stack underflow.
+       * testsuite/d-demangle-expected: Add testcase.
+
+       * cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.
+       * testsuite/demangle-expected: Add testcase.
+
+       * cp-demangle.c (d_encoding): Guard against NULL return values from
+       d_right (dc).
+       * testsuite/demangle-expected: Add testcase.
+
+2019-04-29  Ben L  <[email protected]>
+
+       * cp-demangle.c (d_expression_1): Don't peek ahead unless the current
+       char is valid.
+       * testsuite/demangle-expected: Add testcase.
+
+2019-04-10  Nick Clifton  <[email protected]>
+
+       PR 89394
+       * cp-demangle.c (cplus_demangle_fill_name): Reject negative
+       lengths.
+       (d_count_templates_scopes): Replace num_templates and num_scopes
+       parameters with a struct d_print_info pointer parameter.  Adjust
+       body of the function accordingly.  Add recursion counter and check
+       that the recursion limit is not reached.
+       (d_print_init): Pass dpi parameter to d_count_templates_scopes.
+       Reset recursion counter afterwards, unless the recursion limit was
+       reached.
+
 2019-04-07  Alan Modra  <[email protected]>
 
        * functions.texi: Regenerate.
This page took 0.034094 seconds and 4 git commands to generate.