aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/cgen.c9
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
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;