summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-04-30 06:47:24 +0000
committerAlan Modra <amodra@gmail.com>2008-04-30 06:47:24 +0000
commit9239aded50255b4bd942cd43c0eaaf8ada21fb08 (patch)
tree8953356a55553813d24c822dfd6a3ef086af87c6
parent2b661f3dc26d58c8aadbe1a912be38d53872ed5b (diff)
downloadbinutils-gdb-9239aded50255b4bd942cd43c0eaaf8ada21fb08.tar.gz
missed from 20080414 commit for e500mc support
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/cpu-powerpc.c18
-rw-r--r--gas/testsuite/gas/ppc/ppc.exp1
3 files changed, 21 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6253bb58e68..e178d333d3d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-30 Edmar Wienskoski <edmar@freescale.com>
+
+ * cpu-powerpc.c (bfd_powerpc_archs): Add e500mc entry.
+
2008-04-29 Daniel Jacobowitz <dan@codesourcery.com>
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound)
diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c
index 8222502e3fe..b8437bbc4ea 100644
--- a/bfd/cpu-powerpc.c
+++ b/bfd/cpu-powerpc.c
@@ -1,5 +1,5 @@
/* BFD PowerPC CPU definition
- Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2007
+ Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2007, 2008
Free Software Foundation, Inc.
Contributed by Ian Lance Taylor, Cygnus Support.
@@ -285,6 +285,20 @@ const bfd_arch_info_type bfd_powerpc_archs[] =
&bfd_powerpc_archs[14]
},
{
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_powerpc,
+ bfd_mach_ppc_e500mc,
+ "powerpc",
+ "powerpc:e500mc",
+ 3,
+ FALSE, /* not the default */
+ powerpc_compatible,
+ bfd_default_scan,
+ &bfd_powerpc_archs[15]
+ },
+ {
32, /* 32 bits in a word */
32, /* 32 bits in an address */
8, /* 8 bits in a byte */
@@ -296,7 +310,7 @@ const bfd_arch_info_type bfd_powerpc_archs[] =
FALSE, /* not the default */
powerpc_compatible,
bfd_default_scan,
- &bfd_powerpc_archs[15]
+ &bfd_powerpc_archs[16]
},
{
32, /* 32 bits in a word */
diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp
index 91870d426fa..9db2401310b 100644
--- a/gas/testsuite/gas/ppc/ppc.exp
+++ b/gas/testsuite/gas/ppc/ppc.exp
@@ -44,5 +44,6 @@ if { [istarget powerpc*-*-*] } then {
run_dump_test "e500"
run_list_test "range" "-a32"
run_dump_test "ppc750ps"
+ run_dump_test "e500mc"
}
}