Browse Source

* config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.

(md_show_usage): Fix signed/unsigned warning.
jimb-separate-debug-021223-branch
Alan Modra 24 years ago
parent
commit
f1f5ef86e3
  1. 2
      gas/ChangeLog
  2. 5
      gas/config/tc-m68k.c

2
gas/ChangeLog

@ -1,5 +1,7 @@
2002-12-13 Alan Modra <amodra@bigpond.net.au>
* config/tc-m68k.c (tc_gen_reloc <section>): 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.

5
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')

Loading…
Cancel
Save