diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2006-10-27 09:34:45 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2006-10-27 09:34:45 +0000 |
commit | 86157c207017c3d7df49efad2328697b278f50c2 (patch) | |
tree | 80854ae70a46b77acd21f9327915d73d571ae44b /gas/config | |
parent | d270463e93aa77304932b1df0e2315ec3c0d3be8 (diff) | |
download | gdb-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/config')
-rw-r--r-- | gas/config/tc-sh.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |