summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormsaitoh <msaitoh>2001-01-22 21:35:32 +0000
committermsaitoh <msaitoh>2001-01-22 21:35:32 +0000
commitc2e754da672fe99b96c1ff96de2ea24c25a48b8b (patch)
treebec316047c98e6fb18ffcdc050117b930fb4794d /cross
parent6665976425cfd8b139343c6c500e49746ad50fa4 (diff)
downloadpkgsrc-c2e754da672fe99b96c1ff96de2ea24c25a48b8b.tar.gz
sync with gnu/dist/gas/config/tc-sh.c rev. 1.2
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;