From d924db559be94e668253a272f70870c85aecc60e Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 6 Dec 2014 16:35:18 +0100 Subject: 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. --- bfd/archures.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/archures.c') 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, -- cgit v1.1