#undef PAGE_{MASK,SIZE} to fix build problems on some machines.

committer: mfx <mfx> 1139743226 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2006-02-12 11:20:26 +00:00
parent 24ce1ef5e7
commit 51ac5172f5
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -215,6 +215,7 @@ PackLinuxI386::pack4(OutputFile *fo, Filter &ft)
fo->write(shstrtab, sizeof(shstrtab));
#endif // }
#undef PAGE_MASK
#define PAGE_MASK (~0u<<12)
// pre-calculate for benefit of runtime disappearing act via munmap()
elfout.phdr[0].p_memsz = PAGE_MASK & (~PAGE_MASK + elfout.phdr[0].p_filesz);