llvm-project/lld
Zaara Syeda 25b488b0ea [PPC64] Fix toc restore nops offset for V2 ABI
The PPC64 V2 ABI restores the toc base by loading from an offset of 24 from r1.
This patch fixes the offset and updates the testcases from V1 to V2. It also
issues an error when a nop is missing after a call to an external function.

Differential Revision: https://reviews.llvm.org/D45892

llvm-svn: 330600
2018-04-23 15:01:24 +00:00
..
COFF Fix nullptr passed to memcpy in lld/COFF/Chunks.cpp 2018-04-20 22:16:09 +00:00
Common Rename to match an LLVM change 2018-04-11 18:49:41 +00:00
ELF [PPC64] Fix toc restore nops offset for V2 ABI 2018-04-23 15:01:24 +00:00
MinGW [MinGW] Add support for the GNU ld flag --kill-at 2018-03-14 20:17:24 +00:00
cmake/modules [CMake] Properly conditionalize installation of lld libraries 2018-03-09 13:09:36 +00:00
docs Update man page for long opts that accept = after r326506 2018-03-02 02:57:12 +00:00
include/lld Merge {COFF,ELF}/Strings.cpp to Common/Strings.cpp. 2018-02-28 17:38:19 +00:00
lib Fix build broken by llvm r327486 2018-03-14 09:57:52 +00:00
test [PPC64] Fix toc restore nops offset for V2 ABI 2018-04-23 15:01:24 +00:00
tools/lld Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
unittests [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
utils Add a script to run various benchmarks and send the result to lnt. 2017-11-14 16:40:30 +00:00
wasm [WebAssembly] Implement -print-gc-sections, to better test GC of globals 2018-04-20 17:28:12 +00:00
.arcconfig [lld] Set up .arcconfig to point to new Diffusion LLD repository 2017-12-06 20:56:23 +00:00
.clang-format
.gitignore
CMakeLists.txt [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
CODE_OWNERS.TXT [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
LICENSE.TXT
README.md Note that the test .tar.xz has been updated. 2017-12-22 19:37:32 +00:00

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.

Benchmarking

In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.

It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz

The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.