Module Name:    src
Committed By:   christos
Date:           Mon Dec  5 22:59:18 UTC 2016

Modified Files:
        src/external/gpl3/binutils/lib/libbfd/arch/earm: bfd.h bfdver.h
            config.h
        src/external/gpl3/binutils/lib/libbfd/arch/earmeb: bfd.h bfdver.h
            config.h
        src/external/gpl3/binutils/lib/libbfd/arch/m68000: bfd.h bfdver.h
            config.h
        src/external/gpl3/binutils/lib/libopcodes/arch/earm: config.h
        src/external/gpl3/binutils/lib/libopcodes/arch/earmeb: config.h
        src/external/gpl3/binutils/lib/libopcodes/arch/m68000: config.h
        src/external/gpl3/binutils/usr.bin/common/arch/earm: config.h defs.mk
        src/external/gpl3/binutils/usr.bin/common/arch/earmeb: config.h defs.mk
        src/external/gpl3/binutils/usr.bin/common/arch/m68000: config.h defs.mk
        src/external/gpl3/binutils/usr.bin/gas/arch/earm: config.h targ-env.h
        src/external/gpl3/binutils/usr.bin/gas/arch/earmeb: config.h targ-env.h
        src/external/gpl3/binutils/usr.bin/gas/arch/m68000: config.h
        src/external/gpl3/binutils/usr.bin/gprof/arch/earm: gconfig.h
        src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb: gconfig.h
        src/external/gpl3/binutils/usr.bin/gprof/arch/m68000: gconfig.h
        src/external/gpl3/binutils/usr.bin/ld/arch/earm: config.h
        src/external/gpl3/binutils/usr.bin/ld/arch/earmeb: config.h
        src/external/gpl3/binutils/usr.bin/ld/arch/m68000: config.h

Log Message:
regen sun2, earm, earmeb


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/external/gpl3/binutils/lib/libbfd/arch/earm/bfd.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/lib/libbfd/arch/earm/bfdver.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/lib/libbfd/arch/earm/config.h
cvs rdiff -u -r1.3 -r1.4 \
    src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h
cvs rdiff -u -r1.6 -r1.7 \
    src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfd.h
cvs rdiff -u -r1.9 -r1.10 \
    src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfdver.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/lib/libbfd/arch/m68000/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/lib/libopcodes/arch/earm/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/lib/libopcodes/arch/earmeb/config.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/lib/libopcodes/arch/m68000/config.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/common/arch/earm/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/common/arch/earm/defs.mk
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/common/arch/earmeb/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/common/arch/earmeb/defs.mk
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/common/arch/m68000/config.h
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/usr.bin/common/arch/m68000/defs.mk
cvs rdiff -u -r1.6 -r1.7 \
    src/external/gpl3/binutils/usr.bin/gas/arch/earm/config.h
cvs rdiff -u -r1.2 -r1.3 \
    src/external/gpl3/binutils/usr.bin/gas/arch/earm/targ-env.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/config.h
cvs rdiff -u -r1.1 -r1.2 \
    src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/targ-env.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/gas/arch/m68000/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/gprof/arch/earm/gconfig.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb/gconfig.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/gprof/arch/m68000/gconfig.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/ld/arch/earmeb/config.h
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/lib/libbfd/arch/earm/bfd.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/earm/bfd.h:1.3 src/external/gpl3/binutils/lib/libbfd/arch/earm/bfd.h:1.4
--- src/external/gpl3/binutils/lib/libbfd/arch/earm/bfd.h:1.3	Fri Jan 29 15:41:25 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/earm/bfd.h	Mon Dec  5 17:59:17 2016
@@ -11,7 +11,7 @@
 
 /* Main header file for the bfd library -- portable access to object files.
 
-   Copyright (C) 1990-2015 Free Software Foundation, Inc.
+   Copyright (C) 1990-2016 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
 
@@ -522,7 +522,6 @@ extern void warn_deprecated (const char 
 #define bfd_get_file_flags(abfd) ((abfd)->flags)
 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
-#define bfd_my_archive(abfd) ((abfd)->my_archive)
 #define bfd_has_map(abfd) ((abfd)->has_armap)
 #define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
 
@@ -914,6 +913,9 @@ extern bfd_boolean bfd_elf32_arm_get_bfd
 extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
   (bfd *, struct bfd_link_info *);
 
+extern void bfd_elf32_arm_keep_private_stub_output_sections
+  (struct bfd_link_info *);
+
 /* ELF ARM mapping symbol support.  */
 #define BFD_ARM_SPECIAL_SYM_TYPE_MAP	(1 << 0)
 #define BFD_ARM_SPECIAL_SYM_TYPE_TAG	(1 << 1)
@@ -945,7 +947,8 @@ extern void elf32_arm_next_input_section
   (struct bfd_link_info *, struct bfd_section *);
 extern bfd_boolean elf32_arm_size_stubs
   (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
-   struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int),
+   struct bfd_section * (*) (const char *, struct bfd_section *,
+			     struct bfd_section *, unsigned int),
    void (*) (void));
 extern bfd_boolean elf32_arm_build_stubs
   (struct bfd_link_info *);
@@ -958,13 +961,6 @@ extern bfd_boolean elf32_arm_fix_exidx_c
 extern bfd_boolean elf32_tic6x_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
-/* PowerPC @tls opcode transform/validate.  */
-extern unsigned int _bfd_elf_ppc_at_tls_transform
-  (unsigned int, unsigned int);
-/* PowerPC @tprel opcode transform/validate.  */
-extern unsigned int _bfd_elf_ppc_at_tprel_transform
-  (unsigned int, unsigned int);
-
 extern void bfd_elf64_aarch64_init_maps
   (bfd *);
 
@@ -972,10 +968,10 @@ extern void bfd_elf32_aarch64_init_maps
   (bfd *);
 
 extern void bfd_elf64_aarch64_set_options
-  (bfd *, struct bfd_link_info *, int, int, int, int, int);
+  (bfd *, struct bfd_link_info *, int, int, int, int, int, int);
 
 extern void bfd_elf32_aarch64_set_options
-  (bfd *, struct bfd_link_info *, int, int, int, int, int);
+  (bfd *, struct bfd_link_info *, int, int, int, int, int, int);
 
 /* ELF AArch64 mapping symbol support.  */
 #define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP	(1 << 0)
@@ -1436,6 +1432,9 @@ typedef struct bfd_section
      when memory read flag isn't set. */
 #define SEC_COFF_NOREAD 0x40000000
 
+  /* Indicate that section has the no read flag set.  */
+#define SEC_ELF_NOREAD 0x80000000
+
   /*  End of section flags.  */
 
   /* Some internal packed boolean fields.  */
@@ -1502,7 +1501,7 @@ typedef struct bfd_section
       information.  */
   bfd_vma lma;
 
-  /* The size of the section in octets, as it will be output.
+  /* The size of the section in *octets*, as it will be output.
      Contains a value even if the section has no contents (e.g., the
      size of <<.bss>>).  */
   bfd_size_type size;
@@ -1953,13 +1952,29 @@ enum bfd_architecture
 #define bfd_mach_sparc_v9a             8 /* with ultrasparc add'ns.  */
 #define bfd_mach_sparc_v8plusb         9 /* with cheetah add'ns.  */
 #define bfd_mach_sparc_v9b             10 /* with cheetah add'ns.  */
+#define bfd_mach_sparc_v8plusc         11 /* with UA2005 and T1 add'ns.  */
+#define bfd_mach_sparc_v9c             12 /* with UA2005 and T1 add'ns.  */
+#define bfd_mach_sparc_v8plusd         13 /* with UA2007 and T3 add'ns.  */
+#define bfd_mach_sparc_v9d             14 /* with UA2007 and T3 add'ns.  */
+#define bfd_mach_sparc_v8pluse         15 /* with OSA2001 and T4 add'ns (no IMA).  */
+#define bfd_mach_sparc_v9e             16 /* with OSA2001 and T4 add'ns (no IMA).  */
+#define bfd_mach_sparc_v8plusv         17 /* with OSA2011 and T4 and IMA and FJMAU add'ns.  */
+#define bfd_mach_sparc_v9v             18 /* with OSA2011 and T4 and IMA and FJMAU add'ns.  */
+#define bfd_mach_sparc_v8plusm         19 /* with OSA2015 and M7 add'ns.  */
+#define bfd_mach_sparc_v9m             20 /* with OSA2015 and M7 add'ns.  */
 /* Nonzero if MACH has the v9 instruction set.  */
 #define bfd_mach_sparc_v9_p(mach) \
-  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \
+  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m \
    && (mach) != bfd_mach_sparc_sparclite_le)
 /* Nonzero if MACH is a 64 bit sparc architecture.  */
 #define bfd_mach_sparc_64bit_p(mach) \
-  ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
+  ((mach) >= bfd_mach_sparc_v9 \
+   && (mach) != bfd_mach_sparc_v8plusb \
+   && (mach) != bfd_mach_sparc_v8plusc \
+   && (mach) != bfd_mach_sparc_v8plusd \
+   && (mach) != bfd_mach_sparc_v8pluse \
+   && (mach) != bfd_mach_sparc_v8plusv \
+   && (mach) != bfd_mach_sparc_v8plusm)
   bfd_arch_spu,       /* PowerPC SPU */
 #define bfd_mach_spu           256
   bfd_arch_mips,      /* MIPS Rxxxx */
@@ -2990,6 +3005,9 @@ to compensate for the borrow when the lo
   BFD_RELOC_MICROMIPS_10_PCREL_S1,
   BFD_RELOC_MICROMIPS_16_PCREL_S1,
 
+/* MIPS16 PC-relative relocation.  */
+  BFD_RELOC_MIPS16_16_PCREL_S1,
+
 /* MIPS PC-relative relocations.  */
   BFD_RELOC_MIPS_21_PCREL_S2,
   BFD_RELOC_MIPS_26_PCREL_S2,
@@ -3523,6 +3541,12 @@ pc-relative or some form of GOT-indirect
 /* ARM support for STT_GNU_IFUNC.  */
   BFD_RELOC_ARM_IRELATIVE,
 
+/* Thumb1 relocations to support execute-only code.  */
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC,
+
 /* These relocs are only used within the ARM assembler.  They are not
 (at present) written to any object files.  */
   BFD_RELOC_ARM_IMMEDIATE,
@@ -3718,6 +3742,7 @@ pc-relative or some form of GOT-indirect
   BFD_RELOC_ARC_TLS_LE_32,
   BFD_RELOC_ARC_S25W_PCREL_PLT,
   BFD_RELOC_ARC_S21H_PCREL_PLT,
+  BFD_RELOC_ARC_NPS_CMEM16,
 
 /* ADI Blackfin 16 bit immediate absolute reloc.  */
   BFD_RELOC_BFIN_16_IMM,
@@ -5618,6 +5643,12 @@ BFD_RELOC_MACH_O_PAIR.  */
 /* Pair of relocation.  Contains the first symbol.  */
   BFD_RELOC_MACH_O_PAIR,
 
+/* Symbol will be substracted.  Must be followed by a BFD_RELOC_32.  */
+  BFD_RELOC_MACH_O_SUBTRACTOR32,
+
+/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
+  BFD_RELOC_MACH_O_SUBTRACTOR64,
+
 /* PCREL relocations.  They are marked as branch to create PLT entry if
 required.  */
   BFD_RELOC_MACH_O_X86_64_BRANCH32,
@@ -5630,12 +5661,6 @@ required.  */
 the linker could optimize the movq to a leaq if possible.  */
   BFD_RELOC_MACH_O_X86_64_GOT_LOAD,
 
-/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
-  BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
-
-/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
-  BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64,
-
 /* Same as BFD_RELOC_32_PCREL but with an implicit -1 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_1,
 
@@ -5645,6 +5670,18 @@ the linker could optimize the movq to a 
 /* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_4,
 
+/* Addend for PAGE or PAGEOFF.  */
+  BFD_RELOC_MACH_O_ARM64_ADDEND,
+
+/* Relative offset to page of GOT slot.  */
+  BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21,
+
+/* Relative offset within page of GOT slot.  */
+  BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12,
+
+/* Address of a GOT entry.  */
+  BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT,
+
 /* This is a 32 bit reloc for the microblaze that stores the
 low 16 bits of a value  */
   BFD_RELOC_MICROBLAZE_32_LO,
@@ -5735,6 +5772,9 @@ important as several tables in the AArch
 by these enumerators; make sure they are all synced.  */
   BFD_RELOC_AARCH64_RELOC_START,
 
+/* Deprecated AArch64 null relocation code.  */
+  BFD_RELOC_AARCH64_NULL,
+
 /* AArch64 null relocation code.  */
   BFD_RELOC_AARCH64_NONE,
 
@@ -6387,8 +6427,7 @@ typedef struct bfd_symbol
 #define BSF_EXPORT     BSF_GLOBAL /* No real difference.  */
 
   /* A normal C symbol would be one of:
-     <<BSF_LOCAL>>, <<BSF_COMMON>>,  <<BSF_UNDEFINED>> or
-     <<BSF_GLOBAL>>.  */
+     <<BSF_LOCAL>>, <<BSF_UNDEFINED>> or <<BSF_GLOBAL>>.  */
 
   /* The symbol is a debugging record. The value has an arbitrary
      meaning, unless BSF_DEBUGGING_RELOC is also set.  */
@@ -6400,7 +6439,9 @@ typedef struct bfd_symbol
 
   /* Used by the linker.  */
 #define BSF_KEEP               (1 << 5)
-#define BSF_KEEP_G             (1 << 6)
+
+  /* An ELF common symbol.  */
+#define BSF_ELF_COMMON         (1 << 6)
 
   /* A weak global symbol, overridable without warnings by
      a regular global symbol of the same name.  */
@@ -6547,7 +6588,7 @@ enum bfd_direction
 
 enum bfd_plugin_format
   {
-    bfd_plugin_uknown = 0,
+    bfd_plugin_unknown = 0,
     bfd_plugin_yes = 1,
     bfd_plugin_no = 2
   };
@@ -6592,7 +6633,7 @@ struct bfd
   ENUM_BITFIELD (bfd_direction) direction : 2;
 
   /* Format_specific flags.  */
-  flagword flags : 18;
+  flagword flags : 20;
 
   /* Values that may appear in the flags field of a BFD.  These also
      appear in the object_flags field of the bfd_target structure, where
@@ -6672,16 +6713,23 @@ struct bfd
   /* Compress sections in this BFD with SHF_COMPRESSED from gABI.  */
 #define BFD_COMPRESS_GABI 0x20000
 
+  /* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
+     BFD.  */
+#define BFD_CONVERT_ELF_COMMON 0x40000
+
+  /* Use the ELF STT_COMMON type in this BFD.  */
+#define BFD_USE_ELF_STT_COMMON 0x80000
+
   /* Flags bits to be saved in bfd_preserve_save.  */
 #define BFD_FLAGS_SAVED \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
-   | BFD_COMPRESS_GABI)
+   | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
 
   /* Flags bits which are for BFD use only.  */
 #define BFD_FLAGS_FOR_BFD_USE_MASK \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
    | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
-   | BFD_COMPRESS_GABI)
+   | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
 
   /* Is the file descriptor being cached?  That is, can it be closed as
      needed, and re-opened when accessed later?  */
@@ -7424,6 +7472,7 @@ typedef struct bfd_target
   NAME##_bfd_copy_link_hash_symbol_type, \
   NAME##_bfd_final_link, \
   NAME##_bfd_link_split_section, \
+  NAME##_bfd_link_check_relocs, \
   NAME##_bfd_gc_sections, \
   NAME##_bfd_lookup_section_flags, \
   NAME##_bfd_merge_sections, \
@@ -7465,6 +7514,9 @@ typedef struct bfd_target
   /* Should this section be split up into smaller pieces during linking.  */
   bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
 
+  /* Check the relocations in the bfd for validity.  */
+  bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
+
   /* Remove sections that are not referenced from the output.  */
   bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
 
@@ -7577,6 +7629,12 @@ struct bfd_elf_version_tree * bfd_find_v
 bfd_boolean bfd_hide_sym_by_version
    (struct bfd_elf_version_tree *verdefs, const char *sym_name);
 
+bfd_boolean bfd_link_check_relocs
+   (bfd *abfd, struct bfd_link_info *info);
+
+bfd_boolean _bfd_generic_link_check_relocs
+   (bfd *abfd, struct bfd_link_info *info);
+
 /* Extracted from simple.c.  */
 bfd_byte *bfd_simple_get_relocated_section_contents
    (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);

Index: src/external/gpl3/binutils/lib/libbfd/arch/earm/bfdver.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/earm/bfdver.h:1.4 src/external/gpl3/binutils/lib/libbfd/arch/earm/bfdver.h:1.5
--- src/external/gpl3/binutils/lib/libbfd/arch/earm/bfdver.h:1.4	Mon Aug  1 07:22:35 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/earm/bfdver.h	Mon Dec  5 17:59:17 2016
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-#define BFD_VERSION_DATE 20160629
-#define BFD_VERSION 226010000
-#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.26.1"
+#define BFD_VERSION_DATE 20160803
+#define BFD_VERSION 227000000
+#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.27"
 #define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"

Index: src/external/gpl3/binutils/lib/libbfd/arch/earm/config.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/earm/config.h:1.5 src/external/gpl3/binutils/lib/libbfd/arch/earm/config.h:1.6
--- src/external/gpl3/binutils/lib/libbfd/arch/earm/config.h:1.5	Mon Aug  1 07:22:35 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/earm/config.h	Mon Dec  5 17:59:17 2016
@@ -298,7 +298,7 @@
 #define PACKAGE_NAME "bfd"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "bfd 2.26.1"
+#define PACKAGE_STRING "bfd 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "bfd"
@@ -307,7 +307,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `char', as computed by sizeof. */
 /* #undef SIZEOF_CHAR */
@@ -342,6 +342,9 @@
 /* Name of host specific header file to include in trad-core.c. */
 /* #undef TRAD_HEADER */
 
+/* Define if we should use 64-bit archives. */
+/* #undef USE_64_BIT_ARCHIVE */
+
 /* Use b modifier when opening binary files? */
 /* #undef USE_BINARY_FOPEN */
 
@@ -354,9 +357,6 @@
 /* Define if we should default to creating read-only plt entries */
 /* #undef USE_SECUREPLT */
 
-/* Define if we may generate symbols with ELF's STT_COMMON type */
-/* #undef USE_STT_COMMON */
-
 /* Enable extensions on AIX 3, Interix.  */
 #ifndef _ALL_SOURCE
 # define _ALL_SOURCE 1
@@ -380,7 +380,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */

Index: src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h:1.3 src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h:1.4
--- src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h:1.3	Fri Jan 29 20:44:22 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h	Mon Dec  5 17:59:17 2016
@@ -11,7 +11,7 @@
 
 /* Main header file for the bfd library -- portable access to object files.
 
-   Copyright (C) 1990-2015 Free Software Foundation, Inc.
+   Copyright (C) 1990-2016 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
 
@@ -522,7 +522,6 @@ extern void warn_deprecated (const char 
 #define bfd_get_file_flags(abfd) ((abfd)->flags)
 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
-#define bfd_my_archive(abfd) ((abfd)->my_archive)
 #define bfd_has_map(abfd) ((abfd)->has_armap)
 #define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
 
@@ -914,6 +913,9 @@ extern bfd_boolean bfd_elf32_arm_get_bfd
 extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
   (bfd *, struct bfd_link_info *);
 
+extern void bfd_elf32_arm_keep_private_stub_output_sections
+  (struct bfd_link_info *);
+
 /* ELF ARM mapping symbol support.  */
 #define BFD_ARM_SPECIAL_SYM_TYPE_MAP	(1 << 0)
 #define BFD_ARM_SPECIAL_SYM_TYPE_TAG	(1 << 1)
@@ -945,7 +947,8 @@ extern void elf32_arm_next_input_section
   (struct bfd_link_info *, struct bfd_section *);
 extern bfd_boolean elf32_arm_size_stubs
   (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
-   struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int),
+   struct bfd_section * (*) (const char *, struct bfd_section *,
+			     struct bfd_section *, unsigned int),
    void (*) (void));
 extern bfd_boolean elf32_arm_build_stubs
   (struct bfd_link_info *);
@@ -958,13 +961,6 @@ extern bfd_boolean elf32_arm_fix_exidx_c
 extern bfd_boolean elf32_tic6x_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
-/* PowerPC @tls opcode transform/validate.  */
-extern unsigned int _bfd_elf_ppc_at_tls_transform
-  (unsigned int, unsigned int);
-/* PowerPC @tprel opcode transform/validate.  */
-extern unsigned int _bfd_elf_ppc_at_tprel_transform
-  (unsigned int, unsigned int);
-
 extern void bfd_elf64_aarch64_init_maps
   (bfd *);
 
@@ -972,10 +968,10 @@ extern void bfd_elf32_aarch64_init_maps
   (bfd *);
 
 extern void bfd_elf64_aarch64_set_options
-  (bfd *, struct bfd_link_info *, int, int, int, int, int);
+  (bfd *, struct bfd_link_info *, int, int, int, int, int, int);
 
 extern void bfd_elf32_aarch64_set_options
-  (bfd *, struct bfd_link_info *, int, int, int, int, int);
+  (bfd *, struct bfd_link_info *, int, int, int, int, int, int);
 
 /* ELF AArch64 mapping symbol support.  */
 #define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP	(1 << 0)
@@ -1436,6 +1432,9 @@ typedef struct bfd_section
      when memory read flag isn't set. */
 #define SEC_COFF_NOREAD 0x40000000
 
+  /* Indicate that section has the no read flag set.  */
+#define SEC_ELF_NOREAD 0x80000000
+
   /*  End of section flags.  */
 
   /* Some internal packed boolean fields.  */
@@ -1502,7 +1501,7 @@ typedef struct bfd_section
       information.  */
   bfd_vma lma;
 
-  /* The size of the section in octets, as it will be output.
+  /* The size of the section in *octets*, as it will be output.
      Contains a value even if the section has no contents (e.g., the
      size of <<.bss>>).  */
   bfd_size_type size;
@@ -1953,13 +1952,29 @@ enum bfd_architecture
 #define bfd_mach_sparc_v9a             8 /* with ultrasparc add'ns.  */
 #define bfd_mach_sparc_v8plusb         9 /* with cheetah add'ns.  */
 #define bfd_mach_sparc_v9b             10 /* with cheetah add'ns.  */
+#define bfd_mach_sparc_v8plusc         11 /* with UA2005 and T1 add'ns.  */
+#define bfd_mach_sparc_v9c             12 /* with UA2005 and T1 add'ns.  */
+#define bfd_mach_sparc_v8plusd         13 /* with UA2007 and T3 add'ns.  */
+#define bfd_mach_sparc_v9d             14 /* with UA2007 and T3 add'ns.  */
+#define bfd_mach_sparc_v8pluse         15 /* with OSA2001 and T4 add'ns (no IMA).  */
+#define bfd_mach_sparc_v9e             16 /* with OSA2001 and T4 add'ns (no IMA).  */
+#define bfd_mach_sparc_v8plusv         17 /* with OSA2011 and T4 and IMA and FJMAU add'ns.  */
+#define bfd_mach_sparc_v9v             18 /* with OSA2011 and T4 and IMA and FJMAU add'ns.  */
+#define bfd_mach_sparc_v8plusm         19 /* with OSA2015 and M7 add'ns.  */
+#define bfd_mach_sparc_v9m             20 /* with OSA2015 and M7 add'ns.  */
 /* Nonzero if MACH has the v9 instruction set.  */
 #define bfd_mach_sparc_v9_p(mach) \
-  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \
+  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m \
    && (mach) != bfd_mach_sparc_sparclite_le)
 /* Nonzero if MACH is a 64 bit sparc architecture.  */
 #define bfd_mach_sparc_64bit_p(mach) \
-  ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
+  ((mach) >= bfd_mach_sparc_v9 \
+   && (mach) != bfd_mach_sparc_v8plusb \
+   && (mach) != bfd_mach_sparc_v8plusc \
+   && (mach) != bfd_mach_sparc_v8plusd \
+   && (mach) != bfd_mach_sparc_v8pluse \
+   && (mach) != bfd_mach_sparc_v8plusv \
+   && (mach) != bfd_mach_sparc_v8plusm)
   bfd_arch_spu,       /* PowerPC SPU */
 #define bfd_mach_spu           256
   bfd_arch_mips,      /* MIPS Rxxxx */
@@ -2990,6 +3005,9 @@ to compensate for the borrow when the lo
   BFD_RELOC_MICROMIPS_10_PCREL_S1,
   BFD_RELOC_MICROMIPS_16_PCREL_S1,
 
+/* MIPS16 PC-relative relocation.  */
+  BFD_RELOC_MIPS16_16_PCREL_S1,
+
 /* MIPS PC-relative relocations.  */
   BFD_RELOC_MIPS_21_PCREL_S2,
   BFD_RELOC_MIPS_26_PCREL_S2,
@@ -3523,6 +3541,12 @@ pc-relative or some form of GOT-indirect
 /* ARM support for STT_GNU_IFUNC.  */
   BFD_RELOC_ARM_IRELATIVE,
 
+/* Thumb1 relocations to support execute-only code.  */
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC,
+
 /* These relocs are only used within the ARM assembler.  They are not
 (at present) written to any object files.  */
   BFD_RELOC_ARM_IMMEDIATE,
@@ -3718,6 +3742,7 @@ pc-relative or some form of GOT-indirect
   BFD_RELOC_ARC_TLS_LE_32,
   BFD_RELOC_ARC_S25W_PCREL_PLT,
   BFD_RELOC_ARC_S21H_PCREL_PLT,
+  BFD_RELOC_ARC_NPS_CMEM16,
 
 /* ADI Blackfin 16 bit immediate absolute reloc.  */
   BFD_RELOC_BFIN_16_IMM,
@@ -5618,6 +5643,12 @@ BFD_RELOC_MACH_O_PAIR.  */
 /* Pair of relocation.  Contains the first symbol.  */
   BFD_RELOC_MACH_O_PAIR,
 
+/* Symbol will be substracted.  Must be followed by a BFD_RELOC_32.  */
+  BFD_RELOC_MACH_O_SUBTRACTOR32,
+
+/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
+  BFD_RELOC_MACH_O_SUBTRACTOR64,
+
 /* PCREL relocations.  They are marked as branch to create PLT entry if
 required.  */
   BFD_RELOC_MACH_O_X86_64_BRANCH32,
@@ -5630,12 +5661,6 @@ required.  */
 the linker could optimize the movq to a leaq if possible.  */
   BFD_RELOC_MACH_O_X86_64_GOT_LOAD,
 
-/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
-  BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
-
-/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
-  BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64,
-
 /* Same as BFD_RELOC_32_PCREL but with an implicit -1 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_1,
 
@@ -5645,6 +5670,18 @@ the linker could optimize the movq to a 
 /* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_4,
 
+/* Addend for PAGE or PAGEOFF.  */
+  BFD_RELOC_MACH_O_ARM64_ADDEND,
+
+/* Relative offset to page of GOT slot.  */
+  BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21,
+
+/* Relative offset within page of GOT slot.  */
+  BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12,
+
+/* Address of a GOT entry.  */
+  BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT,
+
 /* This is a 32 bit reloc for the microblaze that stores the
 low 16 bits of a value  */
   BFD_RELOC_MICROBLAZE_32_LO,
@@ -5735,6 +5772,9 @@ important as several tables in the AArch
 by these enumerators; make sure they are all synced.  */
   BFD_RELOC_AARCH64_RELOC_START,
 
+/* Deprecated AArch64 null relocation code.  */
+  BFD_RELOC_AARCH64_NULL,
+
 /* AArch64 null relocation code.  */
   BFD_RELOC_AARCH64_NONE,
 
@@ -6387,8 +6427,7 @@ typedef struct bfd_symbol
 #define BSF_EXPORT     BSF_GLOBAL /* No real difference.  */
 
   /* A normal C symbol would be one of:
-     <<BSF_LOCAL>>, <<BSF_COMMON>>,  <<BSF_UNDEFINED>> or
-     <<BSF_GLOBAL>>.  */
+     <<BSF_LOCAL>>, <<BSF_UNDEFINED>> or <<BSF_GLOBAL>>.  */
 
   /* The symbol is a debugging record. The value has an arbitrary
      meaning, unless BSF_DEBUGGING_RELOC is also set.  */
@@ -6400,7 +6439,9 @@ typedef struct bfd_symbol
 
   /* Used by the linker.  */
 #define BSF_KEEP               (1 << 5)
-#define BSF_KEEP_G             (1 << 6)
+
+  /* An ELF common symbol.  */
+#define BSF_ELF_COMMON         (1 << 6)
 
   /* A weak global symbol, overridable without warnings by
      a regular global symbol of the same name.  */
@@ -6547,7 +6588,7 @@ enum bfd_direction
 
 enum bfd_plugin_format
   {
-    bfd_plugin_uknown = 0,
+    bfd_plugin_unknown = 0,
     bfd_plugin_yes = 1,
     bfd_plugin_no = 2
   };
@@ -6592,7 +6633,7 @@ struct bfd
   ENUM_BITFIELD (bfd_direction) direction : 2;
 
   /* Format_specific flags.  */
-  flagword flags : 18;
+  flagword flags : 20;
 
   /* Values that may appear in the flags field of a BFD.  These also
      appear in the object_flags field of the bfd_target structure, where
@@ -6672,16 +6713,23 @@ struct bfd
   /* Compress sections in this BFD with SHF_COMPRESSED from gABI.  */
 #define BFD_COMPRESS_GABI 0x20000
 
+  /* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
+     BFD.  */
+#define BFD_CONVERT_ELF_COMMON 0x40000
+
+  /* Use the ELF STT_COMMON type in this BFD.  */
+#define BFD_USE_ELF_STT_COMMON 0x80000
+
   /* Flags bits to be saved in bfd_preserve_save.  */
 #define BFD_FLAGS_SAVED \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
-   | BFD_COMPRESS_GABI)
+   | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
 
   /* Flags bits which are for BFD use only.  */
 #define BFD_FLAGS_FOR_BFD_USE_MASK \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
    | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
-   | BFD_COMPRESS_GABI)
+   | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
 
   /* Is the file descriptor being cached?  That is, can it be closed as
      needed, and re-opened when accessed later?  */
@@ -7424,6 +7472,7 @@ typedef struct bfd_target
   NAME##_bfd_copy_link_hash_symbol_type, \
   NAME##_bfd_final_link, \
   NAME##_bfd_link_split_section, \
+  NAME##_bfd_link_check_relocs, \
   NAME##_bfd_gc_sections, \
   NAME##_bfd_lookup_section_flags, \
   NAME##_bfd_merge_sections, \
@@ -7465,6 +7514,9 @@ typedef struct bfd_target
   /* Should this section be split up into smaller pieces during linking.  */
   bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
 
+  /* Check the relocations in the bfd for validity.  */
+  bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
+
   /* Remove sections that are not referenced from the output.  */
   bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
 
@@ -7577,6 +7629,12 @@ struct bfd_elf_version_tree * bfd_find_v
 bfd_boolean bfd_hide_sym_by_version
    (struct bfd_elf_version_tree *verdefs, const char *sym_name);
 
+bfd_boolean bfd_link_check_relocs
+   (bfd *abfd, struct bfd_link_info *info);
+
+bfd_boolean _bfd_generic_link_check_relocs
+   (bfd *abfd, struct bfd_link_info *info);
+
 /* Extracted from simple.c.  */
 bfd_byte *bfd_simple_get_relocated_section_contents
    (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);

Index: src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h:1.4 src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h:1.5
--- src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h:1.4	Tue Aug  2 04:05:05 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h	Mon Dec  5 17:59:17 2016
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-#define BFD_VERSION_DATE 20160629
-#define BFD_VERSION 226010000
-#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.26.1"
+#define BFD_VERSION_DATE 20160803
+#define BFD_VERSION 227000000
+#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.27"
 #define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"

Index: src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h:1.5 src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h:1.6
--- src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h:1.5	Tue Aug  2 04:05:05 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h	Mon Dec  5 17:59:17 2016
@@ -298,7 +298,7 @@
 #define PACKAGE_NAME "bfd"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "bfd 2.26.1"
+#define PACKAGE_STRING "bfd 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "bfd"
@@ -307,7 +307,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `char', as computed by sizeof. */
 /* #undef SIZEOF_CHAR */
@@ -342,6 +342,9 @@
 /* Name of host specific header file to include in trad-core.c. */
 /* #undef TRAD_HEADER */
 
+/* Define if we should use 64-bit archives. */
+/* #undef USE_64_BIT_ARCHIVE */
+
 /* Use b modifier when opening binary files? */
 /* #undef USE_BINARY_FOPEN */
 
@@ -354,9 +357,6 @@
 /* Define if we should default to creating read-only plt entries */
 /* #undef USE_SECUREPLT */
 
-/* Define if we may generate symbols with ELF's STT_COMMON type */
-/* #undef USE_STT_COMMON */
-
 /* Enable extensions on AIX 3, Interix.  */
 #ifndef _ALL_SOURCE
 # define _ALL_SOURCE 1
@@ -380,7 +380,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */

Index: src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfd.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfd.h:1.6 src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfd.h:1.7
--- src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfd.h:1.6	Fri Jan 29 12:30:22 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfd.h	Mon Dec  5 17:59:17 2016
@@ -11,7 +11,7 @@
 
 /* Main header file for the bfd library -- portable access to object files.
 
-   Copyright (C) 1990-2015 Free Software Foundation, Inc.
+   Copyright (C) 1990-2016 Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
 
@@ -522,7 +522,6 @@ extern void warn_deprecated (const char 
 #define bfd_get_file_flags(abfd) ((abfd)->flags)
 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
-#define bfd_my_archive(abfd) ((abfd)->my_archive)
 #define bfd_has_map(abfd) ((abfd)->has_armap)
 #define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
 
@@ -914,6 +913,9 @@ extern bfd_boolean bfd_elf32_arm_get_bfd
 extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
   (bfd *, struct bfd_link_info *);
 
+extern void bfd_elf32_arm_keep_private_stub_output_sections
+  (struct bfd_link_info *);
+
 /* ELF ARM mapping symbol support.  */
 #define BFD_ARM_SPECIAL_SYM_TYPE_MAP	(1 << 0)
 #define BFD_ARM_SPECIAL_SYM_TYPE_TAG	(1 << 1)
@@ -945,7 +947,8 @@ extern void elf32_arm_next_input_section
   (struct bfd_link_info *, struct bfd_section *);
 extern bfd_boolean elf32_arm_size_stubs
   (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
-   struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int),
+   struct bfd_section * (*) (const char *, struct bfd_section *,
+			     struct bfd_section *, unsigned int),
    void (*) (void));
 extern bfd_boolean elf32_arm_build_stubs
   (struct bfd_link_info *);
@@ -958,13 +961,6 @@ extern bfd_boolean elf32_arm_fix_exidx_c
 extern bfd_boolean elf32_tic6x_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
-/* PowerPC @tls opcode transform/validate.  */
-extern unsigned int _bfd_elf_ppc_at_tls_transform
-  (unsigned int, unsigned int);
-/* PowerPC @tprel opcode transform/validate.  */
-extern unsigned int _bfd_elf_ppc_at_tprel_transform
-  (unsigned int, unsigned int);
-
 extern void bfd_elf64_aarch64_init_maps
   (bfd *);
 
@@ -972,10 +968,10 @@ extern void bfd_elf32_aarch64_init_maps
   (bfd *);
 
 extern void bfd_elf64_aarch64_set_options
-  (bfd *, struct bfd_link_info *, int, int, int, int, int);
+  (bfd *, struct bfd_link_info *, int, int, int, int, int, int);
 
 extern void bfd_elf32_aarch64_set_options
-  (bfd *, struct bfd_link_info *, int, int, int, int, int);
+  (bfd *, struct bfd_link_info *, int, int, int, int, int, int);
 
 /* ELF AArch64 mapping symbol support.  */
 #define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP	(1 << 0)
@@ -1436,6 +1432,9 @@ typedef struct bfd_section
      when memory read flag isn't set. */
 #define SEC_COFF_NOREAD 0x40000000
 
+  /* Indicate that section has the no read flag set.  */
+#define SEC_ELF_NOREAD 0x80000000
+
   /*  End of section flags.  */
 
   /* Some internal packed boolean fields.  */
@@ -1502,7 +1501,7 @@ typedef struct bfd_section
       information.  */
   bfd_vma lma;
 
-  /* The size of the section in octets, as it will be output.
+  /* The size of the section in *octets*, as it will be output.
      Contains a value even if the section has no contents (e.g., the
      size of <<.bss>>).  */
   bfd_size_type size;
@@ -1953,13 +1952,29 @@ enum bfd_architecture
 #define bfd_mach_sparc_v9a             8 /* with ultrasparc add'ns.  */
 #define bfd_mach_sparc_v8plusb         9 /* with cheetah add'ns.  */
 #define bfd_mach_sparc_v9b             10 /* with cheetah add'ns.  */
+#define bfd_mach_sparc_v8plusc         11 /* with UA2005 and T1 add'ns.  */
+#define bfd_mach_sparc_v9c             12 /* with UA2005 and T1 add'ns.  */
+#define bfd_mach_sparc_v8plusd         13 /* with UA2007 and T3 add'ns.  */
+#define bfd_mach_sparc_v9d             14 /* with UA2007 and T3 add'ns.  */
+#define bfd_mach_sparc_v8pluse         15 /* with OSA2001 and T4 add'ns (no IMA).  */
+#define bfd_mach_sparc_v9e             16 /* with OSA2001 and T4 add'ns (no IMA).  */
+#define bfd_mach_sparc_v8plusv         17 /* with OSA2011 and T4 and IMA and FJMAU add'ns.  */
+#define bfd_mach_sparc_v9v             18 /* with OSA2011 and T4 and IMA and FJMAU add'ns.  */
+#define bfd_mach_sparc_v8plusm         19 /* with OSA2015 and M7 add'ns.  */
+#define bfd_mach_sparc_v9m             20 /* with OSA2015 and M7 add'ns.  */
 /* Nonzero if MACH has the v9 instruction set.  */
 #define bfd_mach_sparc_v9_p(mach) \
-  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \
+  ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m \
    && (mach) != bfd_mach_sparc_sparclite_le)
 /* Nonzero if MACH is a 64 bit sparc architecture.  */
 #define bfd_mach_sparc_64bit_p(mach) \
-  ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
+  ((mach) >= bfd_mach_sparc_v9 \
+   && (mach) != bfd_mach_sparc_v8plusb \
+   && (mach) != bfd_mach_sparc_v8plusc \
+   && (mach) != bfd_mach_sparc_v8plusd \
+   && (mach) != bfd_mach_sparc_v8pluse \
+   && (mach) != bfd_mach_sparc_v8plusv \
+   && (mach) != bfd_mach_sparc_v8plusm)
   bfd_arch_spu,       /* PowerPC SPU */
 #define bfd_mach_spu           256
   bfd_arch_mips,      /* MIPS Rxxxx */
@@ -2990,6 +3005,9 @@ to compensate for the borrow when the lo
   BFD_RELOC_MICROMIPS_10_PCREL_S1,
   BFD_RELOC_MICROMIPS_16_PCREL_S1,
 
+/* MIPS16 PC-relative relocation.  */
+  BFD_RELOC_MIPS16_16_PCREL_S1,
+
 /* MIPS PC-relative relocations.  */
   BFD_RELOC_MIPS_21_PCREL_S2,
   BFD_RELOC_MIPS_26_PCREL_S2,
@@ -3523,6 +3541,12 @@ pc-relative or some form of GOT-indirect
 /* ARM support for STT_GNU_IFUNC.  */
   BFD_RELOC_ARM_IRELATIVE,
 
+/* Thumb1 relocations to support execute-only code.  */
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC,
+  BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC,
+
 /* These relocs are only used within the ARM assembler.  They are not
 (at present) written to any object files.  */
   BFD_RELOC_ARM_IMMEDIATE,
@@ -3718,6 +3742,7 @@ pc-relative or some form of GOT-indirect
   BFD_RELOC_ARC_TLS_LE_32,
   BFD_RELOC_ARC_S25W_PCREL_PLT,
   BFD_RELOC_ARC_S21H_PCREL_PLT,
+  BFD_RELOC_ARC_NPS_CMEM16,
 
 /* ADI Blackfin 16 bit immediate absolute reloc.  */
   BFD_RELOC_BFIN_16_IMM,
@@ -5618,6 +5643,12 @@ BFD_RELOC_MACH_O_PAIR.  */
 /* Pair of relocation.  Contains the first symbol.  */
   BFD_RELOC_MACH_O_PAIR,
 
+/* Symbol will be substracted.  Must be followed by a BFD_RELOC_32.  */
+  BFD_RELOC_MACH_O_SUBTRACTOR32,
+
+/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
+  BFD_RELOC_MACH_O_SUBTRACTOR64,
+
 /* PCREL relocations.  They are marked as branch to create PLT entry if
 required.  */
   BFD_RELOC_MACH_O_X86_64_BRANCH32,
@@ -5630,12 +5661,6 @@ required.  */
 the linker could optimize the movq to a leaq if possible.  */
   BFD_RELOC_MACH_O_X86_64_GOT_LOAD,
 
-/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
-  BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
-
-/* Symbol will be substracted.  Must be followed by a BFD_RELOC_64.  */
-  BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64,
-
 /* Same as BFD_RELOC_32_PCREL but with an implicit -1 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_1,
 
@@ -5645,6 +5670,18 @@ the linker could optimize the movq to a 
 /* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_4,
 
+/* Addend for PAGE or PAGEOFF.  */
+  BFD_RELOC_MACH_O_ARM64_ADDEND,
+
+/* Relative offset to page of GOT slot.  */
+  BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21,
+
+/* Relative offset within page of GOT slot.  */
+  BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12,
+
+/* Address of a GOT entry.  */
+  BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT,
+
 /* This is a 32 bit reloc for the microblaze that stores the
 low 16 bits of a value  */
   BFD_RELOC_MICROBLAZE_32_LO,
@@ -5735,6 +5772,9 @@ important as several tables in the AArch
 by these enumerators; make sure they are all synced.  */
   BFD_RELOC_AARCH64_RELOC_START,
 
+/* Deprecated AArch64 null relocation code.  */
+  BFD_RELOC_AARCH64_NULL,
+
 /* AArch64 null relocation code.  */
   BFD_RELOC_AARCH64_NONE,
 
@@ -6387,8 +6427,7 @@ typedef struct bfd_symbol
 #define BSF_EXPORT     BSF_GLOBAL /* No real difference.  */
 
   /* A normal C symbol would be one of:
-     <<BSF_LOCAL>>, <<BSF_COMMON>>,  <<BSF_UNDEFINED>> or
-     <<BSF_GLOBAL>>.  */
+     <<BSF_LOCAL>>, <<BSF_UNDEFINED>> or <<BSF_GLOBAL>>.  */
 
   /* The symbol is a debugging record. The value has an arbitrary
      meaning, unless BSF_DEBUGGING_RELOC is also set.  */
@@ -6400,7 +6439,9 @@ typedef struct bfd_symbol
 
   /* Used by the linker.  */
 #define BSF_KEEP               (1 << 5)
-#define BSF_KEEP_G             (1 << 6)
+
+  /* An ELF common symbol.  */
+#define BSF_ELF_COMMON         (1 << 6)
 
   /* A weak global symbol, overridable without warnings by
      a regular global symbol of the same name.  */
@@ -6547,7 +6588,7 @@ enum bfd_direction
 
 enum bfd_plugin_format
   {
-    bfd_plugin_uknown = 0,
+    bfd_plugin_unknown = 0,
     bfd_plugin_yes = 1,
     bfd_plugin_no = 2
   };
@@ -6592,7 +6633,7 @@ struct bfd
   ENUM_BITFIELD (bfd_direction) direction : 2;
 
   /* Format_specific flags.  */
-  flagword flags : 18;
+  flagword flags : 20;
 
   /* Values that may appear in the flags field of a BFD.  These also
      appear in the object_flags field of the bfd_target structure, where
@@ -6672,16 +6713,23 @@ struct bfd
   /* Compress sections in this BFD with SHF_COMPRESSED from gABI.  */
 #define BFD_COMPRESS_GABI 0x20000
 
+  /* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
+     BFD.  */
+#define BFD_CONVERT_ELF_COMMON 0x40000
+
+  /* Use the ELF STT_COMMON type in this BFD.  */
+#define BFD_USE_ELF_STT_COMMON 0x80000
+
   /* Flags bits to be saved in bfd_preserve_save.  */
 #define BFD_FLAGS_SAVED \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
-   | BFD_COMPRESS_GABI)
+   | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
 
   /* Flags bits which are for BFD use only.  */
 #define BFD_FLAGS_FOR_BFD_USE_MASK \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
    | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
-   | BFD_COMPRESS_GABI)
+   | BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
 
   /* Is the file descriptor being cached?  That is, can it be closed as
      needed, and re-opened when accessed later?  */
@@ -7424,6 +7472,7 @@ typedef struct bfd_target
   NAME##_bfd_copy_link_hash_symbol_type, \
   NAME##_bfd_final_link, \
   NAME##_bfd_link_split_section, \
+  NAME##_bfd_link_check_relocs, \
   NAME##_bfd_gc_sections, \
   NAME##_bfd_lookup_section_flags, \
   NAME##_bfd_merge_sections, \
@@ -7465,6 +7514,9 @@ typedef struct bfd_target
   /* Should this section be split up into smaller pieces during linking.  */
   bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
 
+  /* Check the relocations in the bfd for validity.  */
+  bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
+
   /* Remove sections that are not referenced from the output.  */
   bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
 
@@ -7577,6 +7629,12 @@ struct bfd_elf_version_tree * bfd_find_v
 bfd_boolean bfd_hide_sym_by_version
    (struct bfd_elf_version_tree *verdefs, const char *sym_name);
 
+bfd_boolean bfd_link_check_relocs
+   (bfd *abfd, struct bfd_link_info *info);
+
+bfd_boolean _bfd_generic_link_check_relocs
+   (bfd *abfd, struct bfd_link_info *info);
+
 /* Extracted from simple.c.  */
 bfd_byte *bfd_simple_get_relocated_section_contents
    (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);

Index: src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfdver.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfdver.h:1.9 src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfdver.h:1.10
--- src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfdver.h:1.9	Thu Jul 28 10:17:58 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/m68000/bfdver.h	Mon Dec  5 17:59:17 2016
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-#define BFD_VERSION_DATE 20160629
-#define BFD_VERSION 226010000
-#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.26.1"
+#define BFD_VERSION_DATE 20160803
+#define BFD_VERSION 227000000
+#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.27"
 #define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"

Index: src/external/gpl3/binutils/lib/libbfd/arch/m68000/config.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/m68000/config.h:1.5 src/external/gpl3/binutils/lib/libbfd/arch/m68000/config.h:1.6
--- src/external/gpl3/binutils/lib/libbfd/arch/m68000/config.h:1.5	Thu Jul 28 10:17:58 2016
+++ src/external/gpl3/binutils/lib/libbfd/arch/m68000/config.h	Mon Dec  5 17:59:17 2016
@@ -298,7 +298,7 @@
 #define PACKAGE_NAME "bfd"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "bfd 2.26.1"
+#define PACKAGE_STRING "bfd 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "bfd"
@@ -307,7 +307,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `char', as computed by sizeof. */
 /* #undef SIZEOF_CHAR */
@@ -342,6 +342,9 @@
 /* Name of host specific header file to include in trad-core.c. */
 /* #undef TRAD_HEADER */
 
+/* Define if we should use 64-bit archives. */
+/* #undef USE_64_BIT_ARCHIVE */
+
 /* Use b modifier when opening binary files? */
 /* #undef USE_BINARY_FOPEN */
 
@@ -354,9 +357,6 @@
 /* Define if we should default to creating read-only plt entries */
 /* #undef USE_SECUREPLT */
 
-/* Define if we may generate symbols with ELF's STT_COMMON type */
-/* #undef USE_STT_COMMON */
-
 /* Enable extensions on AIX 3, Interix.  */
 #ifndef _ALL_SOURCE
 # define _ALL_SOURCE 1
@@ -380,7 +380,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */

Index: src/external/gpl3/binutils/lib/libopcodes/arch/earm/config.h
diff -u src/external/gpl3/binutils/lib/libopcodes/arch/earm/config.h:1.4 src/external/gpl3/binutils/lib/libopcodes/arch/earm/config.h:1.5
--- src/external/gpl3/binutils/lib/libopcodes/arch/earm/config.h:1.4	Mon Aug  1 07:22:35 2016
+++ src/external/gpl3/binutils/lib/libopcodes/arch/earm/config.h	Mon Dec  5 17:59:17 2016
@@ -74,7 +74,7 @@
 #define PACKAGE_NAME "opcodes"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "opcodes 2.26.1"
+#define PACKAGE_STRING "opcodes 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "opcodes"
@@ -83,7 +83,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -114,7 +114,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if on MINIX. */
 /* #undef _MINIX */

Index: src/external/gpl3/binutils/lib/libopcodes/arch/earmeb/config.h
diff -u src/external/gpl3/binutils/lib/libopcodes/arch/earmeb/config.h:1.4 src/external/gpl3/binutils/lib/libopcodes/arch/earmeb/config.h:1.5
--- src/external/gpl3/binutils/lib/libopcodes/arch/earmeb/config.h:1.4	Tue Aug  2 04:05:06 2016
+++ src/external/gpl3/binutils/lib/libopcodes/arch/earmeb/config.h	Mon Dec  5 17:59:17 2016
@@ -74,7 +74,7 @@
 #define PACKAGE_NAME "opcodes"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "opcodes 2.26.1"
+#define PACKAGE_STRING "opcodes 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "opcodes"
@@ -83,7 +83,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -114,7 +114,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if on MINIX. */
 /* #undef _MINIX */

Index: src/external/gpl3/binutils/lib/libopcodes/arch/m68000/config.h
diff -u src/external/gpl3/binutils/lib/libopcodes/arch/m68000/config.h:1.5 src/external/gpl3/binutils/lib/libopcodes/arch/m68000/config.h:1.6
--- src/external/gpl3/binutils/lib/libopcodes/arch/m68000/config.h:1.5	Thu Jul 28 10:18:00 2016
+++ src/external/gpl3/binutils/lib/libopcodes/arch/m68000/config.h	Mon Dec  5 17:59:17 2016
@@ -74,7 +74,7 @@
 #define PACKAGE_NAME "opcodes"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "opcodes 2.26.1"
+#define PACKAGE_STRING "opcodes 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "opcodes"
@@ -83,7 +83,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -114,7 +114,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if on MINIX. */
 /* #undef _MINIX */

Index: src/external/gpl3/binutils/usr.bin/common/arch/earm/config.h
diff -u src/external/gpl3/binutils/usr.bin/common/arch/earm/config.h:1.5 src/external/gpl3/binutils/usr.bin/common/arch/earm/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/common/arch/earm/config.h:1.5	Mon Aug  1 07:22:34 2016
+++ src/external/gpl3/binutils/usr.bin/common/arch/earm/config.h	Mon Dec  5 17:59:18 2016
@@ -202,7 +202,7 @@
 #define PACKAGE_NAME "binutils"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "binutils 2.26.1"
+#define PACKAGE_STRING "binutils 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "binutils"
@@ -211,7 +211,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `long', as computed by sizeof. */
 #define SIZEOF_LONG 4
@@ -265,7 +265,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */

Index: src/external/gpl3/binutils/usr.bin/common/arch/earm/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/common/arch/earm/defs.mk:1.4 src/external/gpl3/binutils/usr.bin/common/arch/earm/defs.mk:1.5
--- src/external/gpl3/binutils/usr.bin/common/arch/earm/defs.mk:1.4	Mon Aug  1 07:22:34 2016
+++ src/external/gpl3/binutils/usr.bin/common/arch/earm/defs.mk	Mon Dec  5 17:59:18 2016
@@ -2,7 +2,7 @@
 # Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
 # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
-G_VERSION=2.26.1
+G_VERSION=2.27
 G_DEFS=-DHAVE_CONFIG_H
 G_INCLUDES=
 G_PROGRAMS=size objdump ar  strings ranlib objcopy   addr2line readelf  elfedit nm-new strip-new cxxfilt bfdtest1 bfdtest2

Index: src/external/gpl3/binutils/usr.bin/common/arch/earmeb/config.h
diff -u src/external/gpl3/binutils/usr.bin/common/arch/earmeb/config.h:1.5 src/external/gpl3/binutils/usr.bin/common/arch/earmeb/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/common/arch/earmeb/config.h:1.5	Tue Aug  2 04:05:07 2016
+++ src/external/gpl3/binutils/usr.bin/common/arch/earmeb/config.h	Mon Dec  5 17:59:18 2016
@@ -202,7 +202,7 @@
 #define PACKAGE_NAME "binutils"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "binutils 2.26.1"
+#define PACKAGE_STRING "binutils 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "binutils"
@@ -211,7 +211,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `long', as computed by sizeof. */
 #define SIZEOF_LONG 4
@@ -265,7 +265,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */

Index: src/external/gpl3/binutils/usr.bin/common/arch/earmeb/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/common/arch/earmeb/defs.mk:1.4 src/external/gpl3/binutils/usr.bin/common/arch/earmeb/defs.mk:1.5
--- src/external/gpl3/binutils/usr.bin/common/arch/earmeb/defs.mk:1.4	Tue Aug  2 04:05:07 2016
+++ src/external/gpl3/binutils/usr.bin/common/arch/earmeb/defs.mk	Mon Dec  5 17:59:18 2016
@@ -2,7 +2,7 @@
 # Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
 # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
-G_VERSION=2.26.1
+G_VERSION=2.27
 G_DEFS=-DHAVE_CONFIG_H
 G_INCLUDES=
 G_PROGRAMS=size objdump ar  strings ranlib objcopy   addr2line readelf  elfedit nm-new strip-new cxxfilt bfdtest1 bfdtest2

Index: src/external/gpl3/binutils/usr.bin/common/arch/m68000/config.h
diff -u src/external/gpl3/binutils/usr.bin/common/arch/m68000/config.h:1.5 src/external/gpl3/binutils/usr.bin/common/arch/m68000/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/common/arch/m68000/config.h:1.5	Thu Jul 28 10:18:02 2016
+++ src/external/gpl3/binutils/usr.bin/common/arch/m68000/config.h	Mon Dec  5 17:59:18 2016
@@ -202,7 +202,7 @@
 #define PACKAGE_NAME "binutils"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "binutils 2.26.1"
+#define PACKAGE_STRING "binutils 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "binutils"
@@ -211,7 +211,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `long', as computed by sizeof. */
 #define SIZEOF_LONG 4
@@ -265,7 +265,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */

Index: src/external/gpl3/binutils/usr.bin/common/arch/m68000/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/common/arch/m68000/defs.mk:1.7 src/external/gpl3/binutils/usr.bin/common/arch/m68000/defs.mk:1.8
--- src/external/gpl3/binutils/usr.bin/common/arch/m68000/defs.mk:1.7	Thu Jul 28 10:18:02 2016
+++ src/external/gpl3/binutils/usr.bin/common/arch/m68000/defs.mk	Mon Dec  5 17:59:18 2016
@@ -2,7 +2,7 @@
 # Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
 # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp 
 #
-G_VERSION=2.26.1
+G_VERSION=2.27
 G_DEFS=-DHAVE_CONFIG_H
 G_INCLUDES=
 G_PROGRAMS=size objdump ar  strings ranlib objcopy   addr2line readelf  elfedit nm-new strip-new cxxfilt bfdtest1 bfdtest2

Index: src/external/gpl3/binutils/usr.bin/gas/arch/earm/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/earm/config.h:1.6 src/external/gpl3/binutils/usr.bin/gas/arch/earm/config.h:1.7
--- src/external/gpl3/binutils/usr.bin/gas/arch/earm/config.h:1.6	Mon Aug  1 07:22:34 2016
+++ src/external/gpl3/binutils/usr.bin/gas/arch/earm/config.h	Mon Dec  5 17:59:18 2016
@@ -44,6 +44,10 @@
 /* Define if you want compressed debug sections by default. */
 /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
 
+/* Define to 1 if you want to generate ELF common symbols with the STT_COMMON
+   type by default. */
+#define DEFAULT_GENERATE_ELF_STT_COMMON 0
+
 /* Define to 1 if you want to generate x86 relax relocations by default. */
 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS 1
 
@@ -264,7 +268,7 @@
 #define PACKAGE_NAME "gas"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gas 2.26.1"
+#define PACKAGE_STRING "gas 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gas"
@@ -273,7 +277,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define if defaulting to ELF on SCO 5. */
 /* #undef SCO_ELF */
@@ -319,6 +323,9 @@
 /* Target vendor. */
 #define TARGET_VENDOR ""
 
+/* Target specific CPU. */
+/* #undef TARGET_WITH_CPU */
+
 /* Use b modifier when opening binary files? */
 /* #undef USE_BINARY_FOPEN */
 
@@ -354,7 +361,7 @@
 /* #undef USING_CGEN */
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */

Index: src/external/gpl3/binutils/usr.bin/gas/arch/earm/targ-env.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/earm/targ-env.h:1.2 src/external/gpl3/binutils/usr.bin/gas/arch/earm/targ-env.h:1.3
--- src/external/gpl3/binutils/usr.bin/gas/arch/earm/targ-env.h:1.2	Mon Feb  4 17:50:12 2013
+++ src/external/gpl3/binutils/usr.bin/gas/arch/earm/targ-env.h	Mon Dec  5 17:59:18 2016
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: 	NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-#include "te-armnbsdeabi.h"
+#include "te-armeabi.h"

Index: src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/config.h:1.4 src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/config.h:1.5
--- src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/config.h:1.4	Tue Aug  2 04:05:07 2016
+++ src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/config.h	Mon Dec  5 17:59:18 2016
@@ -44,6 +44,10 @@
 /* Define if you want compressed debug sections by default. */
 /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
 
+/* Define to 1 if you want to generate ELF common symbols with the STT_COMMON
+   type by default. */
+#define DEFAULT_GENERATE_ELF_STT_COMMON 0
+
 /* Define to 1 if you want to generate x86 relax relocations by default. */
 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS 1
 
@@ -264,7 +268,7 @@
 #define PACKAGE_NAME "gas"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gas 2.26.1"
+#define PACKAGE_STRING "gas 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gas"
@@ -273,7 +277,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define if defaulting to ELF on SCO 5. */
 /* #undef SCO_ELF */
@@ -319,6 +323,9 @@
 /* Target vendor. */
 #define TARGET_VENDOR ""
 
+/* Target specific CPU. */
+/* #undef TARGET_WITH_CPU */
+
 /* Use b modifier when opening binary files? */
 /* #undef USE_BINARY_FOPEN */
 
@@ -354,7 +361,7 @@
 /* #undef USING_CGEN */
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */

Index: src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/targ-env.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/targ-env.h:1.1 src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/targ-env.h:1.2
--- src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/targ-env.h:1.1	Fri Apr 26 07:01:30 2013
+++ src/external/gpl3/binutils/usr.bin/gas/arch/earmeb/targ-env.h	Mon Dec  5 17:59:18 2016
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: 	NetBSD: mknative-binutils,v 1.8 2011/09/25 04:00:58 christos Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-#include "te-armnbsdeabi.h"
+#include "te-armeabi.h"

Index: src/external/gpl3/binutils/usr.bin/gas/arch/m68000/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/m68000/config.h:1.5 src/external/gpl3/binutils/usr.bin/gas/arch/m68000/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/gas/arch/m68000/config.h:1.5	Thu Jul 28 10:18:04 2016
+++ src/external/gpl3/binutils/usr.bin/gas/arch/m68000/config.h	Mon Dec  5 17:59:18 2016
@@ -44,6 +44,10 @@
 /* Define if you want compressed debug sections by default. */
 /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
 
+/* Define to 1 if you want to generate ELF common symbols with the STT_COMMON
+   type by default. */
+#define DEFAULT_GENERATE_ELF_STT_COMMON 0
+
 /* Define to 1 if you want to generate x86 relax relocations by default. */
 #define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS 1
 
@@ -264,7 +268,7 @@
 #define PACKAGE_NAME "gas"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gas 2.26.1"
+#define PACKAGE_STRING "gas 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gas"
@@ -273,7 +277,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define if defaulting to ELF on SCO 5. */
 /* #undef SCO_ELF */
@@ -319,6 +323,9 @@
 /* Target vendor. */
 #define TARGET_VENDOR ""
 
+/* Target specific CPU. */
+/* #undef TARGET_WITH_CPU */
+
 /* Use b modifier when opening binary files? */
 /* #undef USE_BINARY_FOPEN */
 
@@ -354,7 +361,7 @@
 /* #undef USING_CGEN */
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */

Index: src/external/gpl3/binutils/usr.bin/gprof/arch/earm/gconfig.h
diff -u src/external/gpl3/binutils/usr.bin/gprof/arch/earm/gconfig.h:1.4 src/external/gpl3/binutils/usr.bin/gprof/arch/earm/gconfig.h:1.5
--- src/external/gpl3/binutils/usr.bin/gprof/arch/earm/gconfig.h:1.4	Mon Aug  1 07:22:34 2016
+++ src/external/gpl3/binutils/usr.bin/gprof/arch/earm/gconfig.h	Mon Dec  5 17:59:18 2016
@@ -65,7 +65,7 @@
 #define PACKAGE_NAME "gprof"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gprof 2.26.1"
+#define PACKAGE_STRING "gprof 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gprof"
@@ -74,7 +74,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -102,7 +102,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */

Index: src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb/gconfig.h
diff -u src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb/gconfig.h:1.4 src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb/gconfig.h:1.5
--- src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb/gconfig.h:1.4	Tue Aug  2 04:05:07 2016
+++ src/external/gpl3/binutils/usr.bin/gprof/arch/earmeb/gconfig.h	Mon Dec  5 17:59:18 2016
@@ -65,7 +65,7 @@
 #define PACKAGE_NAME "gprof"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gprof 2.26.1"
+#define PACKAGE_STRING "gprof 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gprof"
@@ -74,7 +74,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -102,7 +102,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */

Index: src/external/gpl3/binutils/usr.bin/gprof/arch/m68000/gconfig.h
diff -u src/external/gpl3/binutils/usr.bin/gprof/arch/m68000/gconfig.h:1.5 src/external/gpl3/binutils/usr.bin/gprof/arch/m68000/gconfig.h:1.6
--- src/external/gpl3/binutils/usr.bin/gprof/arch/m68000/gconfig.h:1.5	Thu Jul 28 10:18:05 2016
+++ src/external/gpl3/binutils/usr.bin/gprof/arch/m68000/gconfig.h	Mon Dec  5 17:59:18 2016
@@ -65,7 +65,7 @@
 #define PACKAGE_NAME "gprof"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gprof 2.26.1"
+#define PACKAGE_STRING "gprof 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gprof"
@@ -74,7 +74,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -102,7 +102,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */

Index: src/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h:1.5 src/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h:1.5	Mon Aug  1 07:22:35 2016
+++ src/external/gpl3/binutils/usr.bin/ld/arch/earm/config.h	Mon Dec  5 17:59:18 2016
@@ -15,6 +15,9 @@
 /* Define if you want compressed debug sections by default. */
 /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
 
+/* Define to 1 if you want to enable -z relro in ELF linker by default. */
+#define DEFAULT_LD_Z_RELRO 0
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #define ENABLE_NLS 1
@@ -170,7 +173,7 @@
 #define PACKAGE_NAME "ld"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "ld 2.26.1"
+#define PACKAGE_STRING "ld 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "ld"
@@ -179,7 +182,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `void *', as computed by sizeof. */
 #define SIZEOF_VOID_P 4
@@ -216,7 +219,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */

Index: src/external/gpl3/binutils/usr.bin/ld/arch/earmeb/config.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/earmeb/config.h:1.5 src/external/gpl3/binutils/usr.bin/ld/arch/earmeb/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/ld/arch/earmeb/config.h:1.5	Tue Aug  2 04:05:08 2016
+++ src/external/gpl3/binutils/usr.bin/ld/arch/earmeb/config.h	Mon Dec  5 17:59:18 2016
@@ -15,6 +15,9 @@
 /* Define if you want compressed debug sections by default. */
 /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
 
+/* Define to 1 if you want to enable -z relro in ELF linker by default. */
+#define DEFAULT_LD_Z_RELRO 0
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #define ENABLE_NLS 1
@@ -170,7 +173,7 @@
 #define PACKAGE_NAME "ld"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "ld 2.26.1"
+#define PACKAGE_STRING "ld 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "ld"
@@ -179,7 +182,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `void *', as computed by sizeof. */
 #define SIZEOF_VOID_P 4
@@ -216,7 +219,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */

Index: src/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h:1.5 src/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h:1.6
--- src/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h:1.5	Thu Jul 28 10:18:07 2016
+++ src/external/gpl3/binutils/usr.bin/ld/arch/m68000/config.h	Mon Dec  5 17:59:18 2016
@@ -15,6 +15,9 @@
 /* Define if you want compressed debug sections by default. */
 /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
 
+/* Define to 1 if you want to enable -z relro in ELF linker by default. */
+#define DEFAULT_LD_Z_RELRO 0
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #define ENABLE_NLS 1
@@ -170,7 +173,7 @@
 #define PACKAGE_NAME "ld"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "ld 2.26.1"
+#define PACKAGE_STRING "ld 2.27"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "ld"
@@ -179,7 +182,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.26.1"
+#define PACKAGE_VERSION "2.27"
 
 /* The size of `void *', as computed by sizeof. */
 #define SIZEOF_VOID_P 4
@@ -216,7 +219,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.26.1"
+#define VERSION "2.27"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */

Reply via email to