mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Undef PAGE_{MASK,SIZE} in conf.h.
committer: mfx <mfx> 1143454717 +0000
This commit is contained in:
parent
d6c3ff5997
commit
90b1817e92
|
@ -292,6 +292,9 @@
|
||||||
#define index upx_index
|
#define index upx_index
|
||||||
#define outp upx_outp
|
#define outp upx_outp
|
||||||
|
|
||||||
|
#undef PAGE_MASK
|
||||||
|
#undef PAGE_SIZE
|
||||||
|
|
||||||
|
|
||||||
#undef __attribute_packed
|
#undef __attribute_packed
|
||||||
#if (ACC_CC_GNUC || ACC_CC_INTELC || ACC_CC_PATHSCALE)
|
#if (ACC_CC_GNUC || ACC_CC_INTELC || ACC_CC_PATHSCALE)
|
||||||
|
|
|
@ -949,8 +949,6 @@ void PackLinuxElf64amd::pack3(OutputFile *fo, Filter &ft)
|
||||||
fo->write(&zero, frag);
|
fo->write(&zero, frag);
|
||||||
len += frag;
|
len += frag;
|
||||||
|
|
||||||
#undef PAGE_MASK
|
|
||||||
#undef PAGE_SIZE
|
|
||||||
#define PAGE_MASK (~0u<<12)
|
#define PAGE_MASK (~0u<<12)
|
||||||
#define PAGE_SIZE (-PAGE_MASK)
|
#define PAGE_SIZE (-PAGE_MASK)
|
||||||
upx_byte *const p = const_cast<upx_byte *>(getLoader());
|
upx_byte *const p = const_cast<upx_byte *>(getLoader());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user