hanchenye-llvm-project/lld/lib
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
..
Config add_lld_library -> add_llvm_library 2015-01-21 21:26:27 +00:00
Core [LinkerScript] Implement linker script expression evaluation 2015-03-09 21:43:35 +00:00
Driver [LinkerScript] Implement semantics for simple sections mappings 2015-03-16 19:55:15 +00:00
ReaderWriter [ELF] Use pcrel format for eh_frame_ptr field encoding 2015-03-16 21:07:46 +00:00
CMakeLists.txt Remove YAML/Native round-trip passes. 2015-02-20 22:10:28 +00:00
Makefile Update makefile to reflect that the Passes directory is gone here. 2015-03-07 09:03:17 +00:00