[AArch64] use subseg_text_p to check .text
[binutils-gdb.git] / gas / config / tc-z80.c
index f57b4e95d365c7485511fa72847cb702fc744ab7..fe6300f0be94bfba158a2697641645828b6384f8 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-z80.c -- Assemble code for the Zilog Z80 and ASCII R800
-   Copyright 2005-2014 Free Software Foundation, Inc.
+   Copyright (C) 2005-2015 Free Software Foundation, Inc.
    Contributed by Arnold Metselaar <arnold_m@operamail.com>
 
    This file is part of GAS, the GNU Assembler.
@@ -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;
 }