summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/patchelf.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc
index 26d5805..a30be83 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -21,7 +21,12 @@
using namespace std;
+#ifdef MIPSEL
+/* The lemote fuloong 2f kernel defconfig sets a page size of 16KB */
+const unsigned int pageSize = 4096*4;
+#else
const unsigned int pageSize = 4096;
+#endif
static bool debugMode = false;