summaryrefslogtreecommitdiff
path: root/gas/config/tc-cr16.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-12 16:11:02 +0000
committerNick Clifton <nickc@redhat.com>2007-10-12 16:11:02 +0000
commit0e68e1a7fdad735675e7f08e266d2865143e4807 (patch)
treed401c09b92fddbb3ba05aaeef56dcef6a740732b /gas/config/tc-cr16.c
parent6ab79df97af1b25448cf858510f7ada2d58f23a7 (diff)
downloadbinutils-redhat-0e68e1a7fdad735675e7f08e266d2865143e4807.tar.gz
* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
Diffstat (limited to 'gas/config/tc-cr16.c')
-rw-r--r--gas/config/tc-cr16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-cr16.c b/gas/config/tc-cr16.c
index 31c6215744..cb09473832 100644
--- a/gas/config/tc-cr16.c
+++ b/gas/config/tc-cr16.c
@@ -255,7 +255,7 @@ const pseudo_typeS md_pseudo_table[] =
const relax_typeS md_relax_table[] =
{
/* bCC */
- {0xfa, -0x100, 2, 1}, /* 8 */
+ {0x7f, -0x80, 2, 1}, /* 8 */
{0xfffe, -0x10000, 4, 2}, /* 16 */
{0xfffffe, -0x1000000, 6, 0}, /* 24 */
};