2000-07-26 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.
This commit is contained in:
Dave Brolley
2000-07-26 22:39:08 +00:00
parent 028832c59e
commit eabed1c027
2 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

@@ -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;