llvm-project/lld
George Rimar d602987271 [ELF] - Properly handle R_386_GOTPC relocation.
This is PR33243. R_GOTONLY_PC_FROM_END was not in a list of link time constant
expressions and that was a result of confusiing messages like PR shows:

/usr/bin/ld.lld: error: /usr/lib/go/src/runtime/alg.go:47: 
can't create dynamic relocation R_386_GOTPC against local symbol in readonly segment defined in /tmp/nice/go-link-597453838/go.o

Though in reality we just should not have try to create a dynamic relocation for this case at all.

Patch fixes the issue.

Differential revision: https://reviews.llvm.org/D33717

llvm-svn: 304393
2017-06-01 07:53:58 +00:00
..
COFF [lld] Fix a bug where we continually re-follow type servers. 2017-05-25 21:16:03 +00:00
ELF [ELF] - Properly handle R_386_GOTPC relocation. 2017-06-01 07:53:58 +00:00
cmake/modules
docs docs: Fix Sphinx detection with out-of-tree builds 2017-05-09 01:43:22 +00:00
include/lld [Support] Move Parallel algorithms from LLD to LLVM. 2017-05-11 00:03:52 +00:00
lib [Support] Move Parallel algorithms from LLD to LLVM. 2017-05-11 00:03:52 +00:00
test [ELF] - Properly handle R_386_GOTPC relocation. 2017-06-01 07:53:58 +00:00
tools/lld Accept not only lld-link but also LLD-LINK, for example. 2017-04-12 18:29:52 +00:00
unittests [Support] Move Parallel algorithms from LLD to LLVM. 2017-05-11 00:03:52 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Dummy commit to trigger CMake reconfiguration and unbreak Sphinx build 2017-05-04 08:32:33 +00:00
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.