Module Name:    src
Committed By:   christos
Date:           Thu Nov  8 02:30:15 UTC 2018

Modified Files:
        src/external/gpl3/binutils/lib/libbfd/arch/i386: bfd.h bfd_stdint.h
            bfdver.h config.h defs.mk
        src/external/gpl3/binutils/lib/libiberty/arch/i386: config.h
        src/external/gpl3/binutils/lib/libopcodes/arch/i386: config.h
        src/external/gpl3/binutils/usr.bin/common/arch/i386: config.h defs.mk
        src/external/gpl3/binutils/usr.bin/gas/arch/i386: config.h
        src/external/gpl3/binutils/usr.bin/gas/arch/x86_64: defs.mk
        src/external/gpl3/binutils/usr.bin/gprof/arch/i386: defs.mk gconfig.h
        src/external/gpl3/binutils/usr.bin/ld/arch/i386: config.h defs.mk
            ldemul-list.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
    src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd.h
cvs rdiff -u -r1.6 -r1.7 \
    src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd_stdint.h
cvs rdiff -u -r1.11 -r1.12 \
    src/external/gpl3/binutils/lib/libbfd/arch/i386/bfdver.h
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/lib/libbfd/arch/i386/config.h \
    src/external/gpl3/binutils/lib/libbfd/arch/i386/defs.mk
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/lib/libiberty/arch/i386/config.h
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/lib/libopcodes/arch/i386/config.h
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/usr.bin/common/arch/i386/config.h
cvs rdiff -u -r1.9 -r1.10 \
    src/external/gpl3/binutils/usr.bin/common/arch/i386/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/usr.bin/gas/arch/i386/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
    src/external/gpl3/binutils/usr.bin/gprof/arch/i386/defs.mk
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/usr.bin/gprof/arch/i386/gconfig.h
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h
cvs rdiff -u -r1.4 -r1.5 \
    src/external/gpl3/binutils/usr.bin/ld/arch/i386/defs.mk
cvs rdiff -u -r1.2 -r1.3 \
    src/external/gpl3/binutils/usr.bin/ld/arch/i386/ldemul-list.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/i386/bfd.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd.h:1.8 src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd.h:1.9
--- src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd.h:1.8	Sun Apr 15 16:06:04 2018
+++ src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically
@@ -45,6 +45,7 @@ extern "C" {
 
 #include "ansidecl.h"
 #include "symcat.h"
+#include "diagnostics.h"
 #include <stdarg.h>
 #include <sys/stat.h>
 
@@ -102,6 +103,24 @@ typedef BFD_HOST_64_BIT bfd_int64_t;
 typedef BFD_HOST_U_64_BIT bfd_uint64_t;
 #endif
 
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# if BFD_HOST_64BIT_LONG
+#  define BFD_PRI64 "l"
+# elif defined (__MSVCRT__)
+#  define BFD_PRI64 "I64"
+# else
+#  define BFD_PRI64 "ll"
+# endif
+# undef PRId64
+# define PRId64 BFD_PRI64 "d"
+# undef PRIu64
+# define PRIu64 BFD_PRI64 "u"
+# undef PRIx64
+# define PRIx64 BFD_PRI64 "x"
+#endif
+
 #if BFD_ARCH_SIZE >= 64
 #define BFD64
 #endif
@@ -574,6 +593,8 @@ void bfd_putb64 (bfd_uint64_t, void *);
 void bfd_putl64 (bfd_uint64_t, void *);
 void bfd_putb32 (bfd_vma, void *);
 void bfd_putl32 (bfd_vma, void *);
+void bfd_putb24 (bfd_vma, void *);
+void bfd_putl24 (bfd_vma, void *);
 void bfd_putb16 (bfd_vma, void *);
 void bfd_putl16 (bfd_vma, void *);
 
@@ -601,8 +622,6 @@ extern bfd_boolean _bfd_handle_already_l
 
 /* Externally visible ECOFF routines.  */
 
-extern bfd_vma bfd_ecoff_get_gp_value
-  (bfd * abfd);
 extern bfd_boolean bfd_ecoff_set_gp_value
   (bfd *abfd, bfd_vma gp_value);
 extern bfd_boolean bfd_ecoff_set_regmasks
@@ -771,8 +790,6 @@ extern bfd_boolean bfd_sunos_size_dynami
 
 extern bfd_boolean bfd_i386linux_size_dynamic_sections
   (bfd *, struct bfd_link_info *);
-extern bfd_boolean bfd_m68klinux_size_dynamic_sections
-  (bfd *, struct bfd_link_info *);
 extern bfd_boolean bfd_sparclinux_size_dynamic_sections
   (bfd *, struct bfd_link_info *);
 
@@ -841,9 +858,6 @@ union internal_auxent;
 extern bfd_boolean bfd_coff_set_symbol_class
   (bfd *, struct bfd_symbol *, unsigned int);
 
-extern bfd_boolean bfd_m68k_coff_create_embedded_relocs
-  (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **);
-
 /* ARM VFP11 erratum workaround support.  */
 typedef enum
 {
@@ -1328,13 +1342,10 @@ typedef struct bfd_section
   /* The section contains thread local data.  */
 #define SEC_THREAD_LOCAL                0x400
 
-  /* The section has GOT references.  This flag is only for the
-     linker, and is currently only used by the elf32-hppa back end.
-     It will be set if global offset table references were detected
-     in this section, which indicate to the linker that the section
-     contains PIC code, and must be handled specially when doing a
-     static link.  */
-#define SEC_HAS_GOT_REF                 0x800
+  /* The section's size is fixed.  Generic linker code will not
+     recalculate it and it is up to whoever has set this flag to
+     get the size right.  */
+#define SEC_FIXED_SIZE                  0x800
 
   /* The section contains common symbols (symbols may be defined
      multiple times, the value of a symbol is the amount of
@@ -1888,8 +1899,6 @@ asection *bfd_make_section_with_flags
 
 asection *bfd_make_section (bfd *, const char *name);
 
-int bfd_get_next_section_id (void);
-
 bfd_boolean bfd_set_section_flags
    (bfd *abfd, asection *sec, flagword flags);
 
@@ -1968,23 +1977,6 @@ enum bfd_architecture
 #define bfd_mach_mcf_isa_c_nodiv_mac   30
 #define bfd_mach_mcf_isa_c_nodiv_emac  31
   bfd_arch_vax,       /* DEC Vax.  */
-  bfd_arch_i960,      /* Intel 960.  */
-    /* The order of the following is important.
-       lower number indicates a machine type that
-       only accepts a subset of the instructions
-       available to machines with higher numbers.
-       The exception is the "ca", which is
-       incompatible with all other machines except
-       "core".  */
-
-#define bfd_mach_i960_core     1
-#define bfd_mach_i960_ka_sa    2
-#define bfd_mach_i960_kb_sb    3
-#define bfd_mach_i960_mc       4
-#define bfd_mach_i960_xa       5
-#define bfd_mach_i960_ca       6
-#define bfd_mach_i960_jx       7
-#define bfd_mach_i960_hx       8
 
   bfd_arch_or1k,      /* OpenRISC 1000.  */
 #define bfd_mach_or1k          1
@@ -2100,13 +2092,8 @@ enum bfd_architecture
 #define bfd_mach_iamcu                 (1 << 8)
 #define bfd_mach_i386_iamcu            (bfd_mach_i386_i386 | bfd_mach_iamcu)
 #define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
-  bfd_arch_we32k,     /* AT&T WE32xxx.  */
-  bfd_arch_tahoe,     /* CCI/Harris Tahoe.  */
-  bfd_arch_i860,      /* Intel 860.  */
-  bfd_arch_i370,      /* IBM 360/370 Mainframes.  */
   bfd_arch_romp,      /* IBM ROMP PC/RT.  */
   bfd_arch_convex,    /* Convex.  */
-  bfd_arch_m88k,      /* Motorola 88xxx.  */
   bfd_arch_m98k,      /* Motorola 98xxx.  */
   bfd_arch_pyramid,   /* Pyramid Technology.  */
   bfd_arch_h8300,     /* Renesas H8/300 (formerly Hitachi H8/300).  */
@@ -2169,10 +2156,11 @@ enum bfd_architecture
 #define bfd_mach_m6812s        2
   bfd_arch_m9s12x,    /* Freescale S12X.  */
   bfd_arch_m9s12xg,   /* Freescale XGATE.  */
+  bfd_arch_s12z,    /* Freescale S12Z.  */
+#define bfd_mach_s12z_default 0
   bfd_arch_z8k,       /* Zilog Z8000.  */
 #define bfd_mach_z8001         1
 #define bfd_mach_z8002         2
-  bfd_arch_h8500,     /* Renesas H8/500 (formerly Hitachi H8/500).  */
   bfd_arch_sh,        /* Renesas / SuperH SH (formerly Hitachi SH).  */
 #define bfd_mach_sh                            1
 #define bfd_mach_sh2                           0x20
@@ -2194,7 +2182,6 @@ enum bfd_architecture
 #define bfd_mach_sh4a                          0x4a
 #define bfd_mach_sh4a_nofpu                    0x4b
 #define bfd_mach_sh4al_dsp                     0x4d
-#define bfd_mach_sh5                           0x50
   bfd_arch_alpha,     /* Dec Alpha.  */
 #define bfd_mach_alpha_ev4     0x10
 #define bfd_mach_alpha_ev5     0x20
@@ -2221,7 +2208,6 @@ enum bfd_architecture
 #define bfd_mach_n1h_v3        4
 #define bfd_mach_n1h_v3m       5
   bfd_arch_ns32k,     /* National Semiconductors ns32000.  */
-  bfd_arch_w65,       /* WDC 65816.  */
   bfd_arch_tic30,     /* Texas Instruments TMS320C30.  */
   bfd_arch_tic4x,     /* Texas Instruments TMS320C3X/4X.  */
 #define bfd_mach_tic3x         30
@@ -2402,6 +2388,9 @@ enum bfd_architecture
 #define bfd_mach_wasm32        1
   bfd_arch_pru,       /* PRU.  */
 #define bfd_mach_pru           0
+  bfd_arch_nfp,       /* Netronome Flow Processor */
+#define bfd_mach_nfp3200       0x3200
+#define bfd_mach_nfp6000       0x6000
   bfd_arch_last
   };
 
@@ -2495,10 +2484,9 @@ typedef enum bfd_reloc_status
   /* The symbol to relocate against was undefined.  */
   bfd_reloc_undefined,
 
-  /* The relocation was performed, but may not be ok - presently
-     generated only when linking i960 coff files with i960 b.out
-     symbols.  If this type is returned, the error_message argument
-     to bfd_perform_relocation will be set.  */
+  /* The relocation was performed, but may not be ok.  If this type is
+     returned, the error_message argument to bfd_perform_relocation
+     will be set.  */
   bfd_reloc_dangerous
  }
  bfd_reloc_status_type;
@@ -2578,8 +2566,7 @@ struct reloc_howto_struct
 
   /* If this field is non null, then the supplied function is
      called rather than the normal function.  This allows really
-     strange relocation methods to be accommodated (e.g., i960 callj
-     instructions).  */
+     strange relocation methods to be accommodated.  */
   bfd_reloc_status_type (*special_function)
     (bfd *, arelent *, struct bfd_symbol *, void *, asection *,
      bfd *, char **);
@@ -2623,7 +2610,7 @@ struct reloc_howto_struct
      slot of the instruction, so that a PC relative relocation can
      be made just by adding in an ordinary offset (e.g., sun3 a.out).
      Some formats leave the displacement part of an instruction
-     empty (e.g., m88k bcs); this flag signals the fact.  */
+     empty (e.g., ELF); this flag signals the fact.  */
   bfd_boolean pcrel_offset;
 };
 
@@ -2704,9 +2691,7 @@ enum bfd_reloc_code_real {
 
 /* PC-relative relocations.  Sometimes these are relative to the address
 of the relocation itself; sometimes they are relative to the start of
-the section containing the relocation.  It depends on the specific target.
-
-The 24-bit relocation is used in some Intel 960 configurations.  */
+the section containing the relocation.  It depends on the specific target.  */
   BFD_RELOC_64_PCREL,
   BFD_RELOC_32_PCREL,
   BFD_RELOC_24_PCREL,
@@ -2798,9 +2783,6 @@ decided relatively late.  */
   BFD_RELOC_GPREL16,
   BFD_RELOC_GPREL32,
 
-/* Reloc types used for i960/b.out.  */
-  BFD_RELOC_I960_CALLJ,
-
 /* SPARC ELF relocations.  There is probably some overlap with other
 relocation types already defined.  */
   BFD_RELOC_NONE,
@@ -3554,6 +3536,15 @@ pc-relative or some form of GOT-indirect
   BFD_RELOC_ARM_THUMB_MOVW_PCREL,
   BFD_RELOC_ARM_THUMB_MOVT_PCREL,
 
+/* ARM FDPIC specific relocations.  */
+  BFD_RELOC_ARM_GOTFUNCDESC,
+  BFD_RELOC_ARM_GOTOFFFUNCDESC,
+  BFD_RELOC_ARM_FUNCDESC,
+  BFD_RELOC_ARM_FUNCDESC_VALUE,
+  BFD_RELOC_ARM_TLS_GD32_FDPIC,
+  BFD_RELOC_ARM_TLS_LDM32_FDPIC,
+  BFD_RELOC_ARM_TLS_IE32_FDPIC,
+
 /* Relocations for setting up GOTs and PLTs for shared libraries.  */
   BFD_RELOC_ARM_JUMP_SLOT,
   BFD_RELOC_ARM_GLOB_DAT,
@@ -5271,6 +5262,11 @@ This is the 8 bit high part of an absolu
 a matching LO8XG part.  */
   BFD_RELOC_M68HC12_HI8XG,
 
+/* Freescale S12Z reloc.
+This is a 15 bit relative address.  If the most significant bits are all zero
+then it may be truncated to 8 bits.  */
+  BFD_RELOC_S12Z_15_PCREL,
+
 /* NS CR16C Relocations.  */
   BFD_RELOC_16C_NUM08,
   BFD_RELOC_16C_NUM08_C,
@@ -5424,40 +5420,6 @@ a matching LO8XG part.  */
   BFD_RELOC_CRIS_DTPMOD,
   BFD_RELOC_CRIS_32_IE,
 
-/* Intel i860 Relocations.  */
-  BFD_RELOC_860_COPY,
-  BFD_RELOC_860_GLOB_DAT,
-  BFD_RELOC_860_JUMP_SLOT,
-  BFD_RELOC_860_RELATIVE,
-  BFD_RELOC_860_PC26,
-  BFD_RELOC_860_PLT26,
-  BFD_RELOC_860_PC16,
-  BFD_RELOC_860_LOW0,
-  BFD_RELOC_860_SPLIT0,
-  BFD_RELOC_860_LOW1,
-  BFD_RELOC_860_SPLIT1,
-  BFD_RELOC_860_LOW2,
-  BFD_RELOC_860_SPLIT2,
-  BFD_RELOC_860_LOW3,
-  BFD_RELOC_860_LOGOT0,
-  BFD_RELOC_860_SPGOT0,
-  BFD_RELOC_860_LOGOT1,
-  BFD_RELOC_860_SPGOT1,
-  BFD_RELOC_860_LOGOTOFF0,
-  BFD_RELOC_860_SPGOTOFF0,
-  BFD_RELOC_860_LOGOTOFF1,
-  BFD_RELOC_860_SPGOTOFF1,
-  BFD_RELOC_860_LOGOTOFF2,
-  BFD_RELOC_860_LOGOTOFF3,
-  BFD_RELOC_860_LOPC,
-  BFD_RELOC_860_HIGHADJ,
-  BFD_RELOC_860_HAGOT,
-  BFD_RELOC_860_HAGOTOFF,
-  BFD_RELOC_860_HAPC,
-  BFD_RELOC_860_HIGH,
-  BFD_RELOC_860_HIGOT,
-  BFD_RELOC_860_HIGOTOFF,
-
 /* OpenRISC 1000 Relocations.  */
   BFD_RELOC_OR1K_REL_26,
   BFD_RELOC_OR1K_GOTPC_HI16,
@@ -5797,6 +5759,9 @@ 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,
 
+/* Used when referencing a TLV entry.  */
+  BFD_RELOC_MACH_O_X86_64_TLV,
+
 /* Addend for PAGE or PAGEOFF.  */
   BFD_RELOC_MACH_O_ARM64_ADDEND,
 
@@ -5893,6 +5858,16 @@ to two words (uses imm instruction).  */
 to two words (uses imm instruction).  */
   BFD_RELOC_MICROBLAZE_64_TLSTPREL,
 
+/* This is a 64 bit reloc that stores the 32 bit pc relative
+value in two words (with an imm instruction).  The relocation is
+PC-relative offset from start of TEXT.  */
+  BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
+
+/* This is a 64 bit reloc that stores the 32 bit offset
+value in two words (with an imm instruction).  The relocation is
+relative offset from start of TEXT.  */
+  BFD_RELOC_MICROBLAZE_64_TEXTREL,
+
 /* AArch64 pseudo relocation code to mark the start of the AArch64
 relocation enumerators.  N.B. the order of the enumerators is
 important as several tables in the AArch64 bfd backend are indexed
@@ -5961,6 +5936,36 @@ of a signed value.  Changes instruction 
 value's sign.  */
   BFD_RELOC_AARCH64_MOVW_G2_S,
 
+/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15
+of a signed value.  Changes instruction to MOVZ or MOVN depending on the
+value's sign.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G0,
+
+/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15
+of a signed value.  Changes instruction to MOVZ or MOVN depending on the
+value's sign.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
+
+/* AArch64 MOVK instruction with most significant bits 16 to 31
+of a signed value.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G1,
+
+/* AArch64 MOVK instruction with most significant bits 16 to 31
+of a signed value.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
+
+/* AArch64 MOVK instruction with most significant bits 32 to 47
+of a signed value.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G2,
+
+/* AArch64 MOVK instruction with most significant bits 32 to 47
+of a signed value.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
+
+/* AArch64 MOVK instruction with most significant bits 47 to 63
+of a signed value.  */
+  BFD_RELOC_AARCH64_MOVW_PREL_G3,
+
 /* AArch64 Load Literal instruction, holding a 19 bit pc-relative word
 offset.  The lowest two bits must be zero and are not stored in the
 instruction, giving a 21 bit signed byte offset.  */
@@ -6188,6 +6193,34 @@ instructions.  */
 /* AArch64 TLS LOCAL EXEC relocation.  */
   BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC,
 
+/* bit[11:1] of byte offset to module TLS base address, encoded in ldst
+instructions.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12,
+
+/* Similar as BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, but no overflow check.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
+
+/* bit[11:2] of byte offset to module TLS base address, encoded in ldst
+instructions.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12,
+
+/* Similar as BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, but no overflow check.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
+
+/* bit[11:3] of byte offset to module TLS base address, encoded in ldst
+instructions.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12,
+
+/* Similar as BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, but no overflow check.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
+
+/* bit[11:0] of byte offset to module TLS base address, encoded in ldst
+instructions.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
+
+/* Similar as BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, but no overflow check.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC,
+
 /* AArch64 TLS DESC relocation.  */
   BFD_RELOC_AARCH64_TLSDESC_LD_PREL19,
 
@@ -6271,6 +6304,14 @@ any object files.  */
 /* Similar as BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12, but no overflow check.  */
   BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC,
 
+/* AArch64 pseudo relocation code for TLS local exec mode.  It's to be
+used internally by the AArch64 assembler and not (currently) written to
+any object files.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12,
+
+/* Similar as BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12, but no overflow check.  */
+  BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC,
+
 /* AArch64 pseudo relocation code to be used internally by the AArch64
 assembler and not (currently) written to any object files.  */
   BFD_RELOC_AARCH64_LD_GOT_LO12_NC,
@@ -6755,8 +6796,9 @@ struct bfd
      least-recently-used list of BFDs.  */
   struct bfd *lru_prev, *lru_next;
 
-  /* When a file is closed by the caching routines, BFD retains
-     state information on the file here...  */
+  /* Track current file position (or current buffer offset for
+     in-memory BFDs).  When a file is closed by the caching routines,
+     BFD retains state information on the file here.  */
   ufile_ptr where;
 
   /* File modified time, if mtime_set is TRUE.  */
@@ -6985,21 +7027,15 @@ struct bfd
     {
       struct aout_data_struct *aout_data;
       struct artdata *aout_ar_data;
-      struct _oasys_data *oasys_obj_data;
-      struct _oasys_ar_data *oasys_ar_data;
       struct coff_tdata *coff_obj_data;
       struct pe_tdata *pe_obj_data;
       struct xcoff_tdata *xcoff_obj_data;
       struct ecoff_tdata *ecoff_obj_data;
-      struct ieee_data_struct *ieee_data;
-      struct ieee_ar_data_struct *ieee_ar_data;
       struct srec_data_struct *srec_data;
       struct verilog_data_struct *verilog_data;
       struct ihex_data_struct *ihex_data;
       struct tekhex_data_struct *tekhex_data;
       struct elf_obj_tdata *elf_obj_data;
-      struct nlm_obj_tdata *nlm_obj_data;
-      struct bout_data_struct *bout_data;
       struct mmo_data_struct *mmo_data;
       struct sun_core_struct *sun_core_data;
       struct sco5_core_struct *sco5_core_data;
@@ -7084,6 +7120,8 @@ void bfd_perror (const char *message);
 
 typedef void (*bfd_error_handler_type) (const char *, va_list);
 
+void _bfd_error_handler (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
+
 bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type);
 
 void bfd_set_error_program_name (const char *);
@@ -7234,7 +7272,7 @@ bfd_vma bfd_emul_get_maxpagesize (const 
 
 void bfd_emul_set_maxpagesize (const char *, bfd_vma);
 
-bfd_vma bfd_emul_get_commonpagesize (const char *);
+bfd_vma bfd_emul_get_commonpagesize (const char *, bfd_boolean);
 
 void bfd_emul_set_commonpagesize (const char *, bfd_vma);
 
@@ -7308,9 +7346,6 @@ enum bfd_flavour
   bfd_target_ecoff_flavour,
   bfd_target_xcoff_flavour,
   bfd_target_elf_flavour,
-  bfd_target_ieee_flavour,
-  bfd_target_nlm_flavour,
-  bfd_target_oasys_flavour,
   bfd_target_tekhex_flavour,
   bfd_target_srec_flavour,
   bfd_target_verilog_flavour,
@@ -7623,6 +7658,7 @@ typedef struct bfd_target
   NAME##_bfd_discard_group, \
   NAME##_section_already_linked, \
   NAME##_bfd_define_common_symbol, \
+  NAME##_bfd_link_hide_symbol, \
   NAME##_bfd_define_start_stop
 
   int         (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *);
@@ -7689,6 +7725,10 @@ typedef struct bfd_target
   bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
                                             struct bfd_link_hash_entry *);
 
+  /* Hide a symbol.  */
+  void (*_bfd_link_hide_symbol) (bfd *, struct bfd_link_info *,
+                                 struct bfd_link_hash_entry *);
+
   /* Define a __start, __stop, .startof. or .sizeof. symbol.  */
   struct bfd_link_hash_entry *
               (*_bfd_define_start_stop) (struct bfd_link_info *, const char *,
@@ -7772,6 +7812,13 @@ bfd_boolean bfd_generic_define_common_sy
 #define bfd_define_common_symbol(output_bfd, info, h) \
        BFD_SEND (output_bfd, _bfd_define_common_symbol, (output_bfd, info, h))
 
+void _bfd_generic_link_hide_symbol
+   (bfd *output_bfd, struct bfd_link_info *info,
+    struct bfd_link_hash_entry *h);
+
+#define bfd_link_hide_symbol(output_bfd, info, h) \
+       BFD_SEND (output_bfd, _bfd_link_hide_symbol, (output_bfd, info, h))
+
 struct bfd_link_hash_entry *bfd_generic_define_start_stop
    (struct bfd_link_info *info,
     const char *symbol, asection *sec);

Index: src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd_stdint.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd_stdint.h:1.6 src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd_stdint.h:1.7
--- src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd_stdint.h:1.6	Sun Apr 15 16:06:04 2018
+++ src/external/gpl3/binutils/lib/libbfd/arch/i386/bfd_stdint.h	Wed Nov  7 21:30:14 2018
@@ -1,8 +1,8 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
-/* generated for  i486--netbsdelf-gcc (NetBSD nb1 20171112) 5.5.0 */
+/* generated for  i486--netbsdelf-gcc (NetBSD nb2 20180327) 6.4.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1

Index: src/external/gpl3/binutils/lib/libbfd/arch/i386/bfdver.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/i386/bfdver.h:1.11 src/external/gpl3/binutils/lib/libbfd/arch/i386/bfdver.h:1.12
--- src/external/gpl3/binutils/lib/libbfd/arch/i386/bfdver.h:1.11	Sun Apr 15 16:06:04 2018
+++ src/external/gpl3/binutils/lib/libbfd/arch/i386/bfdver.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* The date below is automatically updated every day by a bot.  During
@@ -20,7 +20,7 @@
 
    In releases, the date is not included in either version strings or
    sonames.  */
-#define BFD_VERSION_DATE 20180127
-#define BFD_VERSION 230000000
-#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.30"
+#define BFD_VERSION_DATE 20180718
+#define BFD_VERSION 231010000
+#define BFD_VERSION_STRING  "(NetBSD Binutils nb1) " "2.31.1"
 #define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"

Index: src/external/gpl3/binutils/lib/libbfd/arch/i386/config.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/i386/config.h:1.7 src/external/gpl3/binutils/lib/libbfd/arch/i386/config.h:1.8
--- src/external/gpl3/binutils/lib/libbfd/arch/i386/config.h:1.7	Sun Apr 15 16:06:04 2018
+++ src/external/gpl3/binutils/lib/libbfd/arch/i386/config.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -15,6 +15,10 @@
 /* Name of host specific core header file to include in elf.c. */
 /* #undef CORE_HEADER */
 
+/* Define to 1 if you want to enable -z separate-code in ELF linker by
+   default. */
+#define DEFAULT_LD_Z_SEPARATE_CODE 0
+
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #define ENABLE_NLS 1
@@ -135,6 +139,9 @@
 /* Define to 1 if you have the `getuid' function. */
 #define HAVE_GETUID 1
 
+/* Define if your compiler supports hidden visibility. */
+#define HAVE_HIDDEN 1
+
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
 
@@ -257,6 +264,9 @@
    */
 /* #undef HAVE_SYS_NDIR_H */
 
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
 /* Define to 1 if you have the <sys/procfs.h> header file. */
 /* #undef HAVE_SYS_PROCFS_H */
 
@@ -304,7 +314,7 @@
 #define PACKAGE_NAME "bfd"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "bfd 2.30"
+#define PACKAGE_STRING "bfd 2.31.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "bfd"
@@ -313,7 +323,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.30"
+#define PACKAGE_VERSION "2.31.1"
 
 /* The size of `char', as computed by sizeof. */
 /* #undef SIZEOF_CHAR */
@@ -386,7 +396,12 @@
 
 
 /* Version number of package */
-#define VERSION "2.30"
+#define VERSION "2.31.1"
+
+/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
 
 /* 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/i386/defs.mk
diff -u src/external/gpl3/binutils/lib/libbfd/arch/i386/defs.mk:1.7 src/external/gpl3/binutils/lib/libbfd/arch/i386/defs.mk:1.8
--- src/external/gpl3/binutils/lib/libbfd/arch/i386/defs.mk:1.7	Sun Jul  8 12:53:56 2018
+++ src/external/gpl3/binutils/lib/libbfd/arch/i386/defs.mk	Wed Nov  7 21:30:14 2018
@@ -1,9 +1,10 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
+# Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-G_libbfd_la_DEPENDENCIES=elf32-i386.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-properties.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo i386netbsd.lo aout32.lo coff-i386.lo cofflink.lo coffgen.lo pei-i386.lo peigen.lo elf32-gen.lo plugin.lo cpu-i386.lo cpu-iamcu.lo cpu-plugin.lo netbsd-core.lo ofiles
+G_libbfd_la_DEPENDENCIES=elf32-i386.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-properties.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo coff-i386.lo cofflink.lo coffgen.lo pei-i386.lo peigen.lo elf32-gen.lo plugin.lo cpu-i386.lo cpu-iamcu.lo cpu-plugin.lo netbsd-core.lo ofiles
 G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo  cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo  init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo  section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo  binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
 G_DEFS=-DHAVE_CONFIG_H
-G_INCLUDES=-DNETBSD_CORE    -I. -I${GNUHOSTDIST}/bfd -I${GNUHOSTDIST}/bfd/../include   -DHAVE_i386_elf32_vec -DHAVE_i386_aout_nbsd_vec -DHAVE_iamcu_elf32_vec -DHAVE_i386_coff_vec -DHAVE_i386_pei_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -I./../intl
-G_TDEFAULTS=-DDEFAULT_VECTOR=i386_elf32_vec -DSELECT_VECS='&i386_elf32_vec,&i386_aout_nbsd_vec,&iamcu_elf32_vec,&i386_coff_vec,&i386_pei_vec,&elf32_le_vec,&elf32_be_vec,&plugin_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch,&bfd_iamcu_arch,&bfd_plugin_arch'
+G_INCLUDES=
+G_TDEFAULTS=-DDEFAULT_VECTOR=i386_elf32_vec -DSELECT_VECS='&i386_elf32_vec,&iamcu_elf32_vec,&i386_coff_vec,&i386_pei_vec,&elf32_le_vec,&elf32_be_vec,&plugin_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch,&bfd_iamcu_arch,&bfd_plugin_arch'
+G_HAVEVECS=-DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec -DHAVE_i386_coff_vec -DHAVE_i386_pei_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec

Index: src/external/gpl3/binutils/lib/libiberty/arch/i386/config.h
diff -u src/external/gpl3/binutils/lib/libiberty/arch/i386/config.h:1.5 src/external/gpl3/binutils/lib/libiberty/arch/i386/config.h:1.6
--- src/external/gpl3/binutils/lib/libiberty/arch/i386/config.h:1.5	Sun Apr 15 16:06:04 2018
+++ src/external/gpl3/binutils/lib/libiberty/arch/i386/config.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -531,6 +531,11 @@
 # endif
 #endif
 
+/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
 /* 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/i386/config.h
diff -u src/external/gpl3/binutils/lib/libopcodes/arch/i386/config.h:1.7 src/external/gpl3/binutils/lib/libopcodes/arch/i386/config.h:1.8
--- src/external/gpl3/binutils/lib/libopcodes/arch/i386/config.h:1.7	Sun Apr 15 16:06:04 2018
+++ src/external/gpl3/binutils/lib/libopcodes/arch/i386/config.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -74,7 +74,7 @@
 #define PACKAGE_NAME "opcodes"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "opcodes 2.30"
+#define PACKAGE_STRING "opcodes 2.31.1"
 
 /* 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.30"
+#define PACKAGE_VERSION "2.31.1"
 
 /* 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.30"
+#define VERSION "2.31.1"
 
 /* Define to 1 if on MINIX. */
 /* #undef _MINIX */

Index: src/external/gpl3/binutils/usr.bin/common/arch/i386/config.h
diff -u src/external/gpl3/binutils/usr.bin/common/arch/i386/config.h:1.7 src/external/gpl3/binutils/usr.bin/common/arch/i386/config.h:1.8
--- src/external/gpl3/binutils/usr.bin/common/arch/i386/config.h:1.7	Sun Apr 15 16:06:05 2018
+++ src/external/gpl3/binutils/usr.bin/common/arch/i386/config.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -206,7 +206,7 @@
 #define PACKAGE_NAME "binutils"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "binutils 2.30"
+#define PACKAGE_STRING "binutils 2.31.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "binutils"
@@ -215,7 +215,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.30"
+#define PACKAGE_VERSION "2.31.1"
 
 /* The size of `long', as computed by sizeof. */
 #define SIZEOF_LONG 4
@@ -269,12 +269,17 @@
 
 
 /* Version number of package */
-#define VERSION "2.30"
+#define VERSION "2.31.1"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */
 #define YYTEXT_POINTER 1
 
+/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */
 
@@ -290,3 +295,6 @@
 
 /* Define to 1 if you need to in order for `stat' and other things to work. */
 /* #undef _POSIX_SOURCE */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */

Index: src/external/gpl3/binutils/usr.bin/common/arch/i386/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/common/arch/i386/defs.mk:1.9 src/external/gpl3/binutils/usr.bin/common/arch/i386/defs.mk:1.10
--- src/external/gpl3/binutils/usr.bin/common/arch/i386/defs.mk:1.9	Sun Apr 15 16:06:05 2018
+++ src/external/gpl3/binutils/usr.bin/common/arch/i386/defs.mk	Wed Nov  7 21:30:14 2018
@@ -1,18 +1,18 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
+# Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
-G_VERSION=2.30
+G_VERSION=2.31.1
 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
-G_man_MANS=addr2line.1  ar.1  dlltool.1  nlmconv.1  nm.1  objcopy.1  objdump.1  ranlib.1  readelf.1  size.1  strings.1  strip.1  elfedit.1  windres.1  windmc.1  c++filt.1
+G_PROGRAMS=size objdump ar  strings ranlib objcopy   addr2line readelf elfedit   nm-new strip-new cxxfilt bfdtest1 bfdtest2
+G_man_MANS=addr2line.1  ar.1  dlltool.1  nm.1  objcopy.1  objdump.1  ranlib.1  readelf.1  size.1  strings.1  strip.1  elfedit.1  windres.1  windmc.1  c++filt.1
 G_TEXINFOS=binutils.texi
 G_PKGVERSION=(NetBSD Binutils nb1) 
 G_REPORT_BUGS_TEXI=@uref{http://www.NetBSD.org/support/send-pr.html}
 G_size_OBJECTS=size.o bucomm.o version.o filemode.o
 G_size_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
-G_objdump_OBJECTS=objdump.o dwarf.o prdbg.o  rddbg.o debug.o stabs.o  ieee.o rdcoff.o bucomm.o version.o filemode.o elfcomm.o
+G_objdump_OBJECTS=objdump.o dwarf.o prdbg.o  rddbg.o debug.o stabs.o  rdcoff.o bucomm.o version.o filemode.o elfcomm.o
 G_objdump_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la ../opcodes/libopcodes.la 
 G_ar_OBJECTS=arparse.o arlex.o ar.o  not-ranlib.o arsup.o rename.o  binemul.o emul_vanilla.o bucomm.o version.o filemode.o
 G_ar_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
@@ -20,7 +20,7 @@ G_strings_OBJECTS=strings.o bucomm.o ver
 G_strings_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
 G_ranlib_OBJECTS=ar.o is-ranlib.o arparse.o  arlex.o arsup.o rename.o  binemul.o emul_vanilla.o bucomm.o version.o filemode.o
 G_ranlib_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
-G_objcopy_OBJECTS=objcopy.o not-strip.o  rename.o rddbg.o debug.o stabs.o  ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
+G_objcopy_OBJECTS=objcopy.o not-strip.o  rename.o rddbg.o debug.o stabs.o  rdcoff.o wrstabs.o bucomm.o version.o filemode.o
 G_objcopy_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
 G_addr2line_OBJECTS=addr2line.o bucomm.o version.o filemode.o
 G_addr2line_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
@@ -30,7 +30,7 @@ G_elfedit_OBJECTS=elfedit.o version.o  e
 G_elfedit_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a
 G_nm_new_OBJECTS=nm.o bucomm.o version.o filemode.o
 G_nm_new_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
-G_strip_new_OBJECTS=objcopy.o is-strip.o  rename.o rddbg.o debug.o stabs.o  ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
+G_strip_new_OBJECTS=objcopy.o is-strip.o  rename.o rddbg.o debug.o stabs.o  rdcoff.o wrstabs.o bucomm.o version.o filemode.o
 G_strip_new_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la
 G_cxxfilt_OBJECTS=cxxfilt.o bucomm.o version.o filemode.o
 G_cxxfilt_DEPENDENCIES=./../intl/libintl.a ../libiberty/libiberty.a ../bfd/libbfd.la

Index: src/external/gpl3/binutils/usr.bin/gas/arch/i386/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/i386/config.h:1.7 src/external/gpl3/binutils/usr.bin/gas/arch/i386/config.h:1.8
--- src/external/gpl3/binutils/usr.bin/gas/arch/i386/config.h:1.7	Sun Apr 15 16:06:05 2018
+++ src/external/gpl3/binutils/usr.bin/gas/arch/i386/config.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -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 GNU Build attribute notes by default,
+   if none are contained in the input. */
+#define DEFAULT_GENERATE_BUILD_NOTES 0
+
 /* 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
@@ -186,12 +190,6 @@
    */
 #define LT_OBJDIR ".libs/"
 
-/* Using m68k COFF? */
-/* #undef M68KCOFF */
-
-/* Using m88k COFF? */
-/* #undef M88KCOFF */
-
 /* Default CPU for MIPS targets. */
 /* #undef MIPS_CPU_STRING_DEFAULT */
 
@@ -243,9 +241,6 @@
 /* a.out support? */
 /* #undef OBJ_MAYBE_AOUT */
 
-/* b.out support? */
-/* #undef OBJ_MAYBE_BOUT */
-
 /* COFF support? */
 /* #undef OBJ_MAYBE_COFF */
 
@@ -271,7 +266,7 @@
 #define PACKAGE_NAME "gas"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gas 2.30"
+#define PACKAGE_STRING "gas 2.31.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gas"
@@ -280,10 +275,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.30"
-
-/* Define if defaulting to ELF on SCO 5. */
-/* #undef SCO_ELF */
+#define PACKAGE_VERSION "2.31.1"
 
 /* If using the C implementation of alloca, define if you know the
    direction of stack growth for your system; otherwise it will be
@@ -320,9 +312,6 @@
 /* Define if default target is PowerPC Solaris. */
 /* #undef TARGET_SOLARIS_COMMENT */
 
-/* Define if target is Symbian OS. */
-/* #undef TARGET_SYMBIAN */
-
 /* Target vendor. */
 #define TARGET_VENDOR ""
 
@@ -364,7 +353,7 @@
 /* #undef USING_CGEN */
 
 /* Version number of package */
-#define VERSION "2.30"
+#define VERSION "2.31.1"
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -382,6 +371,11 @@
    `char[]'. */
 #define YYTEXT_POINTER 1
 
+/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */
 
@@ -403,3 +397,6 @@
 #ifndef __cplusplus
 /* #undef inline */
 #endif
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */

Index: src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/defs.mk:1.4 src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/defs.mk:1.5
--- src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/defs.mk:1.4	Tue Nov  6 20:13:56 2018
+++ src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/defs.mk	Wed Nov  7 21:30:14 2018
@@ -1,8 +1,8 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp 
+# Generated from: NetBSD: mknative-binutils,v 1.10 2018/11/07 01:14:19 christos Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_DEFS=-DHAVE_CONFIG_H
 G_INCLUDES=
 G_OBJS=app.o as.o atof-generic.o  compress-debug.o cond.o depend.o  dwarf2dbg.o dw2gencfi.o ecoff.o  ehopt.o expr.o flonum-copy.o  flonum-konst.o flonum-mult.o frags.o  hash.o input-file.o input-scrub.o  listing.o literal.o macro.o  messages.o output-file.o read.o  remap.o sb.o stabs.o subsegs.o  symbols.o write.o
-G_OBJS+=tc-i386.o config/obj-elf.o config/atof-ieee.o    
+G_OBJS+=tc-i386.o obj-elf.o atof-ieee.o    

Index: src/external/gpl3/binutils/usr.bin/gprof/arch/i386/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/gprof/arch/i386/defs.mk:1.3 src/external/gpl3/binutils/usr.bin/gprof/arch/i386/defs.mk:1.4
--- src/external/gpl3/binutils/usr.bin/gprof/arch/i386/defs.mk:1.3	Fri Jan 29 09:42:49 2016
+++ src/external/gpl3/binutils/usr.bin/gprof/arch/i386/defs.mk	Wed Nov  7 21:30:14 2018
@@ -1,8 +1,8 @@
 # This file is automatically generated.  DO NOT EDIT!
-# 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 
+# Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp 
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_DEFS=-DHAVE_CONFIG_H
-G_gprof_OBJECTS=basic_blocks.o call_graph.o  cg_arcs.o cg_dfn.o cg_print.o  corefile.o gmon_io.o gprof.o  hertz.o hist.o source.o  search_list.o symtab.o sym_ids.o  utils.o i386.o alpha.o vax.o  tahoe.o sparc.o mips.o  aarch64.o flat_bl.o  bsd_callg_bl.o fsf_callg_bl.o
+G_gprof_OBJECTS=basic_blocks.o call_graph.o  cg_arcs.o cg_dfn.o cg_print.o  corefile.o gmon_io.o gprof.o  hertz.o hist.o source.o  search_list.o symtab.o sym_ids.o  utils.o i386.o alpha.o vax.o  sparc.o mips.o aarch64.o flat_bl.o  bsd_callg_bl.o fsf_callg_bl.o
 G_INCLUDES=
 G_TEXINFOS=gprof.texi

Index: src/external/gpl3/binutils/usr.bin/gprof/arch/i386/gconfig.h
diff -u src/external/gpl3/binutils/usr.bin/gprof/arch/i386/gconfig.h:1.7 src/external/gpl3/binutils/usr.bin/gprof/arch/i386/gconfig.h:1.8
--- src/external/gpl3/binutils/usr.bin/gprof/arch/i386/gconfig.h:1.7	Sun Apr 15 16:06:05 2018
+++ src/external/gpl3/binutils/usr.bin/gprof/arch/i386/gconfig.h	Wed Nov  7 21:30:14 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* gconfig.h.  Generated from gconfig.in by configure.  */
@@ -65,7 +65,7 @@
 #define PACKAGE_NAME "gprof"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "gprof 2.30"
+#define PACKAGE_STRING "gprof 2.31.1"
 
 /* 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.30"
+#define PACKAGE_VERSION "2.31.1"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -102,7 +102,12 @@
 
 
 /* Version number of package */
-#define VERSION "2.30"
+#define VERSION "2.31.1"
+
+/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
 
 /* 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/i386/config.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h:1.7 src/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h:1.8
--- src/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h:1.7	Sun Apr 15 16:06:05 2018
+++ src/external/gpl3/binutils/usr.bin/ld/arch/i386/config.h	Wed Nov  7 21:30:15 2018
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -24,6 +24,10 @@
 /* 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 you want to enable -z separate-code in ELF linker by
+   default. */
+#define DEFAULT_LD_Z_SEPARATE_CODE 0
+
 /* Define to 1 if you want to set DT_RUNPATH instead of DT_RPATH by default.
    */
 #define DEFAULT_NEW_DTAGS 0
@@ -183,7 +187,7 @@
 #define PACKAGE_NAME "ld"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "ld 2.30"
+#define PACKAGE_STRING "ld 2.31.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "ld"
@@ -192,7 +196,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.30"
+#define PACKAGE_VERSION "2.31.1"
 
 /* The size of `void *', as computed by sizeof. */
 #define SIZEOF_VOID_P 4
@@ -229,12 +233,17 @@
 
 
 /* Version number of package */
-#define VERSION "2.30"
+#define VERSION "2.31.1"
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */
 #define YYTEXT_POINTER 1
 
+/* Enable large inode numbers on Mac OS X 10.5.  */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
 /* 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/i386/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/i386/defs.mk:1.4 src/external/gpl3/binutils/usr.bin/ld/arch/i386/defs.mk:1.5
--- src/external/gpl3/binutils/usr.bin/ld/arch/i386/defs.mk:1.4	Fri Jan 29 09:42:49 2016
+++ src/external/gpl3/binutils/usr.bin/ld/arch/i386/defs.mk	Wed Nov  7 21:30:15 2018
@@ -1,13 +1,13 @@
 # This file is automatically generated.  DO NOT EDIT!
-# 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 
+# Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp 
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_DEFS=-DHAVE_CONFIG_H
 G_EMUL=elf_i386
-G_EMULATION_OFILES=eelf_i386.o eelf_iamcu.o ei386nbsd.o
+G_EMULATION_OFILES=eelf_i386.o eelf_iamcu.o
 G_INCLUDES=
-G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o  mri.o ldctor.o ldmain.o plugin.o  ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o  ldfile.o ldcref.o eelf_i386.o eelf_iamcu.o ei386nbsd.o   ldbuildid.o
+G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o  mri.o ldctor.o ldmain.o plugin.o  ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o  ldfile.o ldcref.o eelf_i386.o eelf_iamcu.o   ldbuildid.o
 G_STRINGIFY=astring.sed
-G_TEXINFOS=ld.texinfo
+G_TEXINFOS=ld.texi
 G_target_alias=i486--netbsdelf
 G_enable_initfini_array=no

Index: src/external/gpl3/binutils/usr.bin/ld/arch/i386/ldemul-list.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/i386/ldemul-list.h:1.2 src/external/gpl3/binutils/usr.bin/ld/arch/i386/ldemul-list.h:1.3
--- src/external/gpl3/binutils/usr.bin/ld/arch/i386/ldemul-list.h:1.2	Fri Jan 29 09:42:49 2016
+++ src/external/gpl3/binutils/usr.bin/ld/arch/i386/ldemul-list.h	Wed Nov  7 21:30:15 2018
@@ -1,14 +1,12 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* 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  */
+/* Generated from: NetBSD: mknative-binutils,v 1.11 2018/11/08 02:08:35 christos Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
 
 /* This file is automatically generated.  DO NOT EDIT! */
 extern ld_emulation_xfer_type ld_elf_i386_emulation;
 extern ld_emulation_xfer_type ld_elf_iamcu_emulation;
-extern ld_emulation_xfer_type ld_i386nbsd_emulation;
 
 #define EMULATION_LIST \
   &ld_elf_i386_emulation, \
   &ld_elf_iamcu_emulation, \
-  &ld_i386nbsd_emulation, \
   0

Reply via email to