diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-07-29 18:44:55 (GMT) |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-07-29 18:44:55 (GMT) |
commit | c050b32d983732d0aa8cf84da3afd504be9650f1 (patch) | |
tree | c4cf4e5ad835375bc19daf2b4822893f6ff34f64 | |
parent | 04f8530ae38de34430c02e3d2d06a792fe8de14b (diff) | |
download | patchelf-c050b32d983732d0aa8cf84da3afd504be9650f1.zip patchelf-c050b32d983732d0aa8cf84da3afd504be9650f1.tar.gz patchelf-c050b32d983732d0aa8cf84da3afd504be9650f1.tar.bz2 |
Making patchelf work on a MIPS machine with 16KB page size (it's set in its kernel defconfig),
the Lemote Fuloong 2F.
-rw-r--r-- | src/patchelf.cc | 5 |
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; |