summaryrefslogtreecommitdiff
path: root/include/melf.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-10-05 10:16:45 -0400
committerFreya Murphy <freya@freyacat.org>2024-10-05 10:16:45 -0400
commit64a7a67f0099c656f74ec53083c77674228379fa (patch)
treef20ff3dd6a08b9dcbeef7c57af31f44c5b06dc9a /include/melf.h
parentfix tests $at reg (diff)
downloadmips-64a7a67f0099c656f74ec53083c77674228379fa.tar.gz
mips-64a7a67f0099c656f74ec53083c77674228379fa.tar.bz2
mips-64a7a67f0099c656f74ec53083c77674228379fa.zip
update mld commentsHEADmain
Diffstat (limited to 'include/melf.h')
-rw-r--r--include/melf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/melf.h b/include/melf.h
index e7311cd..a1c88c2 100644
--- a/include/melf.h
+++ b/include/melf.h
@@ -32,7 +32,7 @@ static const Elf32_Ehdr MIPS_ELF_EHDR =
.e_machine = B16(EM_MIPS),
.e_version = B32(EV_CURRENT),
.e_entry = 0x00,
- .e_flags = 0x00, // B32(EF_MIPS_ARCH_32R6),
+ .e_flags = B32(EF_MIPS_ARCH_32R6 | EF_MIPS_NAN2008 | EF_MIPS_ABI_O32),
.e_ehsize = B16(sizeof(Elf32_Ehdr)),
.e_phentsize = B16(sizeof(Elf32_Phdr)),
.e_shentsize = B16(sizeof(Elf32_Shdr)),