Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/lib/libbfd Regen for new RISCV binutils.
details: https://anonhg.NetBSD.org/src/rev/91c5214db9e2
branches: trunk
changeset: 336948:91c5214db9e2
user: matt <matt%NetBSD.org@localhost>
date: Sat Mar 28 07:03:23 2015 +0000
description:
Regen for new RISCV binutils.
Add elfnn-riscv.c -> elf{32,64}-riscv.c rules
diffstat:
external/gpl3/binutils/lib/libbfd/Makefile | 10 ++-
external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd.h | 44 ++++++------
external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd_stdint.h | 2 +-
external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd.h | 44 ++++++------
external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd_stdint.h | 2 +-
5 files changed, 53 insertions(+), 49 deletions(-)
diffs (180 lines):
diff -r 222ba3f9fe25 -r 91c5214db9e2 external/gpl3/binutils/lib/libbfd/Makefile
--- a/external/gpl3/binutils/lib/libbfd/Makefile Sat Mar 28 04:13:25 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/Makefile Sat Mar 28 07:03:23 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2014/03/10 07:28:33 mrg Exp $
+# $NetBSD: Makefile,v 1.13 2015/03/28 07:03:23 matt Exp $
NOLINKLIB= # defined
NOLINT= # defined
@@ -86,6 +86,14 @@
${_MKTARGET_CREATE}
${TOOL_SED} -e s/NN/64/g < $> > $@
+elf32-riscv.c: elfnn-riscv.c
+ ${_MKTARGET_CREATE}
+ ${TOOL_SED} -e s/NN/32/g < $> > $@
+
+elf64-riscv.c: elfnn-riscv.c
+ ${_MKTARGET_CREATE}
+ ${TOOL_SED} -e s/NN/64/g < $> > $@
+
peigen.c: peXXigen.c
${_MKTARGET_CREATE}
${TOOL_SED} -e s/XX/pe/g < $> > $@
diff -r 222ba3f9fe25 -r 91c5214db9e2 external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd.h
--- a/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd.h Sat Mar 28 04:13:25 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd.h Sat Mar 28 07:03:23 2015 +0000
@@ -4839,41 +4839,39 @@
BFD_RELOC_OR1K_TLS_DTPMOD,
/* RISC-V relocations. */
- BFD_RELOC_RISCV_ADD32,
- BFD_RELOC_RISCV_ADD64,
- BFD_RELOC_RISCV_SUB32,
- BFD_RELOC_RISCV_SUB64,
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_PCREL_LO12_I,
- BFD_RELOC_RISCV_PCREL_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_PCREL_HI20,
+ 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_GOT_HI20,
- BFD_RELOC_RISCV_GOT_LO12,
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_TPREL_HI20,
- BFD_RELOC_RISCV_TPREL_ADD,
- BFD_RELOC_RISCV_TPREL_LO12_S,
- BFD_RELOC_RISCV_TPREL_LO12_I,
- BFD_RELOC_RISCV_TLS_IE_HI20,
- BFD_RELOC_RISCV_TLS_IE_LO12,
- BFD_RELOC_RISCV_TLS_IE_ADD,
- BFD_RELOC_RISCV_TLS_IE_LO12_S,
- BFD_RELOC_RISCV_TLS_IE_LO12_I,
- BFD_RELOC_RISCV_TLS_GOT_HI20,
- BFD_RELOC_RISCV_TLS_GOT_LO12,
- BFD_RELOC_RISCV_TLS_GD_HI20,
- BFD_RELOC_RISCV_TLS_GD_LO12,
- BFD_RELOC_RISCV_TLS_PCREL_LO12,
+ BFD_RELOC_RISCV_ALIGN,
/* H8 elf Relocations. */
BFD_RELOC_H8_DIR16A8,
diff -r 222ba3f9fe25 -r 91c5214db9e2 external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd_stdint.h
--- a/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd_stdint.h Sat Mar 28 04:13:25 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd_stdint.h Sat Mar 28 07:03:23 2015 +0000
@@ -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 */
-/* generated for riscv32--netbsd-gcc (NetBSD nb1 20140527) 4.8.3 */
+/* generated for riscv32--netbsd-gcc (NetBSD nb2 20150115) 4.8.4 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
diff -r 222ba3f9fe25 -r 91c5214db9e2 external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd.h
--- a/external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd.h Sat Mar 28 04:13:25 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd.h Sat Mar 28 07:03:23 2015 +0000
@@ -4839,41 +4839,39 @@
BFD_RELOC_OR1K_TLS_DTPMOD,
/* RISC-V relocations. */
- BFD_RELOC_RISCV_ADD32,
- BFD_RELOC_RISCV_ADD64,
- BFD_RELOC_RISCV_SUB32,
- BFD_RELOC_RISCV_SUB64,
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_PCREL_LO12_I,
- BFD_RELOC_RISCV_PCREL_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_PCREL_HI20,
+ 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_GOT_HI20,
- BFD_RELOC_RISCV_GOT_LO12,
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_TPREL_HI20,
- BFD_RELOC_RISCV_TPREL_ADD,
- BFD_RELOC_RISCV_TPREL_LO12_S,
- BFD_RELOC_RISCV_TPREL_LO12_I,
- BFD_RELOC_RISCV_TLS_IE_HI20,
- BFD_RELOC_RISCV_TLS_IE_LO12,
- BFD_RELOC_RISCV_TLS_IE_ADD,
- BFD_RELOC_RISCV_TLS_IE_LO12_S,
- BFD_RELOC_RISCV_TLS_IE_LO12_I,
- BFD_RELOC_RISCV_TLS_GOT_HI20,
- BFD_RELOC_RISCV_TLS_GOT_LO12,
- BFD_RELOC_RISCV_TLS_GD_HI20,
- BFD_RELOC_RISCV_TLS_GD_LO12,
- BFD_RELOC_RISCV_TLS_PCREL_LO12,
+ BFD_RELOC_RISCV_ALIGN,
/* H8 elf Relocations. */
BFD_RELOC_H8_DIR16A8,
diff -r 222ba3f9fe25 -r 91c5214db9e2 external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd_stdint.h
--- a/external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd_stdint.h Sat Mar 28 04:13:25 2015 +0000
+++ b/external/gpl3/binutils/lib/libbfd/arch/riscv64/bfd_stdint.h Sat Mar 28 07:03:23 2015 +0000
@@ -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 */
-/* generated for riscv64--netbsd-gcc (NetBSD nb1 20140527) 4.8.3 */
+/* generated for riscv64--netbsd-gcc (NetBSD nb2 20150115) 4.8.4 */
#ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1
Home |
Main Index |
Thread Index |
Old Index