[PATCH] D95370: [ELF] Infer OSABI from input files for -m options without explicit OSABI
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 25 09:12:47 PST 2021
arichardson added a comment.
In D95370#2520240 <https://reviews.llvm.org/D95370#2520240>, @MaskRay wrote:
> Can you give links why this is needed to change in the linker?
For ld.lld we could obviously also drop the -m flag from the clang driver or add _fbsd. However, I believe that will break ld.bfd since it doesn't support the _fbsd variants.
$ ./ld.bfd -V
GNU ld (GNU Binutils) 2.33.1
Supported emulations:
elf64lriscv
elf32lriscv
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95370/new/
https://reviews.llvm.org/D95370
More information about the llvm-commits
mailing list