aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
diff options
context:
space:
mode:
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. */