From: Alan Modra Date: Thu, 12 Dec 2002 22:16:16 +0000 (+0000) Subject: * config/tc-m68k.c (tc_gen_reloc
): Add ATTRIBUTE_UNUSED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1f5ef86e383abaa1cc92768d47521cd87e277a5;p=binutils-gdb.git * config/tc-m68k.c (tc_gen_reloc
): Add ATTRIBUTE_UNUSED. (md_show_usage): Fix signed/unsigned warning. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index cc1bc34107c..8f069054be0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ 2002-12-13 Alan Modra + * config/tc-m68k.c (tc_gen_reloc
): Add ATTRIBUTE_UNUSED. + (md_show_usage): Fix signed/unsigned warning. * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned. (calcop): Ditto for reg_prefix var. (hexval): Add cast to fix signed/unsigned warning. diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 4e23ced7825..0caf694c33a 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -882,7 +882,7 @@ tc_m68k_fix_adjustable (fixP) arelent * tc_gen_reloc (section, fixp) - asection *section; + asection *section ATTRIBUTE_UNUSED; fixS *fixp; { arelent *reloc; @@ -6920,7 +6920,8 @@ md_show_usage (stream) FILE *stream; { const char *default_cpu = TARGET_CPU; - int default_arch, i; + int i; + unsigned int default_arch; /* Get the canonical name for the default target CPU. */ if (*default_cpu == 'm')