mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
2001-01-15 Kazu Hirata <kazu@hxi.com>
* config/tc-m68hc11.c: Fix formatting.
This commit is contained in:
parent
d4887adcdb
commit
098f2ec3f5
@ -1,3 +1,7 @@
|
||||
2001-01-15 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/tc-m68hc11.c: Fix formatting.
|
||||
|
||||
2001-01-15 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* symbols.c (colon): Change 'already defined symbol' from a
|
||||
|
@ -61,8 +61,7 @@ const char FLT_CHARS[] = "dD";
|
||||
How many bytes this mode will add to the size of the frag.
|
||||
Which mode to go to if the offset won't fit in this one. */
|
||||
|
||||
relax_typeS md_relax_table[] =
|
||||
{
|
||||
relax_typeS md_relax_table[] = {
|
||||
{1, 1, 0, 0}, /* First entries aren't used. */
|
||||
{1, 1, 0, 0}, /* For no good reason except. */
|
||||
{1, 1, 0, 0}, /* that the VAX doesn't either. */
|
||||
@ -105,8 +104,7 @@ relax_typeS md_relax_table[] =
|
||||
};
|
||||
|
||||
/* 68HC11 and 68HC12 registers. They are numbered according to the 68HC12. */
|
||||
typedef enum register_id
|
||||
{
|
||||
typedef enum register_id {
|
||||
REG_NONE = -1,
|
||||
REG_A = 0,
|
||||
REG_B = 1,
|
||||
@ -118,16 +116,14 @@ typedef enum register_id
|
||||
REG_PC = 8
|
||||
} register_id;
|
||||
|
||||
typedef struct operand
|
||||
{
|
||||
typedef struct operand {
|
||||
expressionS exp;
|
||||
register_id reg1;
|
||||
register_id reg2;
|
||||
int mode;
|
||||
} operand;
|
||||
|
||||
struct m68hc11_opcode_def
|
||||
{
|
||||
struct m68hc11_opcode_def {
|
||||
long format;
|
||||
int min_operands;
|
||||
int max_operands;
|
||||
@ -139,15 +135,12 @@ struct m68hc11_opcode_def
|
||||
static struct m68hc11_opcode_def *m68hc11_opcode_defs = 0;
|
||||
static int m68hc11_nb_opcode_defs = 0;
|
||||
|
||||
typedef struct alias
|
||||
{
|
||||
typedef struct alias {
|
||||
const char *name;
|
||||
const char *alias;
|
||||
}
|
||||
alias;
|
||||
} alias;
|
||||
|
||||
static alias alias_opcodes[] =
|
||||
{
|
||||
static alias alias_opcodes[] = {
|
||||
{"cpd", "cmpd"},
|
||||
{"cpx", "cmpx"},
|
||||
{"cpy", "cmpy"},
|
||||
@ -227,8 +220,7 @@ static struct m68hc11_opcode *m68hc11_sorted_opcodes;
|
||||
pseudo-op name without dot
|
||||
function to call to execute this pseudo-op
|
||||
Integer arg to pass to the function. */
|
||||
const pseudo_typeS md_pseudo_table[] =
|
||||
{
|
||||
const pseudo_typeS md_pseudo_table[] = {
|
||||
/* The following pseudo-ops are supported for MRI compatibility. */
|
||||
{"fcb", cons, 1},
|
||||
{"fdb", cons, 2},
|
||||
@ -244,8 +236,7 @@ const pseudo_typeS md_pseudo_table[] =
|
||||
|
||||
CONST char *md_shortopts = "Sm:";
|
||||
|
||||
struct option md_longopts[] =
|
||||
{
|
||||
struct option md_longopts[] = {
|
||||
#define OPTION_FORCE_LONG_BRANCH (OPTION_MD_BASE)
|
||||
{"force-long-branchs", no_argument, NULL, OPTION_FORCE_LONG_BRANCH},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user