2002-12-13 Alan Modra <amodra@bigpond.net.au>
+ * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
+ (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
+ (tc_gen_reloc <section>): Likewise.
* config/tc-tic30.c: #include stdarg.h or varargs.h.
(debug): Rewrite using VA_* macros.
(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
static void s_empty PARAMS ((int));
static void s_uacons PARAMS ((int));
static void s_ncons PARAMS ((int));
+#ifdef OBJ_ELF
static void s_register PARAMS ((int));
+#endif
const pseudo_typeS md_pseudo_table[] =
{
md_apply_fix3 (fixP, valP, segment)
fixS *fixP;
valueT *valP;
- segT segment;
+ segT segment ATTRIBUTE_UNUSED;
{
char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
offsetT val = * (offsetT *) valP;
arelent **
tc_gen_reloc (section, fixp)
- asection *section;
+ asection *section ATTRIBUTE_UNUSED;
fixS *fixp;
{
static arelent *relocs[3];