llvm-project/lld
Ed Schouten 3bf713043a Make --export-dynamic work on non-PIC/PIE targets.
For CloudABI I'm only interested in generating non-PIC/PIE executables
on armv6 and i686, as PIE introduces larger overhead than on aarch64 and
x86_64. Still, I want to be able to instruct the linker to generate a
dynamic symbol table if requested. One example use for this is that
dynamic symbol tables can be used by programs to print nicely formatted
stacktraces, including symbol names.

Right now there seems to be some logic in LLD that it only wants to emit
dynamic symbol tables when either linking against libraries or when
building PIC. Let's extend this to also take --export-dynamic into
account.

Reviewed by:	ruiu
Differential Revision:	https://reviews.llvm.org/D29982

llvm-svn: 295240
2017-02-15 21:51:25 +00:00
..
COFF [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
ELF Make --export-dynamic work on non-PIC/PIE targets. 2017-02-15 21:51:25 +00:00
cmake/modules [lld][cmake] Fix BUILD_SHARED_LIBS installation 2017-01-24 10:41:02 +00:00
docs Don't try to link to the 4.0 release notes 2017-02-09 23:27:17 +00:00
include/lld added missing files for r293965 2017-02-02 23:53:10 +00:00
lib [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
test Apply different tokenization rules to linker script expressions. 2017-02-15 19:58:17 +00:00
tools/lld [lld][cmake] Fix LLVM_LINK_LLVM_DYLIB build 2017-01-09 09:57:08 +00:00
unittests [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format
.gitignore
CMakeLists.txt [cmake] Support running tests in stand-alone builds 2017-01-31 14:10:20 +00:00
CODE_OWNERS.TXT Add initial CODE_OWNERS.TXT file 2015-07-25 00:44:37 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:40:59 +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.