aboutsummaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2000-07-26 22:39:08 +0000
committerDave Brolley <brolley@redhat.com>2000-07-26 22:39:08 +0000
commiteabed1c027990b48f3850214c05d92dae458866e (patch)
tree06ea8cb1231f3efce35804d6828c5de68bc3f8af /gas/cgen.c
parent028832c59e0a0615449a84786ed5c07785a6a079 (diff)
downloadgdb-eabed1c027990b48f3850214c05d92dae458866e.zip
gdb-eabed1c027990b48f3850214c05d92dae458866e.tar.gz
gdb-eabed1c027990b48f3850214c05d92dae458866e.tar.bz2
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.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r--gas/cgen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/cgen.c b/gas/cgen.c
index 1f4ea0b..d674057 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -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;