llvm-project
ee63c1f3 - [clang][Driver] Prefer non-Linux emulations for baremetal Arm/AArch64 targets (#149235)

Commit
50 days ago
[clang][Driver] Prefer non-Linux emulations for baremetal Arm/AArch64 targets (#149235) I'm unsure if there is an official source for which targets use/support which emulations, but for the baremetal GNU Arm/AArch64 toolchains or binutils builds I've tried to use, GNU ld either did not support the Linux emulations (resulting in errors unless overriding the emulation) or the Linux emulations were supported but GCC passed the non-Linux emulations by default. These emulations all seem to be accepted by lld as well, so try to align with what it seems GCC is doing and prefer the non-Linux emulations for baremetal Arm/AArch64 targets.
Author
Parents
Loading