aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-28 07:20:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-28 07:20:42 +0000
commita81db04ee6bd7e051f42ddb67d5b132486a47cd4 (patch)
tree23033a1d703c5d37c81d7f6570b532a6d4130124 /toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
parentf6a92d6ffec89b1e411a1d53b9e55e3cd9583836 (diff)
downloadupstream-a81db04ee6bd7e051f42ddb67d5b132486a47cd4.tar.gz
upstream-a81db04ee6bd7e051f42ddb67d5b132486a47cd4.tar.bz2
upstream-a81db04ee6bd7e051f42ddb67d5b132486a47cd4.zip
remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
SVN-Revision: 7752
Diffstat (limited to 'toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch')
-rw-r--r--toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch b/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
new file mode 100644
index 0000000000..66bc22c364
--- /dev/null
+++ b/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
@@ -0,0 +1,13 @@
+Index: binutils-2.17/bfd/elf32-mips.c
+===================================================================
+--- binutils-2.17.orig/bfd/elf32-mips.c 2007-06-28 09:19:34.774949856 +0200
++++ binutils-2.17/bfd/elf32-mips.c 2007-06-28 09:19:36.366707872 +0200
+@@ -1617,7 +1617,7 @@
+
+ /* The SVR4 MIPS ABI says that this should be 0x10000, and Linux uses
+ page sizes of up to that limit, so we need to respect it. */
+-#define ELF_MAXPAGESIZE 0x10000
++#define ELF_MAXPAGESIZE 0x1000
+ #define elf32_bed elf32_tradbed
+
+ /* Include the target file again for this target. */