aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-z8k.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-11-16 00:59:49 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-11-16 00:59:49 +0000
commit19d63e5d2d20b6f1264092d27d9780181c333fa7 (patch)
treea87bd96db9267febf7767bce8e0854cef5b2fb91 /gas/config/tc-z8k.c
parentcbfe05c4c649f887c078c9b7268e4484fbe5d45c (diff)
downloadgdb-19d63e5d2d20b6f1264092d27d9780181c333fa7.zip
gdb-19d63e5d2d20b6f1264092d27d9780181c333fa7.tar.gz
gdb-19d63e5d2d20b6f1264092d27d9780181c333fa7.tar.bz2
2000-11-15 Kazu Hirata <kazu@hxi.com>
* config/tc-tic30.c: Fix formatting. * config/tc-tic80.c: Likewise. * config/tc-v850.c: Likewise. * config/tc-vax.c: Likewise. * config/tc-w65.c: Likewise. * config/tc-z8k.c: Likewise.
Diffstat (limited to 'gas/config/tc-z8k.c')
-rw-r--r--gas/config/tc-z8k.c26
1 files changed, 9 insertions, 17 deletions
diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c
index fcccfda..58c85ea 100644
--- a/gas/config/tc-z8k.c
+++ b/gas/config/tc-z8k.c
@@ -187,15 +187,13 @@ md_begin ()
linkrelax = 1;
}
-struct z8k_exp
-{
+struct z8k_exp {
char *e_beg;
char *e_end;
expressionS e_exp;
};
-typedef struct z8k_op
-{
+typedef struct z8k_op {
/* 'b','w','r','q'. */
char regsize;
@@ -209,9 +207,7 @@ typedef struct z8k_op
/* Any expression. */
expressionS exp;
-}
-
-op_type;
+} op_type;
static expressionS *da_operand;
static expressionS *imm_operand;
@@ -402,8 +398,7 @@ regaddr (mode, string)
}
}
-struct ctrl_names
-{
+struct ctrl_names {
int value;
char *name;
};
@@ -453,8 +448,7 @@ get_ctrl_operand (ptr, mode, dst)
return;
}
-struct flag_names
-{
+struct flag_names {
int value;
char *name;
@@ -507,15 +501,13 @@ get_flags_operand (ptr, mode, dst)
return;
}
-struct interrupt_names
-{
+struct interrupt_names {
int value;
char *name;
};
-struct interrupt_names intr_table[] =
-{
+struct interrupt_names intr_table[] = {
0x1, "nvi",
0x2, "vi",
0x3, "both",
@@ -556,8 +548,7 @@ get_interrupt_operand (ptr, mode, dst)
return;
}
-struct cc_names
-{
+struct cc_names {
int value;
char *name;
@@ -1002,6 +993,7 @@ apply_fix (ptr, type, operand, size)
/* Now we know what sort of opcodes it is. Let's build the bytes. */
#define INSERT(x,y) *x++ = y>>24; *x++ = y>> 16; *x++=y>>8; *x++ =y;
+
static void
build_bytes (this_try, operand)
opcode_entry_type *this_try;