summaryrefslogtreecommitdiff
path: root/bfd/cpu-powerpc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-27 10:22:03 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-27 10:22:03 +0000
commit2c8910548ecf2da19f7d1dd89b33e48c9b12fd3e (patch)
treea3c579e980ddf86983a4fd369849f44b32663711 /bfd/cpu-powerpc.c
parent9680ce9a812e6c86006be97df987ed353bb2bd92 (diff)
downloadgdb-2c8910548ecf2da19f7d1dd89b33e48c9b12fd3e.tar.gz
* config.bfd: Add powerpc64 target. Add powerpc64 vectors to
targ64_selvecs for 32 bit powerpc targets. * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo. (BFD64_BACKENDS_CFILES): Add elf64-ppc.c. Run "make dep-am". * Makefile.in: Regenerate. * configure.in: Add elf64_powerpc vecs. * configure: Regenerate. * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit. * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target. * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec. * elf64-ppc.c: New file. * reloc.c: Add powerpc64 relocs. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/cpu-powerpc.c')
-rw-r--r--bfd/cpu-powerpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c
index 235ec296743..3e7a51cf5ef 100644
--- a/bfd/cpu-powerpc.c
+++ b/bfd/cpu-powerpc.c
@@ -1,5 +1,5 @@
/* BFD PowerPC CPU definition
- Copyright 1994, 1995, 1996, 2000 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1996, 2000, 2001 Free Software Foundation, Inc.
Contributed by Ian Lance Taylor, Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -128,7 +128,7 @@ static const bfd_arch_info_type arch_info_struct[] =
"powerpc",
"powerpc:620",
3,
- false, /* not the default */
+ BFD_DEFAULT_TARGET_SIZE == 64, /* default for 64 bit target */
powerpc_compatible,
bfd_default_scan,
&arch_info_struct[6]
@@ -229,7 +229,7 @@ const bfd_arch_info_type bfd_powerpc_arch =
"powerpc",
"powerpc:common",
3,
- true, /* the default */
+ BFD_DEFAULT_TARGET_SIZE != 64, /* default for 32 bit target */
powerpc_compatible,
bfd_default_scan,
&arch_info_struct[0]