aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-11-12 15:00:01 +1030
committerAlan Modra <amodra@gmail.com>2014-11-12 15:05:30 +1030
commitabd58633c1985c879a84249650172da639773730 (patch)
treecd161430e27bdcba058436985f7b38d4801d581e
parent6d19a37a8f3be44fb006c7854a12f9edcb74080d (diff)
downloadgdb-abd58633c1985c879a84249650172da639773730.zip
gdb-abd58633c1985c879a84249650172da639773730.tar.gz
gdb-abd58633c1985c879a84249650172da639773730.tar.bz2
Fix z80-coff build breakage
* config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-z80.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6fd80b6..b3af338 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2014-11-12 Alan Modra <amodra@gmail.com>
+ * config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
+
+2014-11-12 Alan Modra <amodra@gmail.com>
+
PR ld/17482
* config/tc-i386.c (output_insn): Don't test x86_elf_abi when
not ELF.
diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c
index 54fa322..a602dc7 100644
--- a/gas/config/tc-z80.c
+++ b/gas/config/tc-z80.c
@@ -557,6 +557,8 @@ parse_exp_not_indexed (const char *s, expressionS *op)
case O_illegal:
error (_("bad expression syntax"));
break;
+ default:
+ break;
}
return input_line_pointer;
}
@@ -604,6 +606,8 @@ parse_exp (const char *s, expressionS *op)
op->X_op = O_md1;
}
break;
+ default:
+ break;
}
return res;
}