[PATCH] D154357: [Driver] Recognize powerpc-unknown-eabi as a bare-metal toolchain

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 10:04:25 PDT 2023


MaskRay added a comment.

> At Indel, we have been building bare-metal embedded applications that run on custom PowerPC and ARM systems with Clang and LLD for a couple of years now, using target triples powerpc-indel-eabi, powerpc-indel-eabi750, arm-indel-eabi, aarch64-indel-eabi (which I just learned from D153430 <https://reviews.llvm.org/D153430> is wrong and should be aarch64-indel-elf instead, but that’s a different matter).

If `eabi` is not valid for `powerpc`, Clang Driver should not endorse this use case and we should not add positive tests for `powerpc-unknown-eabi` or `powerpc64le-unknown-eabi`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154357/new/

https://reviews.llvm.org/D154357



More information about the cfe-commits mailing list