aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-11-18 20:24:47 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-11-18 20:24:47 +0000
commit228835a9b63abc6942b67766047b70e07500a4b6 (patch)
treec4dc7992b2338ec0740f76bffdbb6550cad55028 /gas
parentb337f8691fe7b545dd90b413046f9c5741c3afad (diff)
downloadgdb-228835a9b63abc6942b67766047b70e07500a4b6.zip
gdb-228835a9b63abc6942b67766047b70e07500a4b6.tar.gz
gdb-228835a9b63abc6942b67766047b70e07500a4b6.tar.bz2
Branch and link instructions modify r13
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-d10v.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0259ce5..610b0d2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,4 +1,9 @@
start-sanitize-d10v
+Mon Nov 18 15:22:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
+
+ * config/tc-d10v.c (parallel_ok): Branch and link instructions
+ modify r13.
+
Thu Nov 14 11:17:49 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c (write_2_short): Fix bug that wouldn't
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index 4a466fd..0de08e9 100644
--- a/gas/config/tc-d10v.c
+++ b/gas/config/tc-d10v.c
@@ -859,6 +859,9 @@ parallel_ok (op1, insn1, op2, insn2)
ins = insn2;
}
mod[j] = used[j] = 0;
+ if (op->exec_type & BRANCH_LINK)
+ mod[j] |= 1 << 13;
+
for (i = 0; op->operands[i]; i++)
{
flags = d10v_operands[op->operands[i]].flags;