llvm-project/clang/lib/Driver/ToolChains
Fangrui Song 8edf759ca7 [PowerPC][Triple] Use elfv2 on freebsd>=13 and linux-musl
Summary:
Every powerpc64le platform uses elfv2.

For powerpc64, the environments "elfv1" and "elfv2" were added for
FreeBSD ELFv1->ELFv2 migration in D61950.  FreeBSD developers have
decided to use OS versions to select ABI, and no one is relying on the
environments.

Also use elfv2 on powerpc64-linux-musl.

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

Reviewed By: adalava

Differential Revision: https://reviews.llvm.org/D72352
2020-01-07 11:40:56 -08:00
..
Arch [NFC] Use isX86() instead of getArch() 2020-01-07 17:35:44 +08:00
AIX.cpp [NFC] Test commit, revert whitespace change 2020-01-06 16:28:13 -05:00
AIX.h Add AIX assembler support 2019-12-02 11:29:36 -05:00
AMDGPU.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
AMDGPU.h [AMDGPU][HIP] Change default DWARF version to 4 2019-11-14 11:51:11 -05:00
AVR.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
AVR.h [AVR] Automatically link CRT and libgcc from the system avr-gcc 2019-05-19 09:54:14 +00:00
Ananas.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Ananas.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BareMetal.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
BareMetal.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Clang.cpp [PowerPC][Triple] Use elfv2 on freebsd>=13 and linux-musl 2020-01-07 11:40:56 -08:00
Clang.h [Clang][OpenMP Offload] Add new tool for wrapping offload device binaries 2019-10-09 20:42:58 +00:00
CloudABI.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
CloudABI.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommonArgs.cpp [Driver] Make -static-libgcc imply static libunwind 2019-11-22 15:33:13 -08:00
CommonArgs.h Revert cdcf58e5af "[RISCV] enable LTO support, pass some options to linker." 2019-11-11 10:58:39 +01:00
Contiki.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Contiki.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CrossWindows.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
CrossWindows.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Cuda.cpp [Clang] Bypass distro detection on non-Linux hosts 2019-11-28 17:02:06 -05:00
Cuda.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Darwin.cpp [NFC] Use isX86() instead of getArch() 2020-01-07 17:35:44 +08:00
Darwin.h [driver][darwin] Pass -platform_version flag to the linker instead of the -<platform>_version_min flag 2019-12-17 10:26:32 -08:00
DragonFly.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
DragonFly.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Flang.cpp [clang][driver] Add basic --driver-mode=flang support for fortran 2019-10-30 10:42:22 +00:00
Flang.h [clang][driver] Add basic --driver-mode=flang support for fortran 2019-10-30 10:42:22 +00:00
FreeBSD.cpp Add Triple::isX86() 2020-01-06 15:51:02 -08:00
FreeBSD.h [Driver] Use .init_array for all gcc installations and simplify Generic_ELF -fno-use-init-array rules 2019-12-13 14:06:51 -08:00
Fuchsia.cpp Default to -fuse-init-array 2019-12-12 10:32:56 -08:00
Fuchsia.h [Driver] Derive Fuchsia Linker directly from Tool 2019-08-05 01:36:51 +00:00
Gnu.cpp [Gnu toolchain] Look at standard GCC paths for libstdcxx by default 2020-01-05 21:43:18 +00:00
Gnu.h [Gnu toolchain] Look at standard GCC paths for libstdcxx by default 2020-01-05 21:43:18 +00:00
HIP.cpp [HIP] Add option --gpu-max-threads-per-block=n 2020-01-07 11:18:00 -05:00
HIP.h [AMDGPU][HIP] Change default DWARF version to 4 2019-11-14 11:51:11 -05:00
Haiku.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Haiku.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Hexagon.cpp Avoid unsupported LLD options 2019-12-20 14:18:10 -06:00
Hexagon.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Hurd.cpp [Gnu toolchain] Look at standard GCC paths for libstdcxx by default 2020-01-05 21:43:18 +00:00
Hurd.h [Gnu toolchain] Look at standard GCC paths for libstdcxx by default 2020-01-05 21:43:18 +00:00
InterfaceStubs.cpp [clang][IFS] Ignoring -Xlinker/-Xclang arguments in InterfaceStubs pass for now. 2019-12-04 20:03:57 -05:00
InterfaceStubs.h [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
Lanai.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Linux.cpp [Gnu toolchain] Look at standard GCC paths for libstdcxx by default 2020-01-05 21:43:18 +00:00
Linux.h [Gnu toolchain] Look at standard GCC paths for libstdcxx by default 2020-01-05 21:43:18 +00:00
MSP430.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
MSP430.h Disable PIC/PIE for MSP430 target 2019-02-12 20:46:00 +00:00
MSVC.cpp Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
MSVC.h [MSVC] Automatically add atlmfc folder to include and libpath. 2019-10-10 20:25:54 +00:00
MSVCSetupApi.h
MinGW.cpp [MinGW] Implicitly add .exe suffix if not provided 2019-12-17 10:08:39 +02:00
MinGW.h The MinGW linker supports response files 2019-08-02 22:55:00 +00:00
Minix.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Minix.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MipsLinux.cpp [Driver] Support object files in addition to static and shared libraries in compiler-rt 2019-03-12 02:12:48 +00:00
MipsLinux.h [Driver] Support object files in addition to static and shared libraries in compiler-rt 2019-03-12 02:12:48 +00:00
Myriad.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Myriad.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NaCl.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
NaCl.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NetBSD.cpp Default to -fuse-init-array 2019-12-12 10:32:56 -08:00
NetBSD.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OpenBSD.cpp Default to -fuse-init-array 2019-12-12 10:32:56 -08:00
OpenBSD.h Default to -fuse-init-array 2019-12-12 10:32:56 -08:00
PPCLinux.cpp [PowerPC] [Clang] Add platform guards to PPC vector intrinsics headers 2019-07-30 02:18:11 +00:00
PPCLinux.h [PowerPC] [Clang] Port MMX intrinsics and basic test cases to Power 2019-04-23 05:50:24 +00:00
PS4CPU.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
PS4CPU.h Don't add -fsplit-lto-unit for thin LTO builds with PS4 and Darwin toolchains 2019-10-24 14:10:03 +03:00
RISCVToolchain.cpp Default to -fuse-init-array 2019-12-12 10:32:56 -08:00
RISCVToolchain.h [RISCV] Use compiler-rt if no GCC installation detected 2019-11-22 20:05:29 +00:00
Solaris.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Solaris.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TCE.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TCE.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WebAssembly.cpp Default to -fuse-init-array 2019-12-12 10:32:56 -08:00
WebAssembly.h [WebAssembly] Support VPtr sanitizer for Emscripten 2019-05-29 18:31:50 +00:00
XCore.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
XCore.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00