Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils re-run mknative binutils for powerpc.



details:   https://anonhg.NetBSD.org/src/rev/918fec2a75e9
branches:  trunk
changeset: 339884:918fec2a75e9
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Aug 15 19:54:02 2015 +0000

description:
re-run mknative binutils for powerpc.

diffstat:

 external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd.h         |  74 +++++++++++-
 external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd_stdint.h  |   6 +-
 external/gpl3/binutils/lib/libiberty/arch/powerpc/config.h   |   6 +-
 external/gpl3/binutils/lib/libiberty/arch/powerpc/defs.mk    |   6 +-
 external/gpl3/binutils/usr.bin/ld/arch/powerpc/defs.mk       |  10 +-
 external/gpl3/binutils/usr.bin/ld/arch/powerpc/ldemul-list.h |   7 +-
 6 files changed, 86 insertions(+), 23 deletions(-)

diffs (196 lines):

diff -r 84b5bf8519a5 -r 918fec2a75e9 external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd.h
--- a/external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd.h      Sat Aug 15 16:39:58 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd.h      Sat Aug 15 19:54:02 2015 +0000
@@ -1,6 +1,6 @@
 /* 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  */
 
 /* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically 
    generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c", 
@@ -1856,7 +1856,9 @@
 #define bfd_mach_i960_jx        7
 #define bfd_mach_i960_hx        8
 
-  bfd_arch_or32,      /* OpenRISC 32 */
+  bfd_arch_or1k,      /* OpenRISC 1000 */
+#define bfd_mach_or1k          1
+#define bfd_mach_or1knd                2
 
   bfd_arch_sparc,     /* SPARC */
 #define bfd_mach_sparc                 1
@@ -1978,6 +1980,9 @@
 #define bfd_mach_ppc_e6500     5007
 #define bfd_mach_ppc_titan     83
 #define bfd_mach_ppc_vle       84
+  bfd_arch_riscv,     /* RISC-V */
+#define bfd_mach_riscv32       132
+#define bfd_mach_riscv64       164
   bfd_arch_rs6000,    /* IBM RS/6000 */
 #define bfd_mach_rs6k          6000
 #define bfd_mach_rs6k_rs1      6001
@@ -4807,9 +4812,66 @@
   BFD_RELOC_860_HIGOT,
   BFD_RELOC_860_HIGOTOFF,
 
-/* OpenRISC Relocations.  */
-  BFD_RELOC_OPENRISC_ABS_26,
-  BFD_RELOC_OPENRISC_REL_26,
+/* OpenRISC 1000 Relocations.  */
+  BFD_RELOC_OR1K_REL_26,
+  BFD_RELOC_OR1K_GOTPC_HI16,
+  BFD_RELOC_OR1K_GOTPC_LO16,
+  BFD_RELOC_OR1K_GOT16,
+  BFD_RELOC_OR1K_PLT26,
+  BFD_RELOC_OR1K_GOTOFF_HI16,
+  BFD_RELOC_OR1K_GOTOFF_LO16,
+  BFD_RELOC_OR1K_COPY,
+  BFD_RELOC_OR1K_GLOB_DAT,
+  BFD_RELOC_OR1K_JMP_SLOT,
+  BFD_RELOC_OR1K_RELATIVE,
+  BFD_RELOC_OR1K_TLS_GD_HI16,
+  BFD_RELOC_OR1K_TLS_GD_LO16,
+  BFD_RELOC_OR1K_TLS_LDM_HI16,
+  BFD_RELOC_OR1K_TLS_LDM_LO16,
+  BFD_RELOC_OR1K_TLS_LDO_HI16,
+  BFD_RELOC_OR1K_TLS_LDO_LO16,
+  BFD_RELOC_OR1K_TLS_IE_HI16,
+  BFD_RELOC_OR1K_TLS_IE_LO16,
+  BFD_RELOC_OR1K_TLS_LE_HI16,
+  BFD_RELOC_OR1K_TLS_LE_LO16,
+  BFD_RELOC_OR1K_TLS_TPOFF,
+  BFD_RELOC_OR1K_TLS_DTPOFF,
+  BFD_RELOC_OR1K_TLS_DTPMOD,
+
+/* RISC-V relocations.  */
+  BFD_RELOC_RISCV_HI20,
+  BFD_RELOC_RISCV_PCREL_HI20,
+  BFD_RELOC_RISCV_PCREL_LO12_I,
+  BFD_RELOC_RISCV_PCREL_LO12_S,
+  BFD_RELOC_RISCV_LO12_I,
+  BFD_RELOC_RISCV_LO12_S,
+  BFD_RELOC_RISCV_GPREL12_I,
+  BFD_RELOC_RISCV_GPREL12_S,
+  BFD_RELOC_RISCV_TPREL_HI20,
+  BFD_RELOC_RISCV_TPREL_LO12_I,
+  BFD_RELOC_RISCV_TPREL_LO12_S,
+  BFD_RELOC_RISCV_TPREL_ADD,
+  BFD_RELOC_RISCV_CALL,
+  BFD_RELOC_RISCV_CALL_PLT,
+  BFD_RELOC_RISCV_ADD8,
+  BFD_RELOC_RISCV_ADD16,
+  BFD_RELOC_RISCV_ADD32,
+  BFD_RELOC_RISCV_ADD64,
+  BFD_RELOC_RISCV_SUB8,
+  BFD_RELOC_RISCV_SUB16,
+  BFD_RELOC_RISCV_SUB32,
+  BFD_RELOC_RISCV_SUB64,
+  BFD_RELOC_RISCV_GOT_HI20,
+  BFD_RELOC_RISCV_TLS_GOT_HI20,
+  BFD_RELOC_RISCV_TLS_GD_HI20,
+  BFD_RELOC_RISCV_JMP,
+  BFD_RELOC_RISCV_TLS_DTPMOD32,
+  BFD_RELOC_RISCV_TLS_DTPREL32,
+  BFD_RELOC_RISCV_TLS_DTPMOD64,
+  BFD_RELOC_RISCV_TLS_DTPREL64,
+  BFD_RELOC_RISCV_TLS_TPREL32,
+  BFD_RELOC_RISCV_TLS_TPREL64,
+  BFD_RELOC_RISCV_ALIGN,
 
 /* H8 elf Relocations.  */
   BFD_RELOC_H8_DIR16A8,
diff -r 84b5bf8519a5 -r 918fec2a75e9 external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd_stdint.h
--- a/external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd_stdint.h       Sat Aug 15 16:39:58 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/powerpc/bfd_stdint.h       Sat Aug 15 19:54:02 2015 +0000
@@ -1,8 +1,8 @@
 /* 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  */
 
-/* generated for  powerpc--netbsd-gcc (NetBSD nb1 20120916) 4.5.4 */
+/* generated for  powerpc--netbsd-gcc (NetBSD nb2 20150115) 4.8.5 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1
diff -r 84b5bf8519a5 -r 918fec2a75e9 external/gpl3/binutils/lib/libiberty/arch/powerpc/config.h
--- a/external/gpl3/binutils/lib/libiberty/arch/powerpc/config.h        Sat Aug 15 16:39:58 2015 +0000
+++ b/external/gpl3/binutils/lib/libiberty/arch/powerpc/config.h        Sat Aug 15 19:54:02 2015 +0000
@@ -1,6 +1,6 @@
 /* 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  */
 
 /* config.h.  Generated from config.in by configure.  */
 /* config.in.  Generated from configure.ac by autoheader.  */
@@ -169,7 +169,7 @@
 #define HAVE_MEMSET 1
 
 /* Define to 1 if you have the `mkstemps' function. */
-/* #undef HAVE_MKSTEMPS */
+#define HAVE_MKSTEMPS 1
 
 /* Define to 1 if you have a working `mmap' system call. */
 #define HAVE_MMAP 1
diff -r 84b5bf8519a5 -r 918fec2a75e9 external/gpl3/binutils/lib/libiberty/arch/powerpc/defs.mk
--- a/external/gpl3/binutils/lib/libiberty/arch/powerpc/defs.mk Sat Aug 15 16:39:58 2015 +0000
+++ b/external/gpl3/binutils/lib/libiberty/arch/powerpc/defs.mk Sat Aug 15 19:54:02 2015 +0000
@@ -1,8 +1,8 @@
 # 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 
 #
 G_ALLOCA=
 G_EXTRA_OFILES=
-G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o
+G_LIBOBJS=mempcpy.o strverscmp.o
 G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o  md5.o sha1.o alloca.o              argv.o                                          choose-temp.o concat.o                  cp-demint.o crc32.o    
                         dwarfnames.o dyn-string.o                       fdmatch.o fibheap.o                             filename_cmp.o floatformat.o            fnmatch.o fopen_unlocked.o             
         getopt.o getopt1.o getpwd.o     getruntime.o hashtab.o hex.o    lbasename.o lrealpath.o                         make-relative-prefix.o make-temp-file.o         objalloc.o                     
                         obstack.o                                               partition.o pexecute.o physmem.o        pex-common.o pex-one.o                  pex-unix.o                             
                 safe-ctype.o                                            simple-object.o simple-object-coff.o    simple-object-elf.o simple-object-mach-o.o      sort.o spaces.o                        
         splay-tree.o stack-limit.o                      strerror.o strsignal.o                  timeval-utils.o unlink-if-ordinary.o    xatexit.o xexit.o xmalloc.o     xmemdup.o xstrdup.o 
xstrerror.o         xstrndup.o
diff -r 84b5bf8519a5 -r 918fec2a75e9 external/gpl3/binutils/usr.bin/ld/arch/powerpc/defs.mk
--- a/external/gpl3/binutils/usr.bin/ld/arch/powerpc/defs.mk    Sat Aug 15 16:39:58 2015 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/powerpc/defs.mk    Sat Aug 15 19:54:02 2015 +0000
@@ -1,12 +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.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 
 #
 G_DEFS=-DHAVE_CONFIG_H
-G_EMUL=elf32ppc
-G_EMULATION_OFILES=eelf32ppc.o eelf32ppclinux.o eelf32ppcsim.o
+G_EMUL=elf32ppc_nbsd
+G_EMULATION_OFILES=eelf32ppc_nbsd.o eelf32ppc.o eelf32ppcsim.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 eelf32ppc.o eelf32ppclinux.o eelf32ppcsim.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 eelf32ppc_nbsd.o eelf32ppc.o eelf32ppcsim.o 
 G_STRINGIFY=astring.sed
 G_TEXINFOS=ld.texinfo
 G_target_alias=powerpc--netbsd
diff -r 84b5bf8519a5 -r 918fec2a75e9 external/gpl3/binutils/usr.bin/ld/arch/powerpc/ldemul-list.h
--- a/external/gpl3/binutils/usr.bin/ld/arch/powerpc/ldemul-list.h      Sat Aug 15 16:39:58 2015 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/arch/powerpc/ldemul-list.h      Sat Aug 15 19:54:02 2015 +0000
@@ -1,13 +1,14 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from:     NetBSD: mknative,v 1.9 2003/02/07 01:52:54 lukem 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  */
 
 /* This file is automatically generated.  DO NOT EDIT! */
+extern ld_emulation_xfer_type ld_elf32ppc_nbsd_emulation;
 extern ld_emulation_xfer_type ld_elf32ppc_emulation;
-extern ld_emulation_xfer_type ld_elf32ppclinux_emulation;
 extern ld_emulation_xfer_type ld_elf32ppcsim_emulation;
 
 #define EMULATION_LIST \
+  &ld_elf32ppc_nbsd_emulation, \
   &ld_elf32ppc_emulation, \
-  &ld_elf32ppclinux_emulation, \
   &ld_elf32ppcsim_emulation, \
   0



Home | Main Index | Thread Index | Old Index