racerxdl / riscv-online-asm

RISC-V Online Assembler using Emscripten, Gnu Binutils
https://riscvasm.lucasteske.dev
39 stars 9 forks source link

providing no input in both code and linker makes it crash #6

Open VladimirMeshcheriakov opened 1 year ago

VladimirMeshcheriakov commented 1 year ago

When both files are empty it crashes on a Promise, an uncaught exception. It also logs "error: the input file 'file.elf' has no sections"

Hope this helps