untitled paste

unlisted ⁨1⁩ ⁨file⁩ 2021-01-15 21:37:40 UTC

binutils.diff

Raw
diff --git a/Makefile b/Makefile
index bbdeb03..6687a35 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ build/%.bin: data/%.png

 build/%.o: build/%.bin
        @echo "  BIN   $@"
-       @$(OBJCOPY) -I binary -O elf64-littleaarch64 $< $@
+       @$(OBJCOPY) -I binary -B aarch64 -O elf64-littleaarch64 $< $@

 build/main.o: build/build_tag.h src/main.c