From: Andrew Stubbs Date: Fri, 27 Oct 2006 09:34:45 +0000 (+0000) Subject: 2006-10-27 Andrew Stubbs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86157c207017c3d7df49efad2328697b278f50c2;p=binutils-gdb.git 2006-10-27 Andrew Stubbs * config/tc-sh.c (md_assemble): Define size of branches. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0a08ce94652..17226e776ba 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2006-10-27 Andrew Stubbs + + * config/tc-sh.c (md_assemble): Define size of branches. + 2006-10-26 Ben Elliston * dw2gencfi.c (cfi_add_CFA_offset): diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 1abbaad09fb..3d1ae79d769 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 {