hanchenye-llvm-project/lld/lib
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
..
Config add_lld_library -> add_llvm_library 2015-01-21 21:26:27 +00:00
Core Style cleanup in compareByPosition(). 2015-02-04 00:44:52 +00:00
Driver ELF: Support INPUT linker script directive 2015-02-03 23:00:19 +00:00
Passes Wrap debug output with DEBUG(). 2015-01-30 18:20:44 +00:00
ReaderWriter PECOFF: Fix I386_DIR32 relocation to an absolute symbol 2015-02-05 07:22:53 +00:00
CMakeLists.txt Revert "Add support library." 2014-11-11 00:40:36 +00:00
Makefile Revert "Add support library." 2014-11-11 00:40:36 +00:00