aboutsummaryrefslogtreecommitdiff
path: root/bfd/archures.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/archures.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/archures.c')
-rw-r--r--bfd/archures.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/archures.c b/bfd/archures.c
index 5e069b2..067e654 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -497,6 +497,8 @@ DESCRIPTION
.#define bfd_mach_aarch64_ilp32 32
. bfd_arch_nios2,
.#define bfd_mach_nios2 0
+. bfd_arch_visium, {* Visium *}
+.#define bfd_mach_visium 1
. bfd_arch_last
. };
*/
@@ -616,6 +618,7 @@ extern const bfd_arch_info_type bfd_tilepro_arch;
extern const bfd_arch_info_type bfd_v850_arch;
extern const bfd_arch_info_type bfd_v850_rh850_arch;
extern const bfd_arch_info_type bfd_vax_arch;
+extern const bfd_arch_info_type bfd_visium_arch;
extern const bfd_arch_info_type bfd_w65_arch;
extern const bfd_arch_info_type bfd_we32k_arch;
extern const bfd_arch_info_type bfd_xstormy16_arch;
@@ -702,6 +705,7 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
&bfd_v850_arch,
&bfd_v850_rh850_arch,
&bfd_vax_arch,
+ &bfd_visium_arch,
&bfd_w65_arch,
&bfd_we32k_arch,
&bfd_xstormy16_arch,