aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2009-09-03 15:48:16 +0000
committerJie Zhang <jie.zhang@analog.com>2009-09-03 15:48:16 +0000
commit1d3ad4d0b0eafa4c7182f41077b6bfa1d8bc53c8 (patch)
treef3de692f9659e3b431620086923dd7c55ba8bc86 /gas/config
parentd3a50e14198b40513ff5cebd62b8161bba9223fa (diff)
downloadgdb-1d3ad4d0b0eafa4c7182f41077b6bfa1d8bc53c8.zip
gdb-1d3ad4d0b0eafa4c7182f41077b6bfa1d8bc53c8.tar.gz
gdb-1d3ad4d0b0eafa4c7182f41077b6bfa1d8bc53c8.tar.bz2
* config/bfin-parse.y (asm_1): Fix a typo.
testsuite/ * gas/bfin/expected_comparison_errors.l: Expect error on Line 13.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/bfin-parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y
index 719edaf..81bfef8 100644
--- a/gas/config/bfin-parse.y
+++ b/gas/config/bfin-parse.y
@@ -1643,7 +1643,7 @@ asm_1:
| CCREG ASSIGN REG _ASSIGN_ASSIGN REG
{
if ((IS_DREG ($3) && IS_DREG ($5))
- || (IS_PREG ($3) && IS_PREG ($3)))
+ || (IS_PREG ($3) && IS_PREG ($5)))
{
notethat ("CCflag: CC = dpregs == dpregs\n");
$$ = CCFLAG (&$3, $5.regno & CODE_MASK, 0, 0, IS_PREG ($3) ? 1 : 0);