llvm-project/lld/test
Peter Smith 64f65b02d2 [ELF] Implement --[no-]apply-dynamic-relocs option.
When resolving dynamic RELA relocations the addend is taken from the
relocation and not the place being relocated. Accordingly lld does not
write the addend field to the place like it would for a REL relocation.
Unfortunately there is some system software, in particlar dynamic loaders
such as Bionic's linker64 that use the value of the place prior to
relocation to find the offset that they have been loaded at. Both gold
and bfd control this behavior with the --[no-]apply-dynamic-relocs option.
This change implements the option and defaults it to true for compatibility
with gold and bfd.

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

llvm-svn: 324221
2018-02-05 10:15:08 +00:00
..
COFF [COFF] make /incremental control overwriting unchanged import libraries 2018-01-31 23:44:00 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF [ELF] Implement --[no-]apply-dynamic-relocs option. 2018-02-05 10:15:08 +00:00
MinGW [MinGW] Don't pass -dynamicbase:no by default for arm/arm64 2017-12-12 19:39:18 +00:00
Unit [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
darwin Add the GC commandline options and throw errors if they are used 2016-01-15 17:39:02 +00:00
mach-o [MACH-O] Fix the ASM code generated for __stub_helpers section 2017-08-24 23:51:40 +00:00
wasm [WebAssembly] Fix typo in test file 2018-02-02 00:35:04 +00:00
CMakeLists.txt [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
lit.cfg.py [ELF] Use shell to check the file permissions 2017-12-12 00:31:46 +00:00
lit.site.cfg.py.in [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00