hanchenye-llvm-project/lld
Rui Ueyama 69960baad5 ELF2: Write .interp section on the first page in the exectuable.
Previously, we reserved the first page for the program header, so no
sections would be written to very beginning of the output file.
FreeBSD requires .interp section be exist on the first page, so that
was not good.

This patch calculates the size of the program header and then assign
addresses to the sections. Now the first section is located next to
the program header. Because the first section is .interp, it's very
likely to be on the first page.

llvm-svn: 249957
2015-10-10 23:25:39 +00:00
..
COFF [LLD] Fix Clang-tidy modernize-use-nullptr warnings; other minor cleanups. 2015-10-02 00:36:00 +00:00
ELF ELF2: Write .interp section on the first page in the exectuable. 2015-10-10 23:25:39 +00:00
cmake/modules
docs COFF: Update windows_support.html. 2015-09-03 17:01:18 +00:00
include/lld [lld][MachO] Initial implementation of -flat_namespace and -undefined. 2015-09-28 20:25:14 +00:00
lib Simplify. NFC. 2015-10-02 13:23:29 +00:00
test ELF2: Write .interp section on the first page in the exectuable. 2015-10-10 23:25:39 +00:00
tools Use ld.lld2 as a argv[0] alias. 2015-10-02 12:57:34 +00:00
unittests [Mips] Support two more MIPS linking emulation options elf32btsmipn32/elf32ltsmipn32 2015-08-28 21:39:13 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt [CMake] Don't include the lld test directory if LLVM_INCLUDE_TESTS is Off 2015-10-01 18:17:47 +00:00
CODE_OWNERS.TXT Add initial CODE_OWNERS.TXT file 2015-07-25 00:44:37 +00:00
LICENSE.TXT
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.