From: Alan Modra Date: Wed, 30 Apr 2008 06:47:24 +0000 (+0000) Subject: missed from 20080414 commit for e500mc support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9239aded50255b4bd942cd43c0eaaf8ada21fb08;p=binutils-gdb.git missed from 20080414 commit for e500mc support --- 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 + + * cpu-powerpc.c (bfd_powerpc_archs): Add e500mc entry. + 2008-04-29 Daniel Jacobowitz * 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. @@ -284,6 +284,20 @@ const bfd_arch_info_type bfd_powerpc_archs[] = 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 */ + 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 */ @@ -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" } }