projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NDS32: Set branch instruction to relaxable.
[external/binutils.git]
/
opcodes
/
nds32-asm.c
diff --git
a/opcodes/nds32-asm.c
b/opcodes/nds32-asm.c
index
9a63291
..
406cc7c
100644
(file)
--- a/
opcodes/nds32-asm.c
+++ b/
opcodes/nds32-asm.c
@@
-2270,7
+2270,8
@@
retry_dot:
pinsn->opcode = opc;
if (opc == NULL)
{
- pdesc->result = NASM_ERR_SYNTAX;
+ if (pdesc->result == NASM_OK)
+ pdesc->result = NASM_ERR_SYNTAX;
goto out;
}