aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-06 16:35:18 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-06 16:35:18 +0100
commitd924db559be94e668253a272f70870c85aecc60e (patch)
treeedba5d6308cf015a64370790ef99ed31fe20cfbe /bfd/reloc.c
parent1945cfa59de0a6093011891e1974ac2b6d25658f (diff)
downloadgdb-d924db559be94e668253a272f70870c85aecc60e.zip
gdb-d924db559be94e668253a272f70870c85aecc60e.tar.gz
gdb-d924db559be94e668253a272f70870c85aecc60e.tar.bz2
Add Visium support to bfd
bfd/ * config.bfd: Add Visium support. * configure.ac: Likewise. * configure: Regenerate. * Makefile.am (ALL_MACHINES): Add cpu-visium.lo. (ALL_MACHINES_CFILES): Add cpu-visium.c. (BFD32_BACKENDS): Add elf32-visium.lo. (BFD32_BACKENDS_CFILES): Add elf32-visium.c. * Makefile.in: Regenerate. * archures.c (DESCRIPTION): Add Visium support. (bfd_visium_arch): Declare. (bfd_archures_list): Add bfd_visium_arch. * reloc.c: Add Visium relocations. * targets.c (visium_elf32_vec): Declare. (_bfd_target_vector): Add visium_elf32_vec. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. * cpu-visium.c: New file. * elf32-visium.c: Likewise. * po/SRC-POTFILES.in: Regenerate. include/elf/ * common.h (EM_VISIUM): Define. * visium.h: New file.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 89e46f3..d902a9b 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -7301,6 +7301,7 @@ ENUMX
BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD
ENUMDOC
Tilera TILE-Gx Relocations.
+
ENUM
BFD_RELOC_EPIPHANY_SIMM8
ENUMDOC
@@ -7330,6 +7331,22 @@ ENUM
ENUMDOC
Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction.
+ENUM
+ BFD_RELOC_VISIUM_HI16
+ENUMX
+ BFD_RELOC_VISIUM_LO16
+ENUMX
+ BFD_RELOC_VISIUM_IM16
+ENUMX
+ BFD_RELOC_VISIUM_REL16
+ENUMX
+ BFD_RELOC_VISIUM_HI16_PCREL
+ENUMX
+ BFD_RELOC_VISIUM_LO16_PCREL
+ENUMX
+ BFD_RELOC_VISIUM_IM16_PCREL
+ENUMDOC
+ Visium Relocations.
ENDSENUM
BFD_RELOC_UNUSED