llvm-capstone/lld
Rui Ueyama 6f9d49cdde Do not emit a corrupt symbol table entry for .rela_iplt_{start,end}.
If .rela.iplt does not exist, we used to emit a corrupt symbol table
that contains two symbols, .rela_iplt_{start,end}, pointing to a
nonexisting section.

This patch fixes the issue by setting section index 0 to the symbols
if .rel.iplt section does not exist.

Differential Revision: https://reviews.llvm.org/D56623

llvm-svn: 351218
2019-01-15 18:30:23 +00:00
..
cmake/modules
COFF lld-link: Spelling fixes in comments and minor style tweaks 2019-01-14 19:05:21 +00:00
Common Set MAttrs in LTO mode 2018-11-01 20:02:49 +00:00
docs lld/include/lld/Core/TODO.txt 2019-01-14 00:45:27 +00:00
ELF Do not emit a corrupt symbol table entry for .rela_iplt_{start,end}. 2019-01-15 18:30:23 +00:00
include/lld lld/include/lld/Core/TODO.txt 2019-01-14 00:45:27 +00:00
lib Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
MinGW [MinGW] Expand comment for MinGW driver. NFC. 2019-01-05 10:43:59 +00:00
test Do not emit a corrupt symbol table entry for .rela_iplt_{start,end}. 2019-01-15 18:30:23 +00:00
tools/lld Fix typo in error message. NFC. 2018-09-13 15:37:13 +00:00
unittests
utils
wasm [WebAssembly] Instruction renaming 2019-01-08 06:25:55 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
LICENSE.TXT Update year in license files 2019-01-15 15:10:32 +00:00
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.

Benchmarking

In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.

It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz

The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.