aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.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/targets.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/targets.c')
-rw-r--r--bfd/targets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 6a282ea..71e59e0 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -876,6 +876,7 @@ extern const bfd_target vax_aout_1knbsd_vec;
extern const bfd_target vax_aout_bsd_vec;
extern const bfd_target vax_aout_nbsd_vec;
extern const bfd_target vax_elf32_vec;
+extern const bfd_target visium_elf32_vec;
extern const bfd_target w65_coff_vec;
extern const bfd_target we32k_coff_vec;
extern const bfd_target x86_64_coff_vec;
@@ -1385,6 +1386,8 @@ static const bfd_target * const _bfd_target_vector[] =
&vax_aout_nbsd_vec,
&vax_elf32_vec,
+ &visium_elf32_vec,
+
&w65_coff_vec,
&we32k_coff_vec,