x86-bare-metal-examples icon indicating copy to clipboard operation
x86-bare-metal-examples copied to clipboard

Set file format to binary at linker stage

Open GCPanic opened this issue 2 years ago • 3 comments

By adding OUTPUT_FORMAT(binary) at top of linker.ld, we can have plain binary output at linker's output. And we can avoid objcopy step.

GCPanic avatar Dec 06 '23 06:12 GCPanic

I didn't know that one. Though in general .elf files can still be useful for debugging purposes.

cirosantilli avatar Dec 06 '23 09:12 cirosantilli