hanchenye-llvm-project/lld
Simon Atanasyan 4b4706b601 [ELF] Use pcrel format for eh_frame_ptr field encoding
The `eh_frame_ptr` field in the `.eh_frame_hdr` section contains an address
of the `.eh_frame` section. Using an absolute 32-bit format for encoding
of this field does not work for 64-bit targets. It is better to use a
relative format because it covers both 32-bit and 64-bit cases. Sure
this work if a distance between `.eh_frame_hdr` and `.eh_frame` sections
is less than 4 Gb but it is a rather correct assumption.

http://reviews.llvm.org/D8352

llvm-svn: 232414
2015-03-16 21:07:46 +00:00
..
cmake/modules
docs Fix five of the shared library build targets 2015-01-21 22:54:56 +00:00
include [LinkerScript] Handle symbols defined in linker scripts 2015-03-16 20:39:07 +00:00
lib [ELF] Use pcrel format for eh_frame_ptr field encoding 2015-03-16 21:07:46 +00:00
test [ELF] Use pcrel format for eh_frame_ptr field encoding 2015-03-16 21:07:46 +00:00
tools Fix configure & make build by adding support for the ExampleSubTarget. 2015-03-12 11:47:51 +00:00
unittests [LinkerScript] Implement semantics for simple sections mappings 2015-03-16 19:55:15 +00:00
utils Move the 'linker-script-test' binary to the tools directory. 2015-03-11 22:05:49 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Move the 'linker-script-test' binary to the tools directory. 2015-03-11 22:05:49 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:14:35 +00:00
Makefile Move the 'linker-script-test' binary to the tools directory. 2015-03-11 22:05:49 +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.