forked from OSchip/llvm-project
28ac19c9ee
I faced that when tried to link FreeBSD kernel. It was "duplicate symbol: _edata in (internal) and (internal)" error. _data was a shared symbol that came from hack.so. At first it was replaced with DefinedRegular by the code disabled in this patch and later when script tried to define the same symbol - the error was shown. In the same situation (as given in testcase) ld defines them as UND. gold defines as ABS with zero value. Patch just disables any operations of creating these symbols if script do layout. Differential revision: https://reviews.llvm.org/D23206 llvm-svn: 277986 |
||
---|---|---|
.. | ||
COFF | ||
ELF | ||
cmake/modules | ||
docs | ||
include/lld | ||
lib | ||
test | ||
tools/lld | ||
unittests | ||
.arcconfig | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
CODE_OWNERS.TXT | ||
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.