From 89d10cd1c9d86284779816dee78a32891b6b23b1 Mon Sep 17 00:00:00 2001 From: msaitoh Date: Mon, 22 Jan 2001 21:35:32 +0000 Subject: sync with gnu/dist/gas/config/tc-sh.c rev. 1.2 --- cross/COMMON/patches-binutils/patch-si | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cross/COMMON/patches-binutils/patch-si (limited to 'cross') 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; -- cgit v1.2.3