(handle_file): Swap p_type.
This commit is contained in:
parent
7d277fb688
commit
894dc70b5e
@ -78,7 +78,7 @@ AB(handle_file) (const char *fname, int fd)
|
||||
/* Search for the PT_DYNAMIC entry. */
|
||||
size_t cnt;
|
||||
for (cnt = 0; cnt < phnum; ++cnt)
|
||||
if (phdr[cnt].p_type == PT_DYNAMIC)
|
||||
if (SWAP (phdr[cnt].p_type) == PT_DYNAMIC)
|
||||
break;
|
||||
|
||||
if (cnt == phnum)
|
||||
|
Loading…
x
Reference in New Issue
Block a user