aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/bfin-parse.y2
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/bfin/expected_comparison_errors.l1
4 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 30d4c62..204d8bf 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2009-09-03 Jie Zhang <jie.zhang@analog.com>
+ * config/bfin-parse.y (asm_1): Fix a typo.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
* config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
* config/tc-bfin.c (bfin_start_line_hook): Remove.
(bfin_loop_beginend): New.
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);
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f75cb12..13c8333 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2009-09-03 Jie Zhang <jie.zhang@analog.com>
+ * gas/bfin/expected_comparison_errors.l: Expect error on Line 13.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
* gas/bfin/loop.s, gas/bfin/loop.d: New test.
* gas/bfin/loop2.s, gas/bfin/loop2.d: New test.
* gas/bfin/loop3.s, gas/bfin/loop3.d: New test.
diff --git a/gas/testsuite/gas/bfin/expected_comparison_errors.l b/gas/testsuite/gas/bfin/expected_comparison_errors.l
index 0582ecd..1653d64 100644
--- a/gas/testsuite/gas/bfin/expected_comparison_errors.l
+++ b/gas/testsuite/gas/bfin/expected_comparison_errors.l
@@ -11,6 +11,7 @@
.*:10: Error: Bad register in comparison. Input text was P0.
.*:11: Error: Bad register in comparison.
.*:12: Error: Bad register in comparison.
+.*:13: Error: Bad register in comparison. Input text was R0.
.*:14: Error: Bad register in comparison.
.*:15: Error: Bad register in comparison.
.*:16: Error: Bad register in comparison.