Skip to content

Commit

Permalink
makefile: add TODO to remove objcopy hack
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew authored and karlek committed Apr 29, 2024
1 parent cef2b14 commit da51fe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ bin/%_32_zig.o: src/boot/%_32.zig | bin
-femit-bin=$@ \
$<

# TODO: remove objcopy hack when we figure out a way to emit ELF64 objets
# containing 32-bit code in Zig (NOTE: how is this done in C??).
bin/%_elf64_zig.o: bin/%_32_zig.o
@objcopy --output-target elf64-x86-64 $< $@

Expand Down

0 comments on commit da51fe0

Please sign in to comment.