From: Elena Zannoni Date: Mon, 19 Aug 2002 21:12:34 +0000 (+0000) Subject: 2002-08-19 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d62b1198f8a87d2376029038c7fc835475e07eb8;p=binutils-gdb.git 2002-08-19 Elena Zannoni * archures.c (bfd_mach_ppc_e500): Added. * bfd-in2.h: Rebuilt. * cpu-powerpc.c (bfd_powerpc_archs): Added e500. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7b0f782f3ae..03d3236aec7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2002-08-19 Elena Zannoni + + * archures.c (bfd_mach_ppc_e500): Added. + * bfd-in2.h: Rebuilt. + * cpu-powerpc.c (bfd_powerpc_archs): Added e500. + 2002-08-19 Alan Modra * elf32-m68hc12.c (elf_backend_can_gc_sections): False. diff --git a/bfd/archures.c b/bfd/archures.c index 76094cca6ce..dd51ec75517 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -182,6 +182,7 @@ DESCRIPTION .#define bfd_mach_ppc_rs64ii 642 .#define bfd_mach_ppc_rs64iii 643 .#define bfd_mach_ppc_7400 7400 +.#define bfd_mach_ppc_e500 500 . bfd_arch_rs6000, {* IBM RS/6000 *} .#define bfd_mach_rs6k 0 .#define bfd_mach_rs6k_rs1 6001 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index f6ed460208d..1a869f631b8 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1572,6 +1572,7 @@ enum bfd_architecture #define bfd_mach_ppc_rs64ii 642 #define bfd_mach_ppc_rs64iii 643 #define bfd_mach_ppc_7400 7400 +#define bfd_mach_ppc_e500 500 bfd_arch_rs6000, /* IBM RS/6000 */ #define bfd_mach_rs6k 0 #define bfd_mach_rs6k_rs1 6001 diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c index 55236697d71..b282c6031b9 100644 --- a/bfd/cpu-powerpc.c +++ b/bfd/cpu-powerpc.c @@ -269,6 +269,20 @@ const bfd_arch_info_type bfd_powerpc_archs[] = bfd_default_scan, &bfd_powerpc_archs[13] }, + { + 32, /* 32 bits in a word */ + 32, /* 32 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_powerpc, + bfd_mach_ppc_e500, + "powerpc", + "powerpc:e500", + 3, + false, + powerpc_compatible, + bfd_default_scan, + &bfd_powerpc_archs[14] + }, { 32, /* 32 bits in a word */ 32, /* 32 bits in an address */