[PATCH] D145539: [llvm/Target] Add Windows COFF support for RISC-V
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 19:59:51 PST 2023
jrtc27 added a comment.
In D145539#4176824 <https://reviews.llvm.org/D145539#4176824>, @luojia wrote:
> In D145539#4176791 <https://reviews.llvm.org/D145539#4176791>, @jrtc27 wrote:
>
>> I'm guessing this is so you can llvm-objcopy an ELF into a PE/COFF?.. Because without relocations being defined you can't do much else of use...
>
> Yes llvm-objcopy can do this and this is the current approach on EDK2 RISC-V. But for languages like Rust it will be more convenient if the compiler backend writes it out directly from build target configuration
And how are you going to do that without a full PE/COFF specification for RISC-V?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145539/new/
https://reviews.llvm.org/D145539
More information about the llvm-commits
mailing list