Skip to content

Commit ca178f8

Browse files
psumberahpax
authored andcommitted
1 parent acfeb7d commit ca178f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

output/outelf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ static void elf_write(void)
18831883
ehdr.com.e_ident[EI_ABIVERSION] = elf_abiver;
18841884
ehdr.com.e_type = htole16(ET_REL);
18851885
ehdr.com.e_machine = htole16(efmt->e_machine);
1886-
ehdr.com.e_version = htole16(EV_CURRENT);
1886+
ehdr.com.e_version = htole32(EV_CURRENT);
18871887

18881888
if (!efmt->elf64) {
18891889
ehdr.ehdr32.e_shoff = htole32(sizeof ehdr);

0 commit comments

Comments
 (0)