This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
cpu-powerpc.c patch for MPC860
- To: binutils at sourceware dot cygnus dot com
- Subject: cpu-powerpc.c patch for MPC860
- From: Steven Johnson <sbjohnson at ozemail dot com dot au>
- Date: Thu, 31 Aug 2000 14:10:40 +1000
I Have added MPC860 Family processor to cpu-powerpc.c there was already a
bfd entry so this was probably an oversight. Ive tested it with GDB, and it
works.
Im not subscribed to this list, so please CC any replies directly to me:
sbjohnson@ozemail.com.au
Steven Johnson
Changelog for bfd:
2000-08-31 Steven Johnson <sbjohnson@ozemail.com.au>
* cpu-powerpc.c - Added MPC860 Family entry to arch_info_struct[]
<<<----- PATCH STARTS HERE ----->>>
diff -C2 -r -b ../gdb_cvs/src/bfd/cpu-powerpc.c src/bfd/cpu-powerpc.c
*** ../gdb_cvs/src/bfd/cpu-powerpc.c Thu Jul 6 11:53:14 2000
--- src/bfd/cpu-powerpc.c Thu Aug 31 13:44:10 2000
***************
*** 202,205 ****
--- 202,219 ----
powerpc_compatible,
bfd_default_scan,
+ &arch_info_struct[11]
+ },
+ {
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_powerpc,
+ bfd_mach_ppc_860,
+ "powerpc",
+ "powerpc:MPC8XX",
+ 3,
+ false, /* not the default */
+ powerpc_compatible,
+ bfd_default_scan,
0
}