We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acfeb7d commit ca178f8Copy full SHA for ca178f8
output/outelf.c
@@ -1883,7 +1883,7 @@ static void elf_write(void)
1883
ehdr.com.e_ident[EI_ABIVERSION] = elf_abiver;
1884
ehdr.com.e_type = htole16(ET_REL);
1885
ehdr.com.e_machine = htole16(efmt->e_machine);
1886
- ehdr.com.e_version = htole16(EV_CURRENT);
+ ehdr.com.e_version = htole32(EV_CURRENT);
1887
1888
if (!efmt->elf64) {
1889
ehdr.ehdr32.e_shoff = htole32(sizeof ehdr);
0 commit comments