openwrtv3/toolchain/binutils/patches/2.17/400-mips-ELF_MAXPAGESIZE-4k.patch
Hauke Mehrtens da99fcd35a binutils: refresh patches for binutils 2.17
SVN-Revision: 14587
2009-02-21 14:24:39 +00:00

11 lines
409 B
Diff

--- 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. */