HomePhabricator

[PowerPC] Support powerpcle target in Clang [3/5]

Authored by Bdragon28 on Jan 2 2021, 10:17 AM.

Description

[PowerPC] Support powerpcle target in Clang [3/5]

Add powerpcle support to clang.

For FreeBSD, assume a freestanding environment for now, as we only need it in the first place to build loader, which runs in the OpenFirmware environment instead of the FreeBSD environment.

For Linux, recognize glibc and musl environments to match current usage in Void Linux PPC.

Adjust driver to match current binutils behavior regarding machine naming.

Adjust and expand tests.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D93919

Details

Committed
Bdragon28Jan 2 2021, 10:17 AM
Reviewer
MaskRay
Differential Revision
D93919: [PowerPC] Support powerpcle target in Clang [3/5]
Parents
rG696bd3073fd2: [PowerPC] Support powerpcle target in LLVMObject [2/5]
Branches
Unknown
Tags
Unknown