summaryrefslogtreecommitdiff
path: root/toolchain/binutils/2.15
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:45:08 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:45:08 +0000
commit9a70efaf1b3627d2d2ae4e4a5b17e5e246992ba6 (patch)
treec4f894d4d4fb0b5b1927511d9bd6cb72436cebca /toolchain/binutils/2.15
parentfc9ba2d74d1b67aec74fa9dad897d7e25b67e34d (diff)
update binutils nios2 support, thanks atle
Diffstat (limited to 'toolchain/binutils/2.15')
-rw-r--r--toolchain/binutils/2.15/701-nios2-gcc4-buildfix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/binutils/2.15/701-nios2-gcc4-buildfix.patch b/toolchain/binutils/2.15/701-nios2-gcc4-buildfix.patch
new file mode 100644
index 000000000..bfc8015b8
--- /dev/null
+++ b/toolchain/binutils/2.15/701-nios2-gcc4-buildfix.patch
@@ -0,0 +1,20 @@
+--- binutils/gas/config/tc-nios2.c 2007/01/04 16:54:43 194
++++ binutils/gas/config/tc-nios2.c 2007/01/04 16:58:16 195
+@@ -1661,7 +1661,7 @@
+
+
+ /* apply the rightshift */
+- (signed) fixup >>= howto->rightshift;
++ fixup >>= howto->rightshift;
+
+ /* truncate the fixup to right size */
+ switch (fixP->fx_r_type)
+@@ -1706,7 +1706,7 @@
+ nios2_check_overflow (valueT fixup, reloc_howto_type * howto)
+ {
+ /* apply the rightshift before checking for overflow */
+- (signed) fixup >>= howto->rightshift;
++ fixup >>= howto->rightshift;
+
+ /* check for overflow - return TRUE if overflow, FALSE if not */
+ switch (howto->complain_on_overflow)