aboutsummaryrefslogtreecommitdiff
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
commitbbe66d0820f3a72f8e7a0bc56df60cfc48f15157 (patch)
tree6b6ec30f3e4bb370cb9969c0f75f05228c4b32f6 /bfd/cpu-ia64.c
parent8a1a01128de8adbea128525c11808b57bc9b04cd (diff)
downloadgdb-bbe66d0820f3a72f8e7a0bc56df60cfc48f15157.zip
gdb-bbe66d0820f3a72f8e7a0bc56df60cfc48f15157.tar.gz
gdb-bbe66d0820f3a72f8e7a0bc56df60cfc48f15157.tar.bz2
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 8069b1a..0bbd095 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"