aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2006-10-27 09:34:45 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2006-10-27 09:34:45 +0000
commit86157c207017c3d7df49efad2328697b278f50c2 (patch)
tree80854ae70a46b77acd21f9327915d73d571ae44b /gas
parentd270463e93aa77304932b1df0e2315ec3c0d3be8 (diff)
downloadgdb-86157c207017c3d7df49efad2328697b278f50c2.zip
gdb-86157c207017c3d7df49efad2328697b278f50c2.tar.gz
gdb-86157c207017c3d7df49efad2328697b278f50c2.tar.bz2
2006-10-27 Andrew Stubbs <andrew.stubbs@st.com>
* config/tc-sh.c (md_assemble): Define size of branches.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-sh.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0a08ce9..17226e7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-27 Andrew Stubbs <andrew.stubbs@st.com>
+
+ * config/tc-sh.c (md_assemble): Define size of branches.
+
2006-10-26 Ben Elliston <bje@au.ibm.com>
* dw2gencfi.c (cfi_add_CFA_offset):
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index 1abbaad..3d1ae79 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -2865,6 +2865,9 @@ md_assemble (char *str)
as_bad (_("Delayed branches not available on SH1"));
parse_exp (op_end + 1, &operand[0]);
build_relax (opcode, &operand[0]);
+
+ /* All branches are currently 16 bit. */
+ size = 2;
}
else
{