aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-nios2.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-03-12 19:18:57 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-03-12 19:18:57 +0000
commit531a94fdb5a9a7b099bbe72d89d77b15faa0c53c (patch)
treef72c7f1fd2018e26c257fa5546a805085abdfafb /gas/config/tc-nios2.c
parentee0475543fab82b9ea1348922c2662a8ae172116 (diff)
downloadbinutils-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.zip
binutils-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.tar.gz
binutils-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.tar.bz2
2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>gdb_7_6-branchpoint
include/ * opcode/nios2.h: Edit comment. gas/ * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o' case. Add default BAD_CASE to switch. gas/testsuite/ * gas/nios2/break.d: Check instruction values.
Diffstat (limited to 'gas/config/tc-nios2.c')
-rw-r--r--gas/config/tc-nios2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c
index d669c60..81caf86 100644
--- a/gas/config/tc-nios2.c
+++ b/gas/config/tc-nios2.c
@@ -1981,14 +1981,16 @@ nios2_consume_arg (nios2_insn_infoS *insn, char *argstr, const char *parsestr)
break;
case 'm':
case 'j':
- case 'k':
case 'l':
case 'b':
/* We can't have %hi, %lo or %hiadj here. */
if (*argstr == '%')
as_bad (_("badly formed expression near %s"), argstr);
break;
+ case 'o':
+ break;
default:
+ BAD_CASE (*parsestr);
break;
}