diff options
author | Alan Modra <amodra@gmail.com> | 2010-01-04 02:32:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-01-04 02:32:56 +0000 |
commit | 0dc9305793c81af5abbfb34743ebb97767d5b59e (patch) | |
tree | ad2866e71a87ada8abbd68f9c5278490632b6e5c /bfd | |
parent | 88714cb802597c5a3214076769b304a04de84af7 (diff) | |
download | gdb-0dc9305793c81af5abbfb34743ebb97767d5b59e.zip gdb-0dc9305793c81af5abbfb34743ebb97767d5b59e.tar.gz gdb-0dc9305793c81af5abbfb34743ebb97767d5b59e.tar.bz2 |
bfd/
* archures.c: Add bfd_mach_ppc_e500mc64.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (bfd_powerpc_archs): Add entry for
bfd_mach_ppc_e500mc64.
gas/
* config/tc-ppc.c (md_show_usage): Document -me500mc64.
opcodes/
* ppc-dis.c (ppc_opts): Add entry for "e500mc64".
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/archures.c | 3 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 1 | ||||
-rw-r--r-- | bfd/cpu-powerpc.c | 18 |
4 files changed, 26 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 44e6334..1bb1aed 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2010-01-04 Edmar Wienskoski <edmar@freescale.com> + + * archures.c: Add bfd_mach_ppc_e500mc64. + * bfd-in2.h: Regenerate. + * cpu-powerpc.c (bfd_powerpc_archs): Add entry for + bfd_mach_ppc_e500mc64. + 2010-01-01 Joel Brobecker <brobecker@adacore.com> Fix -Wshadow warnings (seen on ppc-aix) diff --git a/bfd/archures.c b/bfd/archures.c index 8df2ce1..e6ecae5 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -1,6 +1,6 @@ /* BFD library support routines for architectures. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Hacked by John Gilmore and Steve Chamberlain of Cygnus Support. @@ -230,6 +230,7 @@ DESCRIPTION .#define bfd_mach_ppc_7400 7400 .#define bfd_mach_ppc_e500 500 .#define bfd_mach_ppc_e500mc 5001 +.#define bfd_mach_ppc_e500mc64 5005 . bfd_arch_rs6000, {* IBM RS/6000 *} .#define bfd_mach_rs6k 6000 .#define bfd_mach_rs6k_rs1 6001 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index c78e17d..447f787 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1901,6 +1901,7 @@ enum bfd_architecture #define bfd_mach_ppc_7400 7400 #define bfd_mach_ppc_e500 500 #define bfd_mach_ppc_e500mc 5001 +#define bfd_mach_ppc_e500mc64 5005 bfd_arch_rs6000, /* IBM RS/6000 */ #define bfd_mach_rs6k 6000 #define bfd_mach_rs6k_rs1 6001 diff --git a/bfd/cpu-powerpc.c b/bfd/cpu-powerpc.c index 0b511f3..76eb018 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, 2005, 2007, 2008 + Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2010 Free Software Foundation, Inc. Contributed by Ian Lance Taylor, Cygnus Support. @@ -299,6 +299,20 @@ const bfd_arch_info_type bfd_powerpc_archs[] = &bfd_powerpc_archs[15] }, { + 64, /* 64 bits in a word */ + 64, /* 64 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_powerpc, + bfd_mach_ppc_e500mc64, + "powerpc", + "powerpc:e500mc64", + 3, + FALSE, /* not the default */ + powerpc_compatible, + bfd_default_scan, + &bfd_powerpc_archs[16] + }, + { 32, /* 32 bits in a word */ 32, /* 32 bits in an address */ 8, /* 8 bits in a byte */ @@ -310,7 +324,7 @@ const bfd_arch_info_type bfd_powerpc_archs[] = FALSE, /* not the default */ powerpc_compatible, bfd_default_scan, - &bfd_powerpc_archs[16] + &bfd_powerpc_archs[17] }, { 32, /* 32 bits in a word */ |