From b9815469d50e37457b8fa9a2da58521de9291eea Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 7 Nov 2000 00:43:26 +0000 Subject: ia64-hpux patches from Steve Ellcey. * archures.c: (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32) Add defines to differentiate elf32 and elf64 on ia64. * bfd-in2.h: Regenerate. * config.bfd: Add target for "ia64*-*-hpux*". * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. * configure: Regenerate. * cpu-ia64.c (bfd_ia64_elf32_arch) Add elf32 arch info structure. * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. * Makefile.in: Regnerate. * elf64-ia64.c: Deleted * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c. --- bfd/cpu-ia64.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'bfd/cpu-ia64.c') diff --git a/bfd/cpu-ia64.c b/bfd/cpu-ia64.c index 8069b1a9ef..0bbd095bc2 100644 --- a/bfd/cpu-ia64.c +++ b/bfd/cpu-ia64.c @@ -23,20 +23,36 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sysdep.h" #include "libbfd.h" +const bfd_arch_info_type bfd_ia64_elf32_arch = + { + 64, /* 64 bits in a word */ + 32, /* 32 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_ia64, + bfd_mach_ia64_elf32, + "ia64", + "ia64-elf32", + 3, /* log2 of section alignment */ + true, /* the one and only */ + bfd_default_compatible, + bfd_default_scan , + 0, + }; + const bfd_arch_info_type bfd_ia64_arch = { 64, /* 64 bits in a word */ 64, /* 64 bits in an address */ 8, /* 8 bits in a byte */ bfd_arch_ia64, - 0, /* only 1 machine */ - "ia64", + bfd_mach_ia64_elf64, "ia64", + "ia64-elf64", 3, /* log2 of section alignment */ true, /* the one and only */ bfd_default_compatible, bfd_default_scan , - 0, + &bfd_ia64_elf32_arch, }; #include "cpu-ia64-opc.c" -- cgit v1.2.1