Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils.old import current binutils.



details:   https://anonhg.NetBSD.org/src/rev/1e439a062c7b
branches:  trunk
changeset: 831799:1e439a062c7b
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 14 15:36:06 2018 +0000

description:
import current binutils.

diffstat:

 external/gpl3/binutils.old/binutils2netbsd                                    |     52 +
 external/gpl3/binutils.old/dist/bfd/ChangeLog-2015                            |   4247 ++
 external/gpl3/binutils.old/dist/bfd/arc-plt.def                               |     94 +
 external/gpl3/binutils.old/dist/bfd/arc-plt.h                                 |    196 +
 external/gpl3/binutils.old/dist/bfd/doc/ChangeLog-0415                        |    342 +
 external/gpl3/binutils.old/dist/bfd/elf-linux-core.h                          |    123 +
 external/gpl3/binutils.old/dist/bfd/elf32-dlx.h                               |     34 +
 external/gpl3/binutils.old/dist/bfd/mach-o-aarch64.c                          |    308 +
 external/gpl3/binutils.old/dist/bfd/mach-o-arm.c                              |    326 +
 external/gpl3/binutils.old/dist/bfd/po/sr.gmo                                 |    Bin 
 external/gpl3/binutils.old/dist/bfd/po/sr.po                                  |   6811 +++
 external/gpl3/binutils.old/dist/binutils/ChangeLog-2015                       |   1034 +
 external/gpl3/binutils.old/dist/elfcpp/ChangeLog-0815                         |    467 +
 external/gpl3/binutils.old/dist/gas/ChangeLog-2015                            |   2043 +
 external/gpl3/binutils.old/dist/gold/ChangeLog-0815                           |  18139 ++++++++++
 external/gpl3/binutils.old/dist/gprof/ChangeLog-2015                          |     44 +
 external/gpl3/binutils.old/dist/include/ChangeLog-0415                        |   2183 +
 external/gpl3/binutils.old/dist/include/aout/ChangeLog-9115                   |    285 +
 external/gpl3/binutils.old/dist/include/cgen/ChangeLog-0915                   |     44 +
 external/gpl3/binutils.old/dist/include/coff/ChangeLog-0415                   |    419 +
 external/gpl3/binutils.old/dist/include/elf/ChangeLog-0415                    |   2348 +
 external/gpl3/binutils.old/dist/include/environ.h                             |     33 +
 external/gpl3/binutils.old/dist/include/gdb/sim-aarch64.h                     |     48 +
 external/gpl3/binutils.old/dist/include/mach-o/ChangeLog-1115                 |    136 +
 external/gpl3/binutils.old/dist/include/mach-o/arm64.h                        |     50 +
 external/gpl3/binutils.old/dist/include/nlm/ChangeLog-9315                    |    127 +
 external/gpl3/binutils.old/dist/include/opcode/ChangeLog-0415                 |   2596 +
 external/gpl3/binutils.old/dist/include/som/ChangeLog-1015                    |     28 +
 external/gpl3/binutils.old/dist/include/vms/ChangeLog-1015                    |     95 +
 external/gpl3/binutils.old/dist/ld/ChangeLog-2015                             |   1205 +
 external/gpl3/binutils.old/dist/ld/emulparams/arc-endianness.sh               |     11 +
 external/gpl3/binutils.old/dist/ld/emulparams/armelf_phoenix.sh               |     24 +
 external/gpl3/binutils.old/dist/ld/emulparams/dynamic_undefined_weak.sh       |     12 +
 external/gpl3/binutils.old/dist/ld/emulparams/reloc_overflow.sh               |     11 +
 external/gpl3/binutils.old/dist/ld/testplug4.c                                |    674 +
 external/gpl3/binutils.old/dist/opcodes/ChangeLog-2015                        |   1185 +
 external/gpl3/binutils.old/dist/opcodes/arc-ext-tbl.h                         |    122 +
 external/gpl3/binutils.old/dist/opcodes/arc-nps400-tbl.h                      |    554 +
 external/gpl3/binutils.old/dist/zlib/contrib/minizip/miniunzip.1              |     63 +
 external/gpl3/binutils.old/dist/zlib/contrib/minizip/minizip.1                |     46 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/miniunz.vcxproj     |    314 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/minizip.vcxproj     |    311 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/testzlib.vcxproj    |    426 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj |    314 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/zlib.rc             |     32 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/zlibstat.vcxproj    |    464 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/zlibvc.def          |    143 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/zlibvc.sln          |    117 +
 external/gpl3/binutils.old/dist/zlib/contrib/vstudio/vc11/zlibvc.vcxproj      |    688 +
 49 files changed, 49368 insertions(+), 0 deletions(-)

diffs (truncated from 49568 to 300 lines):

diff -r 6b3cdcfd6fe5 -r 1e439a062c7b external/gpl3/binutils.old/binutils2netbsd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils.old/binutils2netbsd        Sat Apr 14 15:36:06 2018 +0000
@@ -0,0 +1,52 @@
+#! /bin/sh
+#
+#      $NetBSD: binutils2netbsd,v 1.1.1.1 2018/04/14 15:36:06 christos Exp $
+#
+# Copyright (c) 2016 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+# binutils2netbsd:  convert a file source tree into a
+# format suitable for import.  Works on first arg dir.
+# You can run this only once if you want it to work.
+#
+# based on file 2netbsd
+#
+PROG="$(basename "$0")"
+
+if [ -z "$1" ]
+then
+       echo "Usage: $PROG <directory>" 1>&2
+       exit 1
+fi
+DIR="$1"
+
+### Remove the $'s around RCS tags
+cleantags "$DIR"
+
+find "$DIR" -name testsuite -exec rm -fr {} +
+
+echo You can import now.  Use the following command:
+echo cvs import src/external/gpl3/binutils/dist FSF binutils-X-YY-Z
+
+exit 0
diff -r 6b3cdcfd6fe5 -r 1e439a062c7b external/gpl3/binutils.old/dist/bfd/ChangeLog-2015
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils.old/dist/bfd/ChangeLog-2015        Sat Apr 14 15:36:06 2018 +0000
@@ -0,0 +1,4247 @@
+2015-12-27  Sandra Loosemore  <sandra%codesourcery.com@localhost>
+
+       * elf32-nios2.c (nios2_elf_assign_gp): Correct computation of _gp
+       address.
+       (nios2_elf32_relocate_section): Tidy code for R_NIOS2_GPREL error
+       messages.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme%arm.com@localhost>
+
+       * elf32-arm.c (using_thumb_only): Check that profile is 'M' and update
+       logic around Tag_CPU_arch values to return TRUE for ARMv8-M
+       architectures.
+       (tag_cpu_arch_combine): Define v8m_baseline and v8m_mainline and update
+       v4t_plus_v6_m and comb to deal with ARMv8-M Tag_CPU_arch merging logic.
+       (elf32_arm_merge_eabi_attributes): Add Tag_CPU_name values for
+       ARMv8-M.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme%arm.com@localhost>
+
+       (tag_cpu_arch_combine): Adjust comment in v4t_plus_v6_m with regards
+       to merging with ARMv8-M Baseline.
+
+2015-12-24  Thomas Preud'homme  <thomas.preudhomme%arm.com@localhost>
+
+       (tag_cpu_arch_combine): Adjust v4t_plus_v6_m and comb array to account
+       for new TAG_CPU_ARCH_V4T_PLUS_V6_M value.  Deal with NULL values in
+       comb array.
+
+2015-12-22 Yury Usishchev <y.usishchev%samsung.com@localhost>
+
+       * elf-bfd.h: Add callback to count additional relocations.
+       * elf32-arm.c (_arm_elf_section_data): Add new counter.
+       (insert_cantunwind_after): Increment relocations counter.
+       (elf32_arm_fix_exidx_coverage): Remove exidx entries and add
+       terminating CANTUNWIND entry only in final builds.
+       (elf32_arm_add_relocation): New function.
+       (elf32_arm_write_section): Add relocations in relocatable builds.
+       (elf32_arm_count_additional_relocs): New function.
+       (elf_backend_count_additional_relocs): New define.
+       * elflink.c (bfd_elf_final_link): Use callback and adjust size of
+       .rel section.
+       * elfxx-target.h (elf_backend_count_additional_relocs): New define.
+
+2015-12-22  Yoshinori Sato <ysato%users.sourceforge.jp@localhost>
+
+       * archures.c: Add bfd_mach_rx_v2.
+       * bfd-in2.h: Regenerate.
+       * cpu-rx.c (arch_info_struct): Add v2 information.
+       * elf32-rx.c (elf32_rx_machine): Add v2 support.
+
+2015-12-22 Mickael Guene <mickael.guene%st.com@localhost>
+
+       * bfd-in2.h: Regenerate.
+       * section.c: Add SEC_ELF_NOREAD.
+       * elf32-arm.c (elf32_arm_post_process_headers): Only set
+       PF_X attribute if a segment only contains section with
+       SHF_ARM_NOREAD flag.
+       (elf32_arm_fake_sections): Add SEC_ELF_NOREAD conversion.
+       (elf32_arm_section_flags): New function to convert SHF_ARM_NOREAD
+       to bfd flag.
+       (elf32_arm_lookup_section_flags): New function to allow
+       INPUT_SECTION_FLAGS directive with SHF_ARM_NOREAD flag.
+       (elf32_arm_special_sections): Add special sections array
+       to catch section prefix by '.text.noread' pattern.
+
+2015-12-18  H.J. Lu  <hongjiu.lu%intel.com@localhost>
+
+       * coff-x86_64.c (coff_amd64_reloc): Fix formatting.
+
+2015-12-18  Nick Clifton  <nickc%redhat.com@localhost>
+
+       * coff-i386.c (coff_i386_reloc): Fix formatting.
+
+2015-12-16  Mickael Guene <mickael.guene%st.com@localhost>
+
+       * bfd-in2.h: Regenerate.
+       * reloc.c: Add new relocations.
+       * libbfd.h (bfd_reloc_code_real_names): Add new relocations
+       display names.
+       * elf32-arm.c (elf32_arm_howto_table_1): Add HOWTO for new
+       relocations.
+       (elf32_arm_reloc_map): Add bfd/arm mapping for new relocations.
+       (elf32_arm_final_link_relocate): Implement new relocations
+       resolution.
+
+2015-12-15  Jan Beulich  <jbeulich%suse.com@localhost>
+
+       * coffgen.c (coff_write_alien_symbol): New parameter "iaux".
+       (coff_write_symbols): Pass NULL for new argument.
+       * cofflink.c (_bfd_coff_final_link): New local variables
+       "iaux".
+       Extend scope of local variables "indx" and "hash". Pass address
+       of "iaux" to coff_write_alien_symbol(). Handle ".file" and the
+       file name ending up in the string table separately. Avoid
+       setting "rewrite" on more than one path.
+       * libcoff-in.h (coff_write_alien_symbol): New parameter of type
+       "union internal_auxent *".
+       * libcoff.h: Re-generate.
+
+2015-12-15  Nick Clifton  <nickc%redhat.com@localhost>
+
+       PR 19339
+       * elf-vxworks.h: Update copyright notice.
+       * elf-vxworks.c: Update copyright notice.
+       * elf-nacl.h: Update copyright notice.
+       * elf-nacl.c: Update copyright notice.
+
+2015-12-10  H.J. Lu  <hongjiu.lu%intel.com@localhost>
+
+       PR ld/19317
+       * linker.c (_bfd_generic_link_add_one_symbol): Don't complain
+       plugin needed to handle slim lto object for relocatable link.
+
+2015-12-09  Sandra Loosemore  <sandra%codesourcery.com@localhost>
+
+       * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Correct
+       %hiadj/%lo computations for _GLOBAL_OFFSET_TABLE_ in initial
+       PLT entries.  Assert alignment requirements.
+
+2015-12-08  DJ Delorie  <dj%redhat.com@localhost>
+
+       * elf32-rl78.c (rl78_offset_for_reloc): Add more relocs.
+       (rl78_elf_relax_section): Add bc/bz/bnc/bnz/bh/bnh.  Fix reloc
+       choices.
+
+       * elf32-rx.c (rx_elf_object_p): Ignore empty and nobits sections.
+
+2015-12-07  Nick Clifton  <nickc%redhat.com@localhost>
+
+       * elf32-rx.c (elf32_rx_relax_delete_bytes): Add extra parameter -
+       the start of the relocs for the section.  Delete code to load in
+       the relocs.
+       (elf32_rx_relax_section): Do not free the loaded relocs.
+
+2015-12-07  Alan Modra  <amodra%gmail.com@localhost>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Don't error on local ifunc
+       plt call.  Wrap long lines.
+       (ppc_elf_relocate_section): Wrap long lines.
+       * elf64-ppc.c (ppc64_elf_check_relocs): Don't error on local ifunc
+       plt calls.  Move __tls_get_addr checks later.  Don't create plt
+       for addr14/addr24 relocs.
+       (ppc64_elf_gc_sweep_hook): Adjust to suit check_relocs changes.
+       (ppc64_elf_relocate_section): Correct local ifunc handling for
+       PLT64, PLT32 and PLT16 relocs.
+
+2015-12-07  Alan Modra  <amodra%gmail.com@localhost>
+
+       PR19323
+       * elfcode.h (elf_object_p): Check for ridiculous e_shnum and
+       e_phnum values.
+
+2015-12-07  Alan Modra  <amodra%gmail.com@localhost>
+
+       * reloc.c (BFD_RELOC_PPC64_ENTRY): New.
+       * elf64-ppc.c (reloc_howto_type ppc64_elf_howto_raw): Add
+       entry for R_PPC64_ENTRY.
+       (LD_R2_0R12, ADD_R2_R2_R12, LIS_R2, ADDIS_R2_R12): Define.
+       (ppc64_elf_reloc_type_lookup): Handle R_PPC64_ENTRY.
+       (ppc64_elf_relocate_section): Edit code at R_PPC64_ENTTY.  Use
+       new insn defines.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2015-12-07  Kaz Kojima  <kkojima%rr.iij4u.or.jp@localhost>
+
+       * config.bfd: Mark sh5*-*-* and sh64*-*-* as obsolete.
+
+2015-12-04  H.J. Lu  <hongjiu.lu%intel.com@localhost>
+
+       * elf32-i386.c (elf_i386_convert_load): Skip if addend isn't 0.
+       (elf_i386_relocate_section): Skip R_386_GOT32X optimization if
+       addend isn't 0.
+
+2015-12-04  Tristan Gingold  <gingold%adacore.com@localhost>
+
+       * elf.c (rewrite_elf_program_header): Remove useless loop.
+
+2015-12-02  Alan Modra  <amodra%gmail.com@localhost>
+
+       PR binutils/19315
+       * dwarf2.c (_bfd_elf_find_function): Return symbol matched.
+       (_bfd_dwarf2_find_nearest_line): Check symbol returned above
+       against dwarf range.
+       * elf-bfd.h (_bfd_elf_find_function): Update prototype.
+
+2015-12-02  Alan Modra  <amodra%gmail.com@localhost>
+
+       * elf64-ppc.c (ppc64_elf_tls_optimize): Don't segfault on NULL
+       symbol section or output section.
+       (ppc64_elf_edit_toc): Similarly for ld -R objects.
+       (ppc64_elf_size_stubs): Likewise.
+
+2015-12-01  H.J. Lu  <hongjiu.lu%intel.com@localhost>
+
+       PR ld/19319
+       * elf32-i386.c (elf_i386_convert_load): Check h->def_regular
+       instead of bfd_link_hash_new.
+       * elf64-x86-64.c (elf_x86_64_convert_load): Likewise.  Skip
+       relocation overflow for bfd_link_hash_undefined and
+       bfd_link_hash_new if h->def_regular is set.
+
+2015-12-01  Alan Modra  <amodra%gmail.com@localhost>
+
+       * aoutx.h (adjust_sizes_and_vmas): Remove unused text_size and
+       text_end parameters.  Update callers.
+       * aout-tic30.c: Update adjust_sizes_and_vmas callers.
+       * hp300hpux.c: Likewise.
+       * i386lynx.c: Likewise.
+       * libaout.h: Likewise.
+       * netbsd.h: Likewise.
+       * pdp11.c: Likewise.
+       * riscix.c: Likewise.
+
+2015-12-01  Alan Modra  <amodra%gmail.com@localhost>
+
+       * aout-adobe.c: Invoke aout N_* macros with pointer to
+       struct internal_exec.
+       * aout-arm.c: Likewise.
+       * aout-cris.c: Likewise.
+       * aout-target.h: Likewise.
+       * aout-tic30.c: Likewise.
+       * aoutf1.h: Likewise.
+       * aoutx.h: Likewise.
+       * bout.c: Likewise.
+       * freebsd.h: Likewise.
+       * gen-aout.c: Likewise.
+       * hp300hpux.c: Likewise.
+       * i386aout.c: Likewise.
+       * i386linux.c: Likewise.
+       * i386lynx.c: Likewise.
+       * i386mach3.c: Likewise.
+       * i386os9k.c: Likewise.
+       * libaout.h: Likewise.
+       * m68klinux.c: Likewise.
+       * m88kmach3.c: Likewise.
+       * mipsbsd.c: Likewise.
+       * netbsd.h: Likewise.
+       * pc532-mach.c: Likewise.
+       * pdp11.c: Likewise.



Home | Main Index | Thread Index | Old Index