RISC-V UEFI development requires to write output assembly into a PE/COFF object. This patch would allow RISC-V PE/COFF development when supplied Target requires binary format as COFF.
Although it's possible to llvm-objcopy from ELF to COFF, it will be more convenient to build directly into COFF files by selecting build targets, especially in languages like Rust where it would require amounts of work on more compilation steps in system development.
Unnecessary churn