* config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
(md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED. (tc_gen_reloc <section>): Likewise.
This commit is contained in:
parent
167795c452
commit
a798260029
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
@ -138,7 +138,9 @@ static void s_common PARAMS ((int));
|
||||
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[] =
|
||||
{
|
||||
@ -2891,7 +2893,7 @@ void
|
||||
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;
|
||||
@ -3246,7 +3248,7 @@ md_apply_fix3 (fixP, valP, segment)
|
||||
|
||||
arelent **
|
||||
tc_gen_reloc (section, fixp)
|
||||
asection *section;
|
||||
asection *section ATTRIBUTE_UNUSED;
|
||||
fixS *fixp;
|
||||
{
|
||||
static arelent *relocs[3];
|
||||
|
Loading…
Reference in New Issue
Block a user