Removed bogus __attribute_packed from struct udll.
committer: mfx <mfx> 1142607440 +0000
This commit is contained in:
+1
-4
@@ -566,7 +566,6 @@ unsigned PackArmPe::processImports() // pass 1
|
|||||||
LE32 *lookupt;
|
LE32 *lookupt;
|
||||||
unsigned npos;
|
unsigned npos;
|
||||||
bool isk32;
|
bool isk32;
|
||||||
unsigned _; // padding to 32
|
|
||||||
|
|
||||||
static int __acc_cdecl_qsort compare(const void *p1, const void *p2)
|
static int __acc_cdecl_qsort compare(const void *p1, const void *p2)
|
||||||
{
|
{
|
||||||
@@ -582,9 +581,7 @@ unsigned PackArmPe::processImports() // pass 1
|
|||||||
if (!u2->shname) return -1;
|
if (!u2->shname) return -1;
|
||||||
return strlen(u1->shname) - strlen(u2->shname);
|
return strlen(u1->shname) - strlen(u2->shname);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
__attribute_packed;
|
|
||||||
COMPILE_TIME_ASSERT(sizeof(udll) == 32);
|
|
||||||
|
|
||||||
// +1 for dllnum=0
|
// +1 for dllnum=0
|
||||||
Array(struct udll, dlls, dllnum+1);
|
Array(struct udll, dlls, dllnum+1);
|
||||||
|
|||||||
+1
-4
@@ -575,7 +575,6 @@ unsigned PackW32Pe::processImports() // pass 1
|
|||||||
LE32 *lookupt;
|
LE32 *lookupt;
|
||||||
unsigned npos;
|
unsigned npos;
|
||||||
bool isk32;
|
bool isk32;
|
||||||
unsigned _; // padding to 32
|
|
||||||
|
|
||||||
static int __acc_cdecl_qsort compare(const void *p1, const void *p2)
|
static int __acc_cdecl_qsort compare(const void *p1, const void *p2)
|
||||||
{
|
{
|
||||||
@@ -591,9 +590,7 @@ unsigned PackW32Pe::processImports() // pass 1
|
|||||||
if (!u2->shname) return -1;
|
if (!u2->shname) return -1;
|
||||||
return strlen(u1->shname) - strlen(u2->shname);
|
return strlen(u1->shname) - strlen(u2->shname);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
__attribute_packed;
|
|
||||||
COMPILE_TIME_ASSERT(sizeof(udll) == 32);
|
|
||||||
|
|
||||||
// +1 for dllnum=0
|
// +1 for dllnum=0
|
||||||
Array(struct udll, dlls, dllnum+1);
|
Array(struct udll, dlls, dllnum+1);
|
||||||
|
|||||||
Reference in New Issue
Block a user