* config/tc-h8300.c: Make some functions and global
variables static appropriately.
This commit is contained in:
parent
d492b58e48
commit
600e9c9985
|
@ -1,3 +1,8 @@
|
||||||
|
2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
|
* config/tc-h8300.c: Make some functions and global
|
||||||
|
variables static appropriately.
|
||||||
|
|
||||||
2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
|
2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* config/obj-ieee.c: Remove duplicate prototypes.
|
* config/obj-ieee.c: Remove duplicate prototypes.
|
||||||
|
|
|
@ -43,23 +43,23 @@ const char comment_chars[] = ";";
|
||||||
const char line_comment_chars[] = "#";
|
const char line_comment_chars[] = "#";
|
||||||
const char line_separator_chars[] = "";
|
const char line_separator_chars[] = "";
|
||||||
|
|
||||||
void sbranch (int);
|
static void sbranch (int);
|
||||||
void h8300hmode (int);
|
static void h8300hmode (int);
|
||||||
void h8300smode (int);
|
static void h8300smode (int);
|
||||||
void h8300hnmode (int);
|
static void h8300hnmode (int);
|
||||||
void h8300snmode (int);
|
static void h8300snmode (int);
|
||||||
void h8300sxmode (int);
|
static void h8300sxmode (int);
|
||||||
void h8300sxnmode (int);
|
static void h8300sxnmode (int);
|
||||||
static void pint (int);
|
static void pint (int);
|
||||||
|
|
||||||
int Hmode;
|
static int Hmode;
|
||||||
int Smode;
|
static int Smode;
|
||||||
int Nmode;
|
static int Nmode;
|
||||||
int SXmode;
|
static int SXmode;
|
||||||
|
|
||||||
#define PSIZE (Hmode && !Nmode ? L_32 : L_16)
|
#define PSIZE (Hmode && !Nmode ? L_32 : L_16)
|
||||||
|
|
||||||
int bsize = L_8; /* Default branch displacement. */
|
static int bsize = L_8; /* Default branch displacement. */
|
||||||
|
|
||||||
struct h8_instruction
|
struct h8_instruction
|
||||||
{
|
{
|
||||||
|
@ -70,9 +70,9 @@ struct h8_instruction
|
||||||
const struct h8_opcode *opcode;
|
const struct h8_opcode *opcode;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct h8_instruction *h8_instructions;
|
static struct h8_instruction *h8_instructions;
|
||||||
|
|
||||||
void
|
static void
|
||||||
h8300hmode (int arg ATTRIBUTE_UNUSED)
|
h8300hmode (int arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
Hmode = 1;
|
Hmode = 1;
|
||||||
|
@ -83,7 +83,7 @@ h8300hmode (int arg ATTRIBUTE_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
h8300smode (int arg ATTRIBUTE_UNUSED)
|
h8300smode (int arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
Smode = 1;
|
Smode = 1;
|
||||||
|
@ -94,7 +94,7 @@ h8300smode (int arg ATTRIBUTE_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
h8300hnmode (int arg ATTRIBUTE_UNUSED)
|
h8300hnmode (int arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
Hmode = 1;
|
Hmode = 1;
|
||||||
|
@ -106,7 +106,7 @@ h8300hnmode (int arg ATTRIBUTE_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
h8300snmode (int arg ATTRIBUTE_UNUSED)
|
h8300snmode (int arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
Smode = 1;
|
Smode = 1;
|
||||||
|
@ -118,7 +118,7 @@ h8300snmode (int arg ATTRIBUTE_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
h8300sxmode (int arg ATTRIBUTE_UNUSED)
|
h8300sxmode (int arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
Smode = 1;
|
Smode = 1;
|
||||||
|
@ -130,7 +130,7 @@ h8300sxmode (int arg ATTRIBUTE_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
h8300sxnmode (int arg ATTRIBUTE_UNUSED)
|
h8300sxnmode (int arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
Smode = 1;
|
Smode = 1;
|
||||||
|
@ -143,7 +143,7 @@ h8300sxnmode (int arg ATTRIBUTE_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
sbranch (int size)
|
sbranch (int size)
|
||||||
{
|
{
|
||||||
bsize = size;
|
bsize = size;
|
||||||
|
|
Loading…
Reference in New Issue