arm/pe: use the new linker friendly stubs
two linkers: one for arm mode, one for thumb mode the import address table is moved to the stubs area of compressed files changed the alignment of some header fields the command line option "--8086" can be used to force thumb mode on committer: ml1050 <ml1050> 1146647520 +0000
This commit is contained in:
+5
-1
@@ -72,7 +72,7 @@ protected:
|
||||
unsigned pe_offset;
|
||||
|
||||
unsigned processImports();
|
||||
void processImports(unsigned);
|
||||
void processImports(unsigned, unsigned);
|
||||
void rebuildImports(upx_byte *&);
|
||||
upx_byte *oimport;
|
||||
unsigned soimport;
|
||||
@@ -120,6 +120,10 @@ protected:
|
||||
|
||||
bool use_thumb_stub;
|
||||
|
||||
void createLinker(const void *pdata, int plen, int pinfo);
|
||||
int rpatch_le32(void *b, int blen, const void *old, unsigned new_,
|
||||
PackArmPe_Reloc &, unsigned);
|
||||
|
||||
struct pe_header_t
|
||||
{
|
||||
// 0x0
|
||||
|
||||
Reference in New Issue
Block a user