clang alignment

modified:   p_lx_elf.cpp
This commit is contained in:
John Reiser 2022-12-19 14:31:26 -08:00 committed by Markus F.X.J. Oberhumer
parent f9f28ff176
commit dd8c1d0441

View File

@ -5419,9 +5419,11 @@ void PackLinuxElf64::unpack(OutputFile *fo)
fi->readx(peek_arr, sizeof(peek_arr));
fi->seek(pos + H_PEEK - sizeof(peek_arr), SEEK_SET);
int boff = find_le32(peek_arr, sizeof(peek_arr), size);
unsigned word3 = *(int *)&peek_arr[2*sizeof(int) + boff];
unsigned word1 = get_te32(&peek_arr[0*sizeof(int) + boff]);
unsigned word2 = get_te32(&peek_arr[1*sizeof(int) + boff]);
unsigned word3 = get_te32(&peek_arr[2*sizeof(int) + boff]);
if (0 <= boff // found
&& (0 == word3 // uncompressible literal
&& (((0 == word3) && (word1 == word2)) // uncompressible literal
|| prev_method == word3) // same method, no filter
) {
pos -= H_PEEK;