From 24fdac29fb8a1c7766869b05e7a17b2c4cc98ce1 Mon Sep 17 00:00:00 2001 From: Nathan Lee Date: Sun, 12 Jul 2026 12:42:31 -0500 Subject: create elf.h The ELF parser needs more work, there are more structs to be added. memcpy was refactored from mem.h into common.h endianness conversions were standardized in types.h --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2de743c..cc021ca 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,10 @@ LD = ld.lld OBJCOPY = llvm-objcopy ARCH_FLAG = \ - --target=riscv32-unknown-elf \ - -march=rv32im \ - -mabi=ilp32 + --target=riscv32-unknown-elf \ + -march=rv32im \ + -mabi=ilp32 \ + -D__SYS_LITTLE_ENDIAN__ COMMON_FLAGS = \ -- cgit v1.2.3