diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 19:18:57 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 19:18:57 +0000 |
commit | 531a94fdb5a9a7b099bbe72d89d77b15faa0c53c (patch) | |
tree | f72c7f1fd2018e26c257fa5546a805085abdfafb /gas | |
parent | ee0475543fab82b9ea1348922c2662a8ae172116 (diff) | |
download | gdb-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.zip gdb-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.tar.gz gdb-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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-nios2.c | 4 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/nios2/break.d | 10 |
4 files changed, 17 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 92ad5df..b2c90ea 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o' + case. Add default BAD_CASE to switch. + 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> * config/tc-nios2.c (nios2_assemble_args_ds): New function. 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; } diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index a672651..9af9fa8 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * gas/nios2/break.d: Check instruction values. + 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> * gas/nios2/nios2.exp: Run wrprs. diff --git a/gas/testsuite/gas/nios2/break.d b/gas/testsuite/gas/nios2/break.d index be487bb..8d4853b 100644 --- a/gas/testsuite/gas/nios2/break.d +++ b/gas/testsuite/gas/nios2/break.d @@ -1,12 +1,12 @@ -#objdump: -dr --prefix-addresses +#objdump: -dr --prefix-addresses --show-raw-insn #name: NIOS2 break .*: +file format elf32-littlenios2 Disassembly of section .text: -0+0000 <[^>]*> break 0 -0+0004 <[^>]*> break 0 -0+0008 <[^>]*> break 31 -0+000c <[^>]*> break 14 +0+0000 <[^>]*> 003da03a break 0 +0+0004 <[^>]*> 003da03a break 0 +0+0008 <[^>]*> 003da7fa break 31 +0+000c <[^>]*> 003da3ba break 14 |