[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1.

When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils
ld.bfd from ports for the bootstrap, as this is the only modern linker for
ELFv1 host tools.

As binutils ld.bfd is rather strict in its handling of undefined symbols,
it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol.

Reviewed by:	dim, emaste
Sponsored by:	Tag1 Consulting, Inc.
Differential Revision:	https://reviews.freebsd.org/D23072
This commit is contained in:
Brandon Bergren 2020-01-07 22:45:02 +00:00
parent 0840c1db16
commit 6f5bc35d94
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356479

View File

@ -10,6 +10,7 @@ SRCS+= Demangle/ItaniumDemangle.cpp
SRCS+= Support/APFloat.cpp
SRCS+= Support/APInt.cpp
SRCS+= Support/ARMTargetParser.cpp
SRCS+= Support/Atomic.cpp
SRCS+= Support/CodeGenCoverage.cpp
SRCS+= Support/CommandLine.cpp
SRCS+= Support/ConvertUTF.cpp