Go to file
George Rimar 1840901a2f [ELF] - Allow producing -r output if only empty archive is given.
This is used by linux kernel build system.

(https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt "3.2 Built-in object goals")

It has for example next configuration for linking built-in.o files:
drivers-y	:= $(patsubst %/, %/built-in.o, $(drivers-y))
drivers-$(CONFIG_PCI)		+= arch/ia64/pci/
...
drivers-$(CONFIG_OPROFILE)	+= arch/ia64/oprofile/

Im most simple case all CONFIG_* options are off. That means linker is called with empty input archive, 
emulation option and no inputs and expected to generate some relocatable output. 
ld.bfd is able to do that, we dont.

Patch allows to support this case.

Differential revision: https://reviews.llvm.org/D33937

llvm-svn: 305069
2017-06-09 12:26:57 +00:00
clang Revert of r305066 "Reapply Frontend support for Nios2 target" 2017-06-09 12:09:29 +00:00
clang-tools-extra [clang-tools-extra] ReleaseNotes.rst: test commit: whitespace fix 2017-06-09 12:00:04 +00:00
compiler-rt [asan] Fix ASan internal failure in AllocateFromLocalPool 2017-06-09 07:47:38 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx [libcxx] [test] Update locale names for Windows. 2017-06-08 18:22:03 +00:00
libcxxabi [libcxxabi] HandleLLVMOptions in out of tree build 2017-06-03 17:23:19 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld [ELF] - Allow producing -r output if only empty archive is given. 2017-06-09 12:26:57 +00:00
lldb Skip TestNoreturnUnwind on linux+clang+arm 2017-06-09 08:33:59 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [ARM] Add scheduling info for VFMS 2017-06-09 09:19:09 +00:00
openmp Fix static initializers for locks. 2017-06-06 20:24:41 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] [ScopDetection] Allow passing multiple functions to `-polly-only-func`. 2017-06-09 08:23:40 +00:00