mirror of https://github.com/upx/upx.git
Small cleanups to keep p_armpe & p_w32pe in sync.
This commit is contained in:
parent
f914cb6858
commit
b7785b64cf
|
@ -35,6 +35,7 @@
|
||||||
|
|
||||||
static const
|
static const
|
||||||
#include "stub/l_armpea.h"
|
#include "stub/l_armpea.h"
|
||||||
|
static const
|
||||||
#include "stub/l_armpet.h"
|
#include "stub/l_armpet.h"
|
||||||
|
|
||||||
#define IDSIZE(x) ih.ddirs[x].size
|
#define IDSIZE(x) ih.ddirs[x].size
|
||||||
|
@ -245,6 +246,7 @@ void PackArmPe::createLinker(const void *pdata, int plen, int pinfo)
|
||||||
linker = new ArmLinker(pdata, plen, pinfo);
|
linker = new ArmLinker(pdata, plen, pinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
// util
|
// util
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
@ -1218,11 +1220,10 @@ public:
|
||||||
bool clear();
|
bool clear();
|
||||||
|
|
||||||
void dump() const { dump(root,0); }
|
void dump() const { dump(root,0); }
|
||||||
unsigned iname() const {return current->parent->id;}
|
unsigned iname() const {return current->parent->id;}
|
||||||
const upx_byte *nname() const {return current->parent->name;}
|
const upx_byte *nname() const {return current->parent->name;}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
unsigned ilang() const {return current->id;}
|
unsigned ilang() const {return current->id;}
|
||||||
const upx_byte *nlang() const {return current->name;}
|
const upx_byte *nlang() const {return current->name;}
|
||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
|
|
|
@ -1178,11 +1178,10 @@ public:
|
||||||
bool clear();
|
bool clear();
|
||||||
|
|
||||||
void dump() const { dump(root,0); }
|
void dump() const { dump(root,0); }
|
||||||
|
unsigned iname() const {return current->parent->id;}
|
||||||
unsigned iname() const {return current->parent->id;}
|
|
||||||
const upx_byte *nname() const {return current->parent->name;}
|
const upx_byte *nname() const {return current->parent->name;}
|
||||||
/*
|
/*
|
||||||
unsigned ilang() const {return current->id;}
|
unsigned ilang() const {return current->id;}
|
||||||
const upx_byte *nlang() const {return current->name;}
|
const upx_byte *nlang() const {return current->name;}
|
||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue