Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: bfd/cpu-xgate.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bfd/cpu-xc16x.c ('k') | bfd/cpu-xstormy16.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bfd/cpu-xgate.c
diff --git a/bfd/cpu-d30v.c b/bfd/cpu-xgate.c
similarity index 68%
copy from bfd/cpu-d30v.c
copy to bfd/cpu-xgate.c
index d528e9bf67bac34cbb9f4910cd7bdc228766577e..11653fa51a4d4475ad602300e6b6d0a9dd7a3d7b 100644
--- a/bfd/cpu-d30v.c
+++ b/bfd/cpu-xgate.c
@@ -1,6 +1,5 @@
-/* BFD support for the Mitsubishi D30V processor
- Copyright 1997, 2002, 2005, 2007 Free Software Foundation, Inc.
- Contributed by Martin Hunt (hunt@cygnus.com).
+/* BFD support for the Freescale XGATE processor
+ Copyright 2010, 2011, 2012 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -23,18 +22,19 @@
#include "bfd.h"
#include "libbfd.h"
-const bfd_arch_info_type bfd_d30v_arch =
+const bfd_arch_info_type bfd_xgate_arch =
{
- 32, /* Bits in a word. */
- 32, /* Bits in an address. */
- 8, /* Bits in a byte. */
- bfd_arch_d30v,
- 0,
- "d30v",
- "d30v",
- 4, /* Section alignment power. */
+ 16, /* 16 bits in a word. */
+ 32, /* 32 bits used as 16 bit address and PPAGE value. */
+ 8, /* 8 bits in a byte. */
+ bfd_arch_xgate,
+ bfd_mach_xgate,
+ "xgate",
+ "xgate",
+ 4, /* Section alignment power. */
TRUE,
bfd_default_compatible,
bfd_default_scan,
+ bfd_arch_default_fill,
0,
};
« no previous file with comments | « bfd/cpu-xc16x.c ('k') | bfd/cpu-xstormy16.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698