[PATCH] D92445: [PowerPC] Add powerpcle target.

Brandon Bergren via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 18:56:00 PST 2020


Bdragon28 added a comment.

On FreeBSD, the main use of this will be on the new powerpc64le arch, where we need to build a 32-bit LE bootloader for use with pseries. (it is easier to retarget LLVM than make a cross-endian bootloader, as it would involve rewriting filesystem code etc.)

On Linux, I suspect the primary use will be with user-space CPU emulation tools that do syscall translation from foreign LE architectures.

On Linux, I set the defaults assuming that this target would primarily be used as a multiarch instead of the "native" arch for an install (i.e. assume lib32 instead of lib). If there are any existing powerpcle userlands out there that do not do this, it can be changed.

Note: I do not have commit access yet.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92445



More information about the llvm-commits mailing list