diff options
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/cgen.c | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index ef156d9..d9cb451 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2000-07-25 Dave Brolley <brolley@redhat.com> + + * cgen.c (queue_fixup): Declare opinfo. + (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED. + (gas_cgen_md_operand): Ditto. + (gas_cgen_md_apply_fix3): Ditto. + 2000-07-24 Mark Elbrecht <snowball3@bigfoot.com> * config/obj-coff.c (obj_frob_symbol): Don't merge @@ -81,6 +81,7 @@ gas_cgen_init_parse () static void queue_fixup (opindex, opinfo, expP) int opindex; + int opinfo; expressionS * expP; { /* We need to generate a fixup for this expression. */ @@ -247,7 +248,7 @@ static int expr_jmp_buf_p; const char * gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; enum cgen_parse_operand_type want; const char ** strP; int opindex; @@ -330,7 +331,7 @@ gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP) void gas_cgen_md_operand (expressionP) - expressionS * expressionP; + expressionS * expressionP ATTRIBUTE_UNUSED; { /* Don't longjmp if we're not called from within cgen_parse_operand(). */ if (expr_jmp_buf_p) @@ -494,7 +495,7 @@ int gas_cgen_md_apply_fix3 (fixP, valueP, seg) fixS * fixP; valueT * valueP; - segT seg; + segT seg ATTRIBUTE_UNUSED; { char * where = fixP->fx_frag->fr_literal + fixP->fx_where; valueT value; @@ -637,7 +638,7 @@ gas_cgen_md_apply_fix3 (fixP, valueP, seg) arelent * gas_cgen_tc_gen_reloc (section, fixP) - asection * section; + asection * section ATTRIBUTE_UNUSED; fixS * fixP; { arelent * reloc; |