projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash when TUI window creation fails
[deliverable/binutils-gdb.git]
/
bfd
/
cpu-score.c
diff --git
a/bfd/cpu-score.c
b/bfd/cpu-score.c
index f05afd07c7cbcdd994afb5dccde6ed4b1183aa84..58c8340021260eabe556c9f695856b61cfd6f1bf 100644
(file)
--- a/
bfd/cpu-score.c
+++ b/
bfd/cpu-score.c
@@
-1,5
+1,5
@@
/* BFD support for the score processor
/* BFD support for the score processor
- Copyright (C) 2006-20
16
Free Software Foundation, Inc.
+ Copyright (C) 2006-20
20
Free Software Foundation, Inc.
Contributed by
Brain.lin (brain.lin@sunplusct.com)
Mei Ligang (ligang@sunnorth.com.cn)
Contributed by
Brain.lin (brain.lin@sunplusct.com)
Mei Ligang (ligang@sunnorth.com.cn)
@@
-43,11
+43,11
@@
compatible (const bfd_arch_info_type * a, const bfd_arch_info_type * b)
return a;
}
return a;
}
-#define N(
addr_bits, machine, print, default, next)
\
+#define N(
machine, print, default, next)
\
{ \
{ \
- 32, /*
16 bits in a word. */
\
+ 32, /*
Bits in a word. */
\
32, /* Bits in an address. */ \
32, /* Bits in an address. */ \
- 8, /*
8 bits in a byte. */
\
+ 8, /*
Bits in a byte. */
\
bfd_arch_score, \
machine, /* Machine number. */ \
"score", /* Architecture name. */ \
bfd_arch_score, \
machine, /* Machine number. */ \
"score", /* Architecture name. */ \
@@
-57,13
+57,14
@@
compatible (const bfd_arch_info_type * a, const bfd_arch_info_type * b)
compatible, \
bfd_default_scan, \
bfd_arch_default_fill, \
compatible, \
bfd_default_scan, \
bfd_arch_default_fill, \
- next \
+ next, \
+ 0 /* Maximum offset of a reloc from the start of an insn. */ \
}
static const bfd_arch_info_type arch_info_struct[] =
{
}
static const bfd_arch_info_type arch_info_struct[] =
{
- N (
16,
bfd_mach_score3, "score3", FALSE, NULL),
+ N (bfd_mach_score3, "score3", FALSE, NULL),
};
const bfd_arch_info_type bfd_score_arch =
};
const bfd_arch_info_type bfd_score_arch =
- N (
16,
bfd_mach_score7, "score7", TRUE, & arch_info_struct[0]);
+ N (bfd_mach_score7, "score7", TRUE, & arch_info_struct[0]);
This page took
0.0249 seconds
and
4
git commands to generate.