hanchenye-llvm-project/lld
Rui Ueyama df7d133cdf PECOFF: Fix I386_DIR32 relocation to an absolute symbol
Previously, we incorrectly added the image base address to an absolute
symbol address (that calculation doesn't make any sense) if an
IMAGE_REL_I386_DIR32 relocation is applied to an absolute symbol.

This patch fixes the issue. With this fix, we can link Bochs using LLD.
(Choosing Bochs has no special meaining -- I just picked it up as a
test program and found it didn't work.) This also fixes one of the
issues we currently have to link Chromium using LLD.

llvm-svn: 228279
2015-02-05 07:22:53 +00:00
..
cmake/modules
docs Fix five of the shared library build targets 2015-01-21 22:54:56 +00:00
include ELF: Support INPUT linker script directive 2015-02-03 23:00:19 +00:00
lib PECOFF: Fix I386_DIR32 relocation to an absolute symbol 2015-02-05 07:22:53 +00:00
test PECOFF: Fix I386_DIR32 relocation to an absolute symbol 2015-02-05 07:22:53 +00:00
tools Remove PPC ELF target 2015-01-28 16:37:43 +00:00
unittests The PPC lld backend has been removed, don't require it here. 2015-02-05 01:10:10 +00:00
utils lldReaderWriter.a depends on lldCore.a so make sure 2015-02-05 01:10:40 +00:00
.arcconfig Update Phabricator server. 2014-04-07 04:52:24 +00:00
.clang-format Remove redundant "Standard: Cpp11" tag. The LLVM style has used the 2014-07-04 12:08:03 +00:00
.gitignore Update .gitignore to ignore hidden MacOSX Finder droppings 2014-07-16 21:01:17 +00:00
CMakeLists.txt add_lld_library -> add_llvm_library 2015-01-21 21:26:27 +00:00
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +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.