[PATCH] D72352: [Triple] Use elfv2 on freebsd>=13 and linux-musl

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 11:12:04 PST 2020


MaskRay created this revision.
MaskRay added reviewers: Bdragon28, dim, adalava.
Herald added subscribers: llvm-commits, cfe-commits, steven.zhang, jsji, dexonsmith, kbarton, hiraditya, krytarowski, arichardson, nemanjai, emaste.
Herald added projects: clang, LLVM.

The environments "elfv1" and "elfv2" were added for FreeBSD powerpc64
ELFv1->ELFv2 migration.  FreeBSD developers have decided to use OS
versions to change ABI, and no one is relying on it.

Users can always use -mabi=elfv1 and -mabi=elfv2 to override the default
ABI.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72352

Files:
  clang/lib/Basic/Targets/PPC.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/ppc-abi.c
  clang/test/Preprocessor/init-ppc64.c
  llvm/include/llvm/ADT/Triple.h
  llvm/lib/Support/Triple.cpp
  llvm/lib/Target/PowerPC/PPCTargetMachine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72352.236634.patch
Type: text/x-patch
Size: 5455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200107/8c5ced01/attachment.bin>


More information about the llvm-commits mailing list