aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6253bb5..e178d33 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 8222502..b8437bb 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 91870d4..9db2401 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"
}
}