summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormsaitoh <msaitoh@pkgsrc.org>2001-01-22 21:35:32 +0000
committermsaitoh <msaitoh@pkgsrc.org>2001-01-22 21:35:32 +0000
commit89d10cd1c9d86284779816dee78a32891b6b23b1 (patch)
treebec316047c98e6fb18ffcdc050117b930fb4794d /cross
parent2a887ba07639277f1b354ff31dfe2cbac3241d08 (diff)
downloadpkgsrc-89d10cd1c9d86284779816dee78a32891b6b23b1.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;