]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
missed from 20080414 commit for e500mc support
authorAlan Modra <amodra@gmail.com>
Wed, 30 Apr 2008 06:47:24 +0000 (06:47 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 30 Apr 2008 06:47:24 +0000 (06:47 +0000)
bfd/ChangeLog
bfd/cpu-powerpc.c
gas/testsuite/gas/ppc/ppc.exp

index 6253bb58e68ea7cbad7c9e298453c51cfc3ecbc0..e178d333d3ded1280336d63a2a5ed63519406306 100644 (file)
@@ -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)
index 8222502e3fe65a18d5b5d61d024acaf023ad51a9..b8437bbc4eac7e3cdcf7acf84dc39d826106d105 100644 (file)
@@ -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 */
index 91870d426fa479fa9833f5cdea0c222b4e72b7e8..9db2401310b14644b40a7b4d594d5e887103ab04 100644 (file)
@@ -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"
     }
 }