summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
Diffstat (limited to 'cross')
-rw-r--r--cross/COMMON/patches-binutils/patch-si11
1 files changed, 11 insertions, 0 deletions
diff --git a/cross/COMMON/patches-binutils/patch-si b/cross/COMMON/patches-binutils/patch-si
new file mode 100644
index 00000000000..581d717070c
--- /dev/null
+++ b/cross/COMMON/patches-binutils/patch-si
@@ -0,0 +1,11 @@
+--- gas/config/tc-sh.c 2000/10/05 05:43:36 1.1
++++ gas/config/tc-sh.c 2000/12/22 11:28:47 1.2
+@@ -1924,7 +1924,7 @@
+
+ case BFD_RELOC_SH_PCDISP12BY2:
+ val /= 2;
+- if (val < -0x800 || val >= 0x7ff)
++ if (val < -0x800 || val > 0x7ff)
+ as_bad_where (fixP->fx_file, fixP->fx_line, "pcrel too far");
+ buf[lowbyte] = val & 0xff;
+ buf[highbyte] |= (val >> 8) & 0xf;