diff options
author | Alan Modra <amodra@gmail.com> | 2002-02-05 03:35:19 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-02-05 03:35:19 +0000 |
commit | 899f54f5ee7e2daae5aefe04d215ea9eedb66dd6 (patch) | |
tree | ff8c6a9017026ab4c654084e8aa4ceb4567539f3 /bfd/archures.c | |
parent | b082f19936cbea9e0fe5fb00e5c3219ecc797968 (diff) | |
download | gdb-899f54f5ee7e2daae5aefe04d215ea9eedb66dd6.zip gdb-899f54f5ee7e2daae5aefe04d215ea9eedb66dd6.tar.gz gdb-899f54f5ee7e2daae5aefe04d215ea9eedb66dd6.tar.bz2 |
* archures (bfd_mach_ppc64): Define.
(bfd_powerpc_arch): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Move to tail of bfd_powerpc_archs.
(bfd_powerpc_archs): Add default powerpc64 arch.
* gas/ppc/test1elf64.d: Tweak arch name.
Diffstat (limited to 'bfd/archures.c')
-rw-r--r-- | bfd/archures.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/archures.c b/bfd/archures.c index 892a379..68057a4 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -165,6 +165,7 @@ DESCRIPTION . bfd_arch_pdp11, {* DEC PDP-11 *} . bfd_arch_powerpc, {* PowerPC *} .#define bfd_mach_ppc 0 +.#define bfd_mach_ppc64 1 .#define bfd_mach_ppc_403 403 .#define bfd_mach_ppc_403gc 4030 .#define bfd_mach_ppc_505 505 @@ -332,7 +333,8 @@ extern const bfd_arch_info_type bfd_openrisc_arch; extern const bfd_arch_info_type bfd_or32_arch; extern const bfd_arch_info_type bfd_pdp11_arch; extern const bfd_arch_info_type bfd_pj_arch; -extern const bfd_arch_info_type bfd_powerpc_arch; +extern const bfd_arch_info_type bfd_powerpc_archs[]; +#define bfd_powerpc_arch bfd_powerpc_archs[0] extern const bfd_arch_info_type bfd_rs6000_arch; extern const bfd_arch_info_type bfd_s390_arch; extern const bfd_arch_info_type bfd_sh_arch; |