llvm-project/lld
Eugene Leviant cd8eaf891a [ELF] Don't emit empty PT_LOAD segment
Sometimes the very first PT_LOAD segment, created by lld, can be empty. 
This happens when (all conditions met):

- Linker script is used
- First section in ELF image is not RO
- Not enough space for program headers.

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

llvm-svn: 283760
2016-10-10 15:09:44 +00:00
..
COFF Add an empty DBI stream. 2016-10-06 22:52:01 +00:00
ELF [ELF] Don't emit empty PT_LOAD segment 2016-10-10 15:09:44 +00:00
cmake/modules
docs Remove trailing whitespace. 2016-10-05 20:09:50 +00:00
include/lld ADT: Remove uses of ilist_*sentinel_traits, NFC 2016-08-22 18:59:33 +00:00
lib [MachO] Factor out a fair amount of duplicated code. NFCI. 2016-09-12 21:07:26 +00:00
test [ELF] Don't emit empty PT_LOAD segment 2016-10-10 15:09:44 +00:00
tools/lld Use StringSwitch::Cases. NFC. 2016-09-29 22:54:31 +00:00
unittests [Cmake] Use Cmake's default RPATH for unittest. 2016-09-12 20:44:53 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format
.gitignore
CMakeLists.txt Inline a trivial CMakeLists.txt. 2016-03-03 01:56:23 +00:00
CODE_OWNERS.TXT Add initial CODE_OWNERS.TXT file 2015-07-25 00:44:37 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:40:59 +00:00
README.md

README.md

LLVM Linker (lld)

This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.

lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.