summaryrefslogtreecommitdiff
path: root/bfd/cpu-ia64.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2000-11-07 00:43:26 +0000
committerJim Wilson <wilson@tuliptree.org>2000-11-07 00:43:26 +0000
commitb9815469d50e37457b8fa9a2da58521de9291eea (patch)
tree29fb346734fc29123f299b0c8fdcead3b32fa449 /bfd/cpu-ia64.c
parent7fdca652b8544056434118194cde782885ea3579 (diff)
downloadbinutils-redhat-b9815469d50e37457b8fa9a2da58521de9291eea.tar.gz
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.
Diffstat (limited to 'bfd/cpu-ia64.c')
-rw-r--r--bfd/cpu-ia64.c22
1 files changed, 19 insertions, 3 deletions
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"