summaryrefslogtreecommitdiff
path: root/cross/avr-binutils
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2021-09-08 12:02:59 +0000
committermicha <micha@pkgsrc.org>2021-09-08 12:02:59 +0000
commit585a729f74d4bb6465fd37ff5a7f45d96cdaa0b5 (patch)
tree4e439f30b4c1229fbfd1306acdf9c63d3f19fee8 /cross/avr-binutils
parent9c98a160de0b944ce439373ffb597044671209a6 (diff)
downloadpkgsrc-585a729f74d4bb6465fd37ff5a7f45d96cdaa0b5.tar.gz
cross/avr-binutils: Update to 2.37
2021-07-18 Nick Clifton <nickc@redhat.com> * 2.37 release. 2021-07-03 Nick Clifton <nickc@redhat.com> * 2.37 release branch created. 2021-07-03 Nick Clifton <nickc@redhat.com> * libiberty: Sync with gcc. Bring in: 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 * rust-demangle.c (demangle_const_char): Properly print the character value. 2021-03-31 Patrick Palka <ppalka@redhat.com> PR c++/88115 * cp-demangle.c (d_dump, d_make_comp, d_expression_1) (d_count_templates_scopes): Handle DEMANGLE_COMPONENT_VENDOR_EXPR. (d_print_comp_inner): Likewise. <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Revert r11-4926 change. <case DEMANGLE_COMPONENT_UNARY>: Likewise. * testsuite/demangle-expected: Adjust __alignof__ tests. 2021-03-16 Nick Clifton <nickc@redhat.com> * sha1.c (sha1_process_bytes): Use memmove in place of memcpy. 2021-02-20 Mike Frysinger <vapier@gentoo.org> * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, $(srcdir)/aclocal.m4): Define. (configure_deps): Rename to ... (aclocal_deps): ... this. Replace aclocal.m4 with acinclude.m4. ($(srcdir)/configure): Replace $(configure_deps) with $(srcdir)/aclocal.m4. * aclocal.m4: Move libiberty macros to acinclude.m4, then regenerate. * acinclude.m4: New file. * configure: Regenerate. 2021-02-19 Ayush Mittal <ayush.m@samsung.com> * argv.c (expandargv): free allocated buffer if read fails. 2021-02-01 Martin Sebor <msebor@redhat.com> * dyn-string.c (dyn_string_insert_cstr): Use memcpy instead of strncpy to avoid -Wstringop-truncation. 2021-05-29 Mike Frysinger <vapier@gentoo.org> * configure.ac: Add gnulib to configdirs for sim. * configure: Regenerate. 2021-05-24 Maciej W. Rozycki <macro@orcam.me.uk> * MAINTAINERS: Update path to readline config.{sub,guess} files. 2021-05-24 Maciej W. Rozycki <macro@orcam.me.uk> * config.guess: Import from upstream. * config.sub: Likewise. 2021-05-18 Mike Frysinger <vapier@gentoo.org> * Makefile.def: Add configure-sim dependency on all-gnulib. * Makefile.in: Regenerated. 2021-05-04 Nick Clifton <nickc@redhat.com> * configure.ac (AC_PROG_CC): Replace with AC_PROG_CC_C99. * configure: Regenerate. 2021-03-18 Nick Alcock <nick.alcock@oracle.com> PR libctf/27482 * Makefile.def: Add install-bfd dependencies for install-libctf and install-ld, and install-strip-bfd dependencies for install-strip-libctf and install-strip-ld; move the install-ld dependency on install-libctf to join it. * Makefile.in: Regenerated. 2021-03-12 Mike Frysinger <vapier@gentoo.org> * Makefile.def: Remove all-sim dependency on configure-gdb. * Makefile.in: Regenerated. 2021-02-28 H.J. Lu <hongjiu.lu@intel.com> PR binutils/26766 * Makefile.tpl (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Add PGO_BUILD_TRAINING=yes. (PGO_BUILD_TRAINING_MFLAGS): New. (all): Pass $(PGO_BUILD_TRAINING_MFLAGS) to the PGO build. 2021-02-09 Alan Modra <amodra@gmail.com> * configure.ac: Delete arm*-*-symbianelf* entry. * configure: Regenerate. 2021-01-26 Nick Alcock <nick.alcock@oracle.com> * Makefile.def: Add install-libctf dependency to install-ld. * Makefile.in: Regenerated. 2021-01-12 Mike Frysinger <vapier@gentoo.org> * src-release.sh (do_proto_toplev): Rewrite indentation. 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> PR binutils/26766 * configure.ac: * configure: Regenerated. 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/27173 * configure: Regenerated. * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with --plugin and rc before enabling --plugin. 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/26766 * Makefile.tpl (BUILD_CFLAGS): New. (CFLAGS): Append $(BUILD_CFLAGS). (CXXFLAGS): Likewise. (PGO_BUILD_GEN_FLAGS_TO_PASS): New. (PGO_BUILD_TRAINING_CFLAGS): Likewise. (PGO_BUILD_TRAINING_CXXFLAGS): Likewise. (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise. (PGO_BUILD_TRAINING_MFLAGS): Likewise. (PGO_BUILD_USE_FLAGS_TO_PASS): Likewise. (PGO-TRAINING-TARGETS): Likewise. (PGO_BUILD_TRAINING): Likewise. (all): Add '+' to the command line for recursive make. Support the PGO build. * configure.ac: Add --enable-pgo-build[=lto]. AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and PGO_BUILD_LTO_CFLAGS. Enable the PGO build in Makefile. * Makefile.in: Regenerated. * configure: Likewise. 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> * Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@ (RANLIB): Add @RANLIB_PLUGIN_OPTION@. * configure.ac: Include config/gcc-plugin.m4. AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION. * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and RANLIB if possible. * Makefile.in: Regenerated. * configure: Likewise. 2021-01-09 Nick Clifton <nickc@redhat.com> * 2.36 release branch crated. 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> * libtool.m4: Match gnu* along with other GNU systems. 2021-01-07 Alan Modra <amodra@gmail.com> * config.sub: Accept OS of eabi* and gnueabi*. 2021-01-05 Nick Alcock <nick.alcock@oracle.com> * Makefile.def (libctf): No longer no_check. Checking depends on all-ld. * Makefile.in: Regenerated. 2021-01-05 Nick Clifton <nickc@redhat.com> * libiberty: Sync with gcc. Bring in: 2021-01-04 Martin Liska <mliska@suse.cz> * strverscmp.c: Convert to utf8 from iso8859. 2020-12-22 Jason Merrill <jason@redhat.com> 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 <jason@redhat.com> * cp-demangle.c (d_expression_1): Recognize qualified-id on RHS of dt/pt. * testsuite/demangle-expected: Add test. 2020-12-21 Jason Merrill <jason@redhat.com> * cp-demangle.c (d_unqualified_name): Clear is_expression. * testsuite/demangle-expected: Add tests. 2020-11-25 Matthew Malcomson <matthew.malcomson@arm.com> * configure: Regenerate. * configure.ac: Avoid using sanitizer. 2020-11-13 Eduard-Mihai Burtescu <eddyb@lyken.rs> * 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 <doremylover456@gmail.com> * strstr.c (strstr): Make implementation ANSI/POSIX compliant. 2020-11-11 Patrick Palka <ppalka@redhat.com> 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 <christophe.lyon@linaro.org> * pex-win32.c (pex_win32_exec_child): Initialize orig_err. 2020-10-06 Martin Liska <mliska@suse.cz> PR lto/97290 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Use sh_link of a .symtab_shndx section. 2021-01-05 Alan Modra <amodra@gmail.com> * config.guess: Import from upstream. * config.sub: Likewise. 2020-12-16 Martin Liska <mliska@suse.cz> Tom de Vries <tdevries@suse.de> * gdb/debuginfod-support.c (struct user_data): Remove has_printed field. Add meter field. (progressfn): Print progress using meter. 2020-12-02 Enze Li <lienze2010@hotmail.com> * .gitignore: Add gnu global outputs. 2020-12-02 Simon Marchi <simon.marchi@polymtl.ca> * .gitignore: Sync with gcc. 2020-10-26 Andreas Rammhold <andreas@rammhold.de> * src-release.sh: Use sha256sum instead of md5sum. 2020-10-14 Andrew Burgess <andrew.burgess@embecosm.com> * Makefile.in: Rebuild. * Makefile.def: Make distclean-gnulib depend on distclean-gdb and distclean-gdbserver. 2020-07-24 Aaron Merey <amerey@redhat.com> * configure: Rebuild. * configure.ac: Remove AC_DEBUGINFOD. 2020-07-04 Nick Clifton <nickc@redhat.com> Binutils 2.35 branch created. 2020-04-21 Stephen Casner <casner@acm.org> PR 25830 * configure.ac (noconfigdirs): Exclude gdb & gprof for pdp11. * configure: Rebuild. 2020-03-12 Tom Tromey <tom@tromey.com> * Makefile.in: Rebuild. * Makefile.def (gdbserver): Depend on gdbsupport. 2020-03-12 Tom Tromey <tom@tromey.com> * Makefile.in: Rebuild. * Makefile.def (gdbsupport): Don't depend on bfd. 2020-03-12 Tom Tromey <tom@tromey.com> * Makefile.in: Rebuild. * Makefile.def (gdbsupport): Depend on intl. 2020-02-17 Tom Tromey <tom@tromey.com> * configure: Rebuild. * configure.ac (configdirs): Add gnulib and gdbsupport when building gdbserver. 2020-02-14 Tom Tromey <tom@tromey.com> * Makefile.in: Rebuild. * Makefile.def: Make gdbserver require gnulib and libiberty. 2020-02-07 Tom Tromey <tom@tromey.com> Pedro Alves <palves@redhat.com> * src-release.sh (GDB_SUPPORT_DIRS): Add gdbserver. * gdbserver: New directory, moved from gdb/gdbserver. * configure.ac (host_tools): Add gdbserver. Only build gdbserver on certain systems. * Makefile.in, configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gdbserver. * MAINTAINERS: Add gdbserver. 2020-01-28 Sergio Durigan Junior <sergiodj@redhat.com> * src-release.sh (getver): Look for gdbsupport's create-version.sh script at the current directory if tool is "gdb". 2020-01-19 Simon Marchi <simon.marchi@polymtl.ca> * remote-sim.c (gdbsim_target::wait): Return sim_data->remote_sim_ptid instead of inferior_ptid. 2020-01-18 Nick Clifton <nickc@redhat.com> Binutils 2.34 branch created. 2020-01-18 Nick Clifton <nickc@redhat.com> Synchronize top level configure files with master version: 2020-01-01 Ben Elliston <bje@gnu.org> * config.guess: Update copyright years. * config.sub: Likewise. 2019-12-21 Ben Elliston <bje@gnu.org> * config.guess (set_cc_for_build): Prevent multiple calls by checking if $tmp is already set. We can't check CC_FOR_BUILD as the user may set it externally. Thanks to Torbjörn Granlund for the bug report. 2019-12-21 Torbjörn Granlund <tg@gmplib.org> * config.guess (alpha:Linux:*:*): Guard against missing /proc/cpuinfo by redirecting standard error to /dev/null. 2019-09-12 Daniel Bittman <danielbittman1@gmail.com> * config.guess (*:Twizzler:*:*): New. * config.sub (-twizzler*): New. 2019-07-24 Ben Elliston <bje@gnu.org> * config.guess (mips:OSF1:*.*): Whitespace cleanup. 2019-06-30 Ben Elliston <bje@gnu.org> * config.sub (case $os): Match nsk* and powerunix. Don't later match nsk* and set os=nsk which removes the OS version number. 2019-06-30 Ben Elliston <bje@gnu.org> * config.sub: Recognise os108*. 2019-06-26 Ben Elliston <bje@gnu.org> * config.sub (hp300): Set $os to hpux. 2019-06-26 Ben Elliston <bje@gnu.org> * config.sub (vsta): Move into alphabetical order. 2019-06-10 Ben Elliston <bje@gnu.org> * config.guess (*:OS108:*:*): Recognise new OS. 2019-05-28 Ben Elliston <bje@gnu.org> * config.guess (*:Darwin:*:*): Run xcode-select to determine if a system compiler is installed. If not, do not run set_cc_for_build, as the default cc will open a dialog box asking to install Xcode. If no C compiler is available, guess based on uname -p and uname -m. 2019-05-28 Ben Elliston <bje@gnu.org> * config.guess (*:Darwin:*:*): Simplify UNAME_PROCESSOR. 2020-01-17 Simon Marchi <simon.marchi@efficios.com> * Makefile.def: Add dependencies of all-gdbsupport on all-bfd. * Makefile.in: Re-generate. 2020-01-14 Tom Tromey <tom@tromey.com> * src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport. * MAINTAINERS: Add gdbsupport. * configure: Rebuild. * configure.ac (configdirs): Add gdbsupport. * gdbsupport: New directory, move from gdb/gdbsupport. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. 2020-01-09 Aaron Merey <amerey@redhat.com> * config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds new configure option --with-debuginfod. * configure: Regenerate. * configure.ac: Call AC_DEBUGINFOD. 2019-12-26 Christian Biesinger <cbiesinger@google.com> * .gitignore: Add perf.data and perf.data.old. 2019-10-17 Sergio Durigan Junior <sergiodj@redhat.com> * src-release.sh (GDB_SUPPORT_DIRS): Add libctf. 2019-10-17 Alan Modra <amodra@gmail.com> PR 29 * src-release.sh (getver): Replace "head -1" with "head -n 1". 2019-07-30 Nick Alcock <nick.alcock@oracle.com> * Makefile.def (host_modules): libctf is no longer no_install. * Makefile.in: Regenerated. 2019-07-13 Nick Alcock <nick.alcock@oracle.com> * Makefile.def (dependencies): all-ld depends on all-libctf. * Makefile.in: Regenerated. 2019-09-09 Phil Blundell <pb@pbcl.net> binutils 2.33 branch created 2019-08-19 Tom Tromey <tom@tromey.com> * configure: Rebuild. * configure.ac: Add --with-static-standard-libraries. 2019-08-09 Nick Clifton <nickc@redhat.com> * libiberty: Sync with gcc. Bring in: 2019-08-08 Martin Liska <mliska@suse.cz> PR bootstrap/91352 * lrealpath.c (is_valid_fd): New function. 2019-07-24 Martin Liska <mliska@suse.cz> 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 <rkx1209dev@gmail.com> * simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx. This fixes a Bug 90924. 2019-07-22 Martin Liska <mliska@suse.cz> * 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 <eddyb@lyken.rs> * cplus-dem.c: Include rust-demangle.h. * rust-demangle.c: Include rust-demangle.h. * rust-demangle.h: New file. 2019-05-31 Michael Forney <mforney@mforney.org> * cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__ is non-zero. 2019-04-30 Ben L <bobsayshilol@live.co.uk> * 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 <bobsayshilol@live.co.uk> * 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 <nickc@redhat.com> 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-07-13 Joel Brobecker <brobecker@adacore.com> * src-release (getver): If $tool/gdbsupport/create-version.sh exists, use that to determine the version number. 2019-06-21 Andreas Schwab <schwab@linux-m68k.org> * src-release.sh (GDB_SUPPORT_DIRS): Add gnulib. 2019-06-14 Tom Tromey <tom@tromey.com> * MAINTAINERS: Add gnulib. * gnulib: New directory, move from gdb/gnulib. * configure.ac (host_libs): Add gnulib. * configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. 2019-06-03 Nick Clifton <nickc@redhat.com> Revert: 2019-05-29 Nick Clifton <nickc@redhat.com> * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. 2019-05-29 Nick Clifton <nickc@redhat.com> * src-release.sh (do_proto_toplev): Add libctf to list of directories that can be disabled. 2019-05-29 Nick Clifton <nickc@redhat.com> * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. 2019-05-28 Nick Alcock <nick.alcock@oracle.com> * Makefile.def (dependencies): configure-libctf depends on all-bfd and all its deps. * Makefile.in: Regenerated. 2019-05-28 Nick Alcock <nick.alcock@oracle.com> * MAINTAINERS: Add libctf. 2019-05-28 Nick Alcock <nick.alcock@oracle.com> * Makefile.def (host_modules): Add libctf. * Makefile.def (dependencies): Likewise. libctf depends on zlib, libiberty, and bfd. * Makefile.in: Regenerated. * configure.ac (host_libs): Add libctf. * configure: Regenerated. 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> * config.guess: Synchronize with config project master sources. * config.sub: Likewise. * readline/support/config.guess: Likewise. * readline/support/config.sub: Likewise. 2019-04-10 Nick Clifton <nickc@redhat.com> * libiberty: Sync with gcc. Bring in: 2019-04-10 Nick Clifton <nickc@redhat.com> 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. 2018-06-24 Nick Clifton <nickc@redhat.com> 2.32 branch created. 2019-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> Merge from GCC: PR target/88535 * config.guess: Import upstream version 2019-01-03. * config.sub: Import upstream version 2019-01-01. 2019-01-10 Nick Clifton <nickc@redhat.com> * libiberty: Sync with gcc. Bring in: 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> PR other/16615 * cp-demangle.c: Mechanically replace "can not" with "cannot". * floatformat.c: Likewise. * strerror.c: Likewise. 2018-12-22 Jason Merrill <jason@redhat.com> Remove support for demangling GCC 2.x era mangling schemes. * cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname, internal_cplus_demangle, and all subroutines. (libiberty_demanglers): Remove entries for ancient GNU (pre-3.0), Lucid, ARM, HP, and EDG demangling styles. (cplus_demangle): Remove 'work' variable. Don't call internal_cplus_demangle. 2019-01-03 ÐилÑн ÐалаÑзов <dilyan.palauzov@aegee.org> * configure.ac: Don't configure readline if --with-system-readline is used. * configure: Re-generate. 2018-10-31 Joseph Myers <joseph@codesourcery.com> Merge from GCC: PR bootstrap/82856 * multilib.am: New file. From automake. 2018-09-12 Sergio Durigan Junior <sergiodj@redhat.com> * src-release.sh (GDB_SUPPORT_DIRS): Add "contrib". 2018-07-16 Nick Clifton <nickc@redhat.com> * src-release.sh (DEVO_SUPPORT): Add test-driver and ar-lib. 2018-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.sub: Sync with upstream version 2018-07-03. 2018-07-05 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.guess: Sync with upstream version 2018-06-26. * config.sub: Sync with upstream version 2018-07-02. 2018-06-29 Alexandre Oliva <oliva@adacore.com> * configure.ac: Introduce support for @unless/@endunless. * Makefile.tpl (dep-kind): Rewrite with cond; return postbootstrap in some cases. (make-postboot-dep, postboot-targets): New. (dependencies): Do not output postbootstrap dependencies at first. Output non-target ones changed for configure to depend on stage_last @if gcc-bootstrap, and the original deps @unless gcc-bootstrap. * configure.in, Makefile.in: Rebuilt. 2018-06-24 Nick Clifton <nickc@redhat.com> * configure: Regenerate. 2018-06-19 Simon Marchi <simon.marchi@ericsson.com> * libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE. * README-maintainer-mode: Update version requirements. * ar-lib: New file. * test-driver: New file. * configure: Re-generate. 2018-06-18 Eric Botcazou <ebotcazou@adacore.com> * Makefile.def (fortran): Add check-target-libgomp-fortran. * Makefile.tpl (check-target-libgomp-fortran): New phony target. * Makefile.in: Regenerate. * configure: Regenerate. 2018-06-18 Simon Marchi <simon.marchi@ericsson.com> * configure.ac: Sync with GCC, remove MPX-related things. 2018-05-01 Nick Clifton <nickc@redhat.com> * config.guess: Synchronize with config project master sources. * config.sub: Likewise. 2018-05-01 Francois H. Theron <francois.theron@netronome.com> * configure.ac: Added "nfp" target. * configure: Regenerate. 2018-02-13 Maciej W. Rozycki <macro@mips.com> * configure.ac <wasm32-*-*> (noconfigdirs): Add `ld'. * configure: Regenerate. 2018-01-30 Nick Clifton <nickc@redhat.com> * src-release.sh (do_proto_toplev): Add patterns for more junk files to delete before creating the tarball. 2018-01-29 Nick Clifton <nickc@redhat.com> * src-release.sh (do_proto_toplev): Strip patch remnant files from the sources before creating the tarball.
Diffstat (limited to 'cross/avr-binutils')
-rw-r--r--cross/avr-binutils/Makefile47
-rw-r--r--cross/avr-binutils/PLIST4
-rw-r--r--cross/avr-binutils/buildlink3.mk5
-rw-r--r--cross/avr-binutils/distinfo26
-rw-r--r--cross/avr-binutils/patches/patch-ad15
-rw-r--r--cross/avr-binutils/patches/patch-ae15
-rw-r--r--cross/avr-binutils/patches/patch-af15
-rw-r--r--cross/avr-binutils/patches/patch-ag24
-rw-r--r--cross/avr-binutils/patches/patch-ah17
-rw-r--r--cross/avr-binutils/patches/patch-ai15
-rw-r--r--cross/avr-binutils/patches/patch-aj24
-rw-r--r--cross/avr-binutils/patches/patch-bfd_Makefile.in (renamed from cross/avr-binutils/patches/patch-ab)10
-rw-r--r--cross/avr-binutils/patches/patch-binutils_Makefile.in15
-rw-r--r--cross/avr-binutils/patches/patch-binutils_doc_Makefile.in15
-rw-r--r--cross/avr-binutils/patches/patch-etc_Makefile.in15
-rw-r--r--cross/avr-binutils/patches/patch-gas_Makefile.in15
-rw-r--r--cross/avr-binutils/patches/patch-gas_doc_Makefile.in15
-rw-r--r--cross/avr-binutils/patches/patch-gprof_Makefile.in24
-rw-r--r--cross/avr-binutils/patches/patch-ld_Makefile.in24
19 files changed, 171 insertions, 169 deletions
diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile
index 6b8b0e1e5d9..0ef0f3eaad9 100644
--- a/cross/avr-binutils/Makefile
+++ b/cross/avr-binutils/Makefile
@@ -1,39 +1,37 @@
-# $NetBSD: Makefile,v 1.31 2021/05/24 19:49:25 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2021/09/08 12:02:59 micha Exp $
-DISTNAME= binutils-2.30
+DISTNAME= binutils-2.37
PKGNAME= ${DISTNAME:S/^/avr-/}
-PKGREVISION= 1
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers
-LICENSE= gnu-gpl-v3
+LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
+USE_LANGUAGES= c c++
# No need to use makeinfo - this package doesn't install the documentation.
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls
USE_PKGLOCALEDIR= yes
USE_GNU_CONFIGURE_HOST= no
-# follows to devel/binutils
-# PR pkg/48504, ksh is sufficient for NetBSD 5.2 and NetBSD 6.1
-.include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \
- empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*)
-USE_TOOLS+= ksh
-CONFIG_SHELL= ksh
-.endif
-
-CONFIGURE_ARGS+= --disable-werror --target=avr --disable-nls
+CONFIGURE_ARGS+= --enable-deterministic-archives
+CONFIGURE_ARGS+= --disable-lto
+CONFIGURE_ARGS+= --disable-nls
+CONFIGURE_ARGS+= --disable-werror
+CONFIGURE_ARGS+= --target=avr
+CONFIGURE_ARGS+= --with-system-zlib
AUTO_MKDIRS= yes
-# Prevent the need to run texi2pod.pl and pod2man hence
-# the need for perl as build dependency.
+TEST_DEPENDS= dejagnu>=1.6.2:../../devel/dejagnu
+TEST_TARGET= check
+
+# Prevent the need to run texi2pod.pl and pod2mane
+# hence the need for perl as build dependency.
post-configure:
set -e; \
cd ${WRKSRC}; \
@@ -50,16 +48,23 @@ post-build:
(cd ${WRKSRC}/bfd; ${GMAKE} all libbfd.a);
post-install:
- # Emulator/simulvar needs library files
+ # emulators/simulvar needs library files
(cd ${WRKSRC}/bfd; \
${GMAKE} install-exec install-data; \
- ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la ${DESTDIR}${PREFIX}/avr/lib; \
+ ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la \
+ ${DESTDIR}${PREFIX}/avr/lib; \
${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include; \
)
- # emulator/simulavr wants following header files
+ # emulators/simulavr wants following header files
(cd ${WRKSRC}/include; \
for f in ansidecl.h symcat.h; do \
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/avr/include; \
- done; \
+ done; \
)
+ # Plugins may collide with other binutils flavours
+ ${MV} ${DESTDIR}${PREFIX}/lib/bfd-plugins \
+ ${DESTDIR}${PREFIX}/avr/lib/
+
+BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/cross/avr-binutils/PLIST b/cross/avr-binutils/PLIST
index d15a5d120bd..318c8ce3419 100644
--- a/cross/avr-binutils/PLIST
+++ b/cross/avr-binutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2018/07/16 12:56:48 mef Exp $
+@comment $NetBSD: PLIST,v 1.11 2021/09/08 12:02:59 micha Exp $
avr/bin/ar
avr/bin/as
avr/bin/ld
@@ -12,6 +12,7 @@ avr/bin/strip
avr/include/ansidecl.h
avr/include/bfd.h
avr/include/symcat.h
+avr/lib/bfd-plugins/libdep.so
avr/lib/ldscripts/avr1.x
avr/lib/ldscripts/avr1.xbn
avr/lib/ldscripts/avr1.xe
@@ -145,7 +146,6 @@ man/man1/avr-dlltool.1
man/man1/avr-elfedit.1
man/man1/avr-gprof.1
man/man1/avr-ld.1
-man/man1/avr-nlmconv.1
man/man1/avr-nm.1
man/man1/avr-objcopy.1
man/man1/avr-objdump.1
diff --git a/cross/avr-binutils/buildlink3.mk b/cross/avr-binutils/buildlink3.mk
index 065c12a79e5..c99065eaf5f 100644
--- a/cross/avr-binutils/buildlink3.mk
+++ b/cross/avr-binutils/buildlink3.mk
@@ -1,13 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.4 2019/06/08 10:53:26 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2021/09/08 12:02:59 micha Exp $
BUILDLINK_TREE+= avr-binutils
.if !defined(AVR_BINUTILS_BUILDLINK3_MK)
AVR_BINUTILS_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.avr-binutils+= avr-binutils>=2.23
+BUILDLINK_API_DEPENDS.avr-binutils+= avr-binutils>=2.37
BUILDLINK_PKGSRCDIR.avr-binutils?= ../../cross/avr-binutils
-#BUILDLINK_FNAME_TRANSFORM.avr-binutils+= -e "s,${AVR_TARGET}/lib,lib/,g"
.endif # AVR_BINUTILS_BUILDLINK3_MK
diff --git a/cross/avr-binutils/distinfo b/cross/avr-binutils/distinfo
index a8456cbdab1..765810b4256 100644
--- a/cross/avr-binutils/distinfo
+++ b/cross/avr-binutils/distinfo
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.13 2019/06/08 10:53:26 rillig Exp $
+$NetBSD: distinfo,v 1.14 2021/09/08 12:02:59 micha Exp $
-SHA1 (binutils-2.30.tar.bz2) = 33d807f7fa680b00439eb5560acd0c2ef645e5f9
-RMD160 (binutils-2.30.tar.bz2) = 5b6152ff36d55da3b5da3a21b372897da66d953c
-SHA512 (binutils-2.30.tar.bz2) = c3ce91aa20f058ec589bf18c722bf651331b394db6378900cc813cc0eea3a331a96584d5ae090630b627369510397dccc9edfcd43d4aeefc99579f277a05c72c
-Size (binutils-2.30.tar.bz2) = 29541188 bytes
-SHA1 (patch-ab) = e2bc22866d8e04b0d670509f3295da5f0e535ac8
-SHA1 (patch-ad) = c361ec47cd639d446bec200355b7d051ae1165d3
-SHA1 (patch-ae) = fff6693a610b26aa60e1d96ad634d15d11afbe05
-SHA1 (patch-af) = 5fa08da0b31da042eb30cce683f7b7b1feb3196b
-SHA1 (patch-ag) = 689bd4207fc6afe33cc81edaf5d97b4a0ba31554
-SHA1 (patch-ah) = 5afb8144cd2fcfe0d8e5b32b89fe1c9ab1d2aa9e
-SHA1 (patch-ai) = ed0814d908d8350ede28d439ce8cd2e77cbaaa2a
-SHA1 (patch-aj) = fd2a66979f68350a53960defdaf5e9e5018ec59a
+SHA1 (binutils-2.37.tar.bz2) = 4ea805f2e158903bfc1b07228f4ef26c0dbaf770
+RMD160 (binutils-2.37.tar.bz2) = 7d841e56e60a72723ea328fac3f15a8bf1598b98
+SHA512 (binutils-2.37.tar.bz2) = b3f5184697f77e94c95d48f6879de214eb5e17aa6ef8e96f65530d157e515b1ae2f290e98453e4ff126462520fa0f63852b6e1c8fbb397ed2e41984336bc78c6
+Size (binutils-2.37.tar.bz2) = 33888611 bytes
+SHA1 (patch-bfd_Makefile.in) = 64aa6b3b4582164d589c8a6b7e5321919ce0e2b9
+SHA1 (patch-binutils_Makefile.in) = 2866358451685cc1c8a2fa675c5a5439cb0cddab
+SHA1 (patch-binutils_doc_Makefile.in) = f5dfd53f615f57856dedc563b8c462d639d8bb98
+SHA1 (patch-etc_Makefile.in) = 454259296ed8b8ee51d2bd629b4aff6c969ef4b5
+SHA1 (patch-gas_Makefile.in) = 4a4b585299b1f4c8254fb1e59e6ac6acb47bf859
+SHA1 (patch-gas_doc_Makefile.in) = da2e1774e308a3b994d1c801331ba392922c3066
+SHA1 (patch-gprof_Makefile.in) = d0fa34064b1fdde3bacff1d223e7490d4747a0b9
+SHA1 (patch-ld_Makefile.in) = 45a26c12d8a95d046ce9b859fd1ccf6a097f19d4
diff --git a/cross/avr-binutils/patches/patch-ad b/cross/avr-binutils/patches/patch-ad
deleted file mode 100644
index 56055269f54..00000000000
--- a/cross/avr-binutils/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2019/06/08 10:53:26 rillig Exp $
-
-Avoid installing info (which duplicates with other CPU)
-
---- etc/Makefile.in.orig 2014-10-14 16:32:02.000000000 +0900
-+++ etc/Makefile.in 2017-01-29 11:59:44.000000000 +0900
-@@ -68,7 +68,7 @@ config.status: $(srcdir)/configure
- dist:
- check:
- info html dvi ps pdf:
--install install-strip install-info install-html install-pdf:
-+install install-strip:
- installcheck:
- uninstall:
- TAGS:
diff --git a/cross/avr-binutils/patches/patch-ae b/cross/avr-binutils/patches/patch-ae
deleted file mode 100644
index f4c2ffa9d6b..00000000000
--- a/cross/avr-binutils/patches/patch-ae
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2013/08/07 02:41:30 mef Exp $
-
-Avoid installing info (which duplicates with other CPU)
-
---- binutils/doc/Makefile.in.orig 2008-08-15 10:31:47 +0200
-+++ binutils/doc/Makefile.in
-@@ -65,7 +65,7 @@ CONFIG_CLEAN_FILES =
- depcomp =
- am__depfiles_maybe =
- SOURCES =
--INFO_DEPS = binutils.info
-+INFO_DEPS =
- TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
- am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
- DVIS = binutils.dvi
diff --git a/cross/avr-binutils/patches/patch-af b/cross/avr-binutils/patches/patch-af
deleted file mode 100644
index dbce0ebad6c..00000000000
--- a/cross/avr-binutils/patches/patch-af
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-af,v 1.3 2013/08/07 02:41:30 mef Exp $
-
-Avoid installing info (which duplicates with other CPU)
-
---- gas/doc/Makefile.in.orig 2008-08-15 10:31:50 +0200
-+++ gas/doc/Makefile.in
-@@ -62,7 +62,7 @@ CONFIG_CLEAN_FILES =
- depcomp =
- am__depfiles_maybe =
- SOURCES =
--INFO_DEPS = as.info
-+INFO_DEPS =
- TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
- am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
- DVIS = as.dvi
diff --git a/cross/avr-binutils/patches/patch-ag b/cross/avr-binutils/patches/patch-ag
deleted file mode 100644
index 03536b8a392..00000000000
--- a/cross/avr-binutils/patches/patch-ag
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ag,v 1.5 2017/01/30 12:07:36 mef Exp $
-
-Avoid installing info (which duplicates with other CPU)
-
---- ld/Makefile.in.orig 2016-08-03 16:36:54.000000000 +0900
-+++ ld/Makefile.in 2017-01-29 12:08:42.000000000 +0900
-@@ -181,7 +181,7 @@ LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLF
- SOURCES = $(libldtestplug_la_SOURCES) $(libldtestplug2_la_SOURCES) \
- $(libldtestplug3_la_SOURCES) $(libldtestplug4_la_SOURCES) \
- $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
--INFO_DEPS = ld.info
-+INFO_DEPS =
- am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
- DVIS = ld.dvi
- PDFS = ld.pdf
-@@ -425,7 +425,7 @@ use_sysroot = @use_sysroot@
- AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
- ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
- TEXINFO_TEX = ../texinfo/texinfo.tex
--SUBDIRS = po
-+SUBDIRS =
- tooldir = $(exec_prefix)/$(target_alias)
-
- # Automake 1.10+ disables lex and yacc output file regeneration if
diff --git a/cross/avr-binutils/patches/patch-ah b/cross/avr-binutils/patches/patch-ah
deleted file mode 100644
index fa72b7ea22d..00000000000
--- a/cross/avr-binutils/patches/patch-ah
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ah,v 1.5 2019/06/08 10:53:26 rillig Exp $
-
-Avoid installing po (nls) files
-
- # Automake 1.10+ disables lex and yacc output file regeneration if
-
---- binutils/Makefile.in.orig 2016-08-03 17:16:40.000000000 +0900
-+++ binutils/Makefile.in 2017-01-29 12:01:49.000000000 +0900
-@@ -464,7 +464,7 @@ zlibdir = @zlibdir@
- zlibinc = @zlibinc@
- AUTOMAKE_OPTIONS = dejagnu no-dist foreign
- ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
--SUBDIRS = doc po
-+SUBDIRS = doc
- tooldir = $(exec_prefix)/$(target_alias)
-
- # Automake 1.10+ disables lex and yacc output file regeneration if
diff --git a/cross/avr-binutils/patches/patch-ai b/cross/avr-binutils/patches/patch-ai
deleted file mode 100644
index 4a1ed4e129f..00000000000
--- a/cross/avr-binutils/patches/patch-ai
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ai,v 1.4 2017/01/30 12:07:36 mef Exp $
-
-Avoid installing po (nls) files
-
---- gas/Makefile.in.orig 2016-08-03 17:16:28.000000000 +0900
-+++ gas/Makefile.in 2017-01-29 12:02:27.000000000 +0900
-@@ -325,7 +325,7 @@ zlibdir = @zlibdir@
- zlibinc = @zlibinc@
- AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
- ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
--SUBDIRS = doc po
-+SUBDIRS = doc
- tooldir = $(exec_prefix)/$(target_alias)
-
- # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
diff --git a/cross/avr-binutils/patches/patch-aj b/cross/avr-binutils/patches/patch-aj
deleted file mode 100644
index e260ac87a66..00000000000
--- a/cross/avr-binutils/patches/patch-aj
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aj,v 1.2 2013/08/07 02:41:30 mef Exp $
-
-Avoid installing info and po (nls) files
-
---- gprof/Makefile.in.orig 2012-06-02 19:19:23.000000000 +0900
-+++ gprof/Makefile.in 2013-01-27 07:21:40.000000000 +0900
-@@ -93,7 +93,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
- SOURCES = $(gprof_SOURCES)
--INFO_DEPS = gprof.info
-+INFO_DEPS =
- am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
- DVIS = gprof.dvi
- PDFS = gprof.pdf
-@@ -279,7 +279,7 @@ AUTOMAKE_OPTIONS = 1.11 foreign no-dist
- ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
- TEXINFO_TEX = ../texinfo/texinfo.tex
- SUFFIXES = .m
--SUBDIRS = po
-+SUBDIRS =
- BASEDIR = $(srcdir)/..
- BFDDIR = $(BASEDIR)/bfd
- INCDIR = $(BASEDIR)/include
diff --git a/cross/avr-binutils/patches/patch-ab b/cross/avr-binutils/patches/patch-bfd_Makefile.in
index bc15af90fbb..17bef3e833a 100644
--- a/cross/avr-binutils/patches/patch-ab
+++ b/cross/avr-binutils/patches/patch-bfd_Makefile.in
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.3 2013/08/07 02:41:30 mef Exp $
+$NetBSD: patch-bfd_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
-Avoid installing info file.
+Avoid installing info and po (NLS) files.
---- bfd/Makefile.in.orig 2011-11-21 20:55:49.000000000 +0900
-+++ bfd/Makefile.in 2012-02-06 22:14:51.000000000 +0900
-@@ -1713,7 +1713,6 @@
+--- bfd/Makefile.in.orig 2021-07-18 16:36:53.000000000 +0000
++++ bfd/Makefile.in
+@@ -1748,7 +1748,6 @@ installdirs-am:
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
diff --git a/cross/avr-binutils/patches/patch-binutils_Makefile.in b/cross/avr-binutils/patches/patch-binutils_Makefile.in
new file mode 100644
index 00000000000..723e1823a15
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-binutils_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-binutils_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing po (NLS) files.
+
+--- binutils/Makefile.in.orig 2021-07-18 16:38:08.000000000 +0000
++++ binutils/Makefile.in
+@@ -569,7 +569,7 @@ zlibdir = @zlibdir@
+ zlibinc = @zlibinc@
+ AUTOMAKE_OPTIONS = dejagnu no-dist foreign subdir-objects
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+-SUBDIRS = doc po
++SUBDIRS = doc
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ # Automake 1.10+ disables lex and yacc output file regeneration if
diff --git a/cross/avr-binutils/patches/patch-binutils_doc_Makefile.in b/cross/avr-binutils/patches/patch-binutils_doc_Makefile.in
new file mode 100644
index 00000000000..9eebb6e4b60
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-binutils_doc_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-binutils_doc_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing info files (which duplicates with other CPU).
+
+--- binutils/doc/Makefile.in.orig 2021-07-18 16:38:08.000000000 +0000
++++ binutils/doc/Makefile.in
+@@ -182,7 +182,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
+-INFO_DEPS = binutils.info
++INFO_DEPS =
+ am__TEXINFO_TEX_DIR = $(srcdir)
+ DVIS = binutils.dvi
+ PDFS = binutils.pdf
diff --git a/cross/avr-binutils/patches/patch-etc_Makefile.in b/cross/avr-binutils/patches/patch-etc_Makefile.in
new file mode 100644
index 00000000000..1096f84892d
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-etc_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-etc_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing info files (which duplicates with other CPU).
+
+--- etc/Makefile.in.orig 2021-07-08 11:37:19.000000000 +0000
++++ etc/Makefile.in
+@@ -68,7 +68,7 @@ config.status: $(srcdir)/configure
+ dist:
+ check:
+ info html dvi ps pdf:
+-install install-strip install-info install-html install-pdf:
++install install-strip install-html install-pdf:
+ installcheck:
+ uninstall:
+ TAGS:
diff --git a/cross/avr-binutils/patches/patch-gas_Makefile.in b/cross/avr-binutils/patches/patch-gas_Makefile.in
new file mode 100644
index 00000000000..1f00d5c4aef
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-gas_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-gas_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing po (NLS) files.
+
+--- gas/Makefile.in.orig 2021-07-18 16:37:38.000000000 +0000
++++ gas/Makefile.in
+@@ -421,7 +421,7 @@ zlibdir = @zlibdir@
+ zlibinc = @zlibinc@
+ AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+-SUBDIRS = doc po
++SUBDIRS = doc
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
diff --git a/cross/avr-binutils/patches/patch-gas_doc_Makefile.in b/cross/avr-binutils/patches/patch-gas_doc_Makefile.in
new file mode 100644
index 00000000000..d1033191f99
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-gas_doc_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-gas_doc_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing info files (which duplicates with other CPU).
+
+--- gas/doc/Makefile.in.orig 2021-07-18 16:37:38.000000000 +0000
++++ gas/doc/Makefile.in
+@@ -175,7 +175,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
+-INFO_DEPS = as.info
++INFO_DEPS =
+ TEXINFO_TEX = $(top_srcdir)/../texinfo.tex
+ am__TEXINFO_TEX_DIR = $(top_srcdir)/..
+ DVIS = as.dvi
diff --git a/cross/avr-binutils/patches/patch-gprof_Makefile.in b/cross/avr-binutils/patches/patch-gprof_Makefile.in
new file mode 100644
index 00000000000..0a353dfaf41
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-gprof_Makefile.in
@@ -0,0 +1,24 @@
+$NetBSD: patch-gprof_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing info and po (NLS) files.
+
+--- gprof/Makefile.in.orig 2021-07-18 16:44:34.000000000 +0000
++++ gprof/Makefile.in
+@@ -217,7 +217,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
+-INFO_DEPS = gprof.info
++INFO_DEPS =
+ am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
+ DVIS = gprof.dvi
+ PDFS = gprof.pdf
+@@ -442,7 +442,7 @@ AUTOMAKE_OPTIONS = foreign no-dist no-te
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+ TEXINFO_TEX = ../texinfo/texinfo.tex
+ SUFFIXES = .c .m
+-SUBDIRS = po
++SUBDIRS =
+ BASEDIR = $(srcdir)/..
+ BFDDIR = $(BASEDIR)/bfd
+ INCDIR = $(BASEDIR)/include
diff --git a/cross/avr-binutils/patches/patch-ld_Makefile.in b/cross/avr-binutils/patches/patch-ld_Makefile.in
new file mode 100644
index 00000000000..b73d20e6555
--- /dev/null
+++ b/cross/avr-binutils/patches/patch-ld_Makefile.in
@@ -0,0 +1,24 @@
+$NetBSD: patch-ld_Makefile.in,v 1.1 2021/09/08 12:03:00 micha Exp $
+
+Avoid installing info and po (NLS) files.
+
+--- ld/Makefile.in.orig 2021-07-18 16:38:34.000000000 +0000
++++ ld/Makefile.in
+@@ -298,7 +298,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@
+ am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+ am__v_texidevnull_0 = > /dev/null
+ am__v_texidevnull_1 =
+-INFO_DEPS = ld.info
++INFO_DEPS =
+ am__TEXINFO_TEX_DIR = $(srcdir)/../texinfo
+ DVIS = ld.dvi
+ PDFS = ld.pdf
+@@ -540,7 +540,7 @@ zlibinc = @zlibinc@
+ AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign info-in-builddir
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+ TEXINFO_TEX = ../texinfo/texinfo.tex
+-SUBDIRS = po
++SUBDIRS =
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ # Automake 1.10+ disables lex and yacc output file regeneration if