aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-08-19 21:12:34 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-08-19 21:12:34 +0000
commitd62b1198f8a87d2376029038c7fc835475e07eb8 (patch)
tree390e66828676f265883019ae85b89e712f47303c
parent6a0c61b777e6766a82c94d5e0786ce1769867a05 (diff)
downloadgdb-d62b1198f8a87d2376029038c7fc835475e07eb8.zip
gdb-d62b1198f8a87d2376029038c7fc835475e07eb8.tar.gz
gdb-d62b1198f8a87d2376029038c7fc835475e07eb8.tar.bz2
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
* archures.c (bfd_mach_ppc_e500): Added. * bfd-in2.h: Rebuilt. * cpu-powerpc.c (bfd_powerpc_archs): Added e500.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/archures.c1
-rw-r--r--bfd/bfd-in2.h1
-rw-r--r--bfd/cpu-powerpc.c14
4 files changed, 22 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7b0f782..03d3236 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-19 Elena Zannoni <ezannoni@redhat.com>
+
+ * archures.c (bfd_mach_ppc_e500): Added.
+ * bfd-in2.h: Rebuilt.
+ * cpu-powerpc.c (bfd_powerpc_archs): Added e500.
+
2002-08-19 Alan Modra <amodra@bigpond.net.au>
* elf32-m68hc12.c (elf_backend_can_gc_sections): False.
diff --git a/bfd/archures.c b/bfd/archures.c
index 76094cc..dd51ec7 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 f6ed460..1a869f6 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 5523669..b282c60 100644
--- a/bfd/cpu-powerpc.c
+++ b/bfd/cpu-powerpc.c
@@ -270,6 +270,20 @@ const bfd_arch_info_type bfd_powerpc_archs[] =
&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 */
8, /* 8 bits in a byte */