1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

armel-eabi sets Elf32_Ehdr::EI_ABIVERSION = 4

This commit is contained in:
John Reiser 2008-08-04 17:29:59 -07:00
parent 34ad1450eb
commit 0b31fbf827

View File

@ -1324,6 +1324,7 @@ void PackLinuxElf32armLe::pack1(OutputFile *fo, Filter &ft)
memcpy(&h3, stub_armel_eabi_linux_elf_fold, sizeof(Elf32_Ehdr) + 2*sizeof(Elf32_Phdr));
set_te32(&h3.ehdr.e_flags, EF_ARM_EABI_VER4 | EF_ARM_HASENTRY);
h3.ehdr.e_ident[Elf32_Ehdr::EI_ABIVERSION] = 4;
}
else {
memcpy(&h3, stub_arm_linux_elf_fold, sizeof(Elf32_Ehdr) + 2*sizeof(Elf32_Phdr));