aboutsummaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-10-11 20:24:32 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-10-11 20:24:32 +0000
commit30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db (patch)
tree0fdbca6ec40201ce02ba14d5149215753ededfb7 /gas/cgen.c
parentd01e2a23a35139d64687b473b93d7f39b54b9d56 (diff)
downloadgdb-30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db.zip
gdb-30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db.tar.gz
gdb-30a2b4ef8f28ad15ea6bfb17bdf54e164607d8db.tar.bz2
2000-10-12 Kazu Hirata <kazu@hxi.com>
* app.c: Fix formatting. * as.c: Likewise. * as.h: Likewise. * bit_fix.h: Likewise. * cgen.c: Likewise. * cgen.h: Likewise. * cond.c: Likewise.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r--gas/cgen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gas/cgen.c b/gas/cgen.c
index 9c94971..e3cb1c8 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -57,8 +57,7 @@ cgen_asm_record_register (name, number)
OPINDEX is the index in the operand table.
OPINFO is something the caller chooses to help in reloc determination. */
-struct fixup
-{
+struct fixup {
int opindex;
int opinfo;
expressionS exp;
@@ -87,7 +86,7 @@ queue_fixup (opindex, opinfo, expP)
/* We need to generate a fixup for this expression. */
if (num_fixups >= GAS_CGEN_MAX_FIXUPS)
as_fatal (_("too many fixups"));
- fixups[num_fixups].exp = * expP;
+ fixups[num_fixups].exp = *expP;
fixups[num_fixups].opindex = opindex;
fixups[num_fixups].opinfo = opinfo;
++ num_fixups;
@@ -315,7 +314,7 @@ gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP)
*resultP = CGEN_PARSE_OPERAND_RESULT_REGISTER;
break;
default:
- queue_fixup (opindex, opinfo, & exp);
+ queue_fixup (opindex, opinfo, &exp);
*valueP = 0;
*resultP = CGEN_PARSE_OPERAND_RESULT_QUEUED;
break;