aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-12-12 22:16:16 +0000
committerAlan Modra <amodra@gmail.com>2002-12-12 22:16:16 +0000
commitf1f5ef86e383abaa1cc92768d47521cd87e277a5 (patch)
tree1f536a6a1832c7e75011320b33e90d62d90ebe2a /gas/config
parent38b9ac49ebf9709d1714cd98557d6e92a89cdbd3 (diff)
downloadgdb-f1f5ef86e383abaa1cc92768d47521cd87e277a5.zip
gdb-f1f5ef86e383abaa1cc92768d47521cd87e277a5.tar.gz
gdb-f1f5ef86e383abaa1cc92768d47521cd87e277a5.tar.bz2
* config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
(md_show_usage): Fix signed/unsigned warning.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-m68k.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 4e23ced..0caf694 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')