summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
blob: b4401768d052516f1728da84c1825096bd4b7045 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -1617,7 +1617,7 @@ static const struct ecoff_debug_swap mip
 
 /* 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.  */