2000-09-09 Kazu Hirata <kazu@hxi.com>
* input-file.c: Fix formatting. * itbl-ops.c: Likewise. * messages.c: Likewise.
This commit is contained in:
parent
27985c55a4
commit
c488923f16
4 changed files with 76 additions and 80 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2000-09-09 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* input-file.c: Fix formatting.
|
||||||
|
* itbl-ops.c: Likewise.
|
||||||
|
* messages.c: Likewise.
|
||||||
|
|
||||||
2000-09-08 Philip Blundell <philb@gnu.org>
|
2000-09-08 Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
* config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
|
* config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
|
||||||
|
|
|
@ -128,7 +128,6 @@ struct itbl_field
|
||||||
struct itbl_field *next; /* next field in list */
|
struct itbl_field *next; /* next field in list */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* These structures define the instructions and registers for a processor.
|
/* These structures define the instructions and registers for a processor.
|
||||||
* If the type is an instruction, the structure defines the format of an
|
* If the type is an instruction, the structure defines the format of an
|
||||||
* instruction where the fields are the list of operands.
|
* instruction where the fields are the list of operands.
|
||||||
|
@ -146,7 +145,6 @@ struct itbl_entry
|
||||||
struct itbl_entry *next; /* next entry */
|
struct itbl_entry *next; /* next entry */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* local data and structures */
|
/* local data and structures */
|
||||||
|
|
||||||
static int itbl_num_opcodes = 0;
|
static int itbl_num_opcodes = 0;
|
||||||
|
@ -178,11 +176,9 @@ static unsigned long extract_range PARAMS ((unsigned long value,
|
||||||
static struct itbl_field *alloc_field PARAMS ((e_type type, int sbit,
|
static struct itbl_field *alloc_field PARAMS ((e_type type, int sbit,
|
||||||
int ebit, unsigned long flags));
|
int ebit, unsigned long flags));
|
||||||
|
|
||||||
|
|
||||||
/*======================================================================*/
|
/*======================================================================*/
|
||||||
/* Interfaces to the parser */
|
/* Interfaces to the parser */
|
||||||
|
|
||||||
|
|
||||||
/* Open the table and use lex and yacc to parse the entries.
|
/* Open the table and use lex and yacc to parse the entries.
|
||||||
* Return 1 for failure; 0 for success. */
|
* Return 1 for failure; 0 for success. */
|
||||||
|
|
||||||
|
@ -269,7 +265,6 @@ itbl_add_operand (struct itbl_entry *e, int yytype, int sbit,
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*======================================================================*/
|
/*======================================================================*/
|
||||||
/* Interfaces for assembler and disassembler */
|
/* Interfaces for assembler and disassembler */
|
||||||
|
|
||||||
|
@ -308,7 +303,6 @@ itbl_init (void)
|
||||||
append_insns_as_macros ();
|
append_insns_as_macros ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Append insns to opcodes table and increase number of opcodes
|
/* Append insns to opcodes table and increase number of opcodes
|
||||||
* Structure of opcodes table:
|
* Structure of opcodes table:
|
||||||
* struct itbl_opcode
|
* struct itbl_opcode
|
||||||
|
@ -454,7 +448,6 @@ form_args (struct itbl_entry *e)
|
||||||
}
|
}
|
||||||
#endif /* !STAND_ALONE */
|
#endif /* !STAND_ALONE */
|
||||||
|
|
||||||
|
|
||||||
/* Get processor's register name from val */
|
/* Get processor's register name from val */
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -501,7 +494,6 @@ itbl_get_val (e_processor processor, e_type type, char *name,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Assemble instruction "name" with operands "s".
|
/* Assemble instruction "name" with operands "s".
|
||||||
* name - name of instruction
|
* name - name of instruction
|
||||||
* s - operands
|
* s - operands
|
||||||
|
@ -869,7 +861,6 @@ get_type (int yytype)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Allocate and initialize an entry */
|
/* Allocate and initialize an entry */
|
||||||
|
|
||||||
static struct itbl_entry *
|
static struct itbl_entry *
|
||||||
|
|
|
@ -124,7 +124,6 @@ had_errors ()
|
||||||
return (error_count);
|
return (error_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Print the current location to stderr. */
|
/* Print the current location to stderr. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue