llvm-project/lld/test
Fangrui Song 4ff63648ad [ELF][X86_64] Use R_GOTREL_FROM_END instead of R_GOTREL for R_X86_64_GOTOFF64
Summary:
R_X86_64_GOTOFF64: S + A - GOT
R_X86_64_GOTPC{32,64}: GOT + A - P (R_GOTONLY_PC_FROM_END)

R_X86_64_GOTOFF64 should use R_GOTREL_FROM_END so that in conjunction with
R_X86_64_GOTPC{32,64}, the `GOT` term is neutralized. This also matches
the handling of R_386_GOTOFF (S + A - GOT).

Reviewers: ruiu, espindola

Subscribers: emaste, arichardson, llvm-commits

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

llvm-svn: 334672
2018-06-13 23:29:28 +00:00
..
COFF Fix /WholeArchive bug. 2018-06-12 21:47:31 +00:00
Driver/Inputs
ELF [ELF][X86_64] Use R_GOTREL_FROM_END instead of R_GOTREL for R_X86_64_GOTOFF64 2018-06-13 23:29:28 +00:00
MinGW [MinGW] Handle the GNU ld option -Map for outputting a linker map 2018-05-15 21:12:29 +00:00
Unit [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
darwin [Darwin] Do not error on '-lto_library' option 2018-06-13 18:59:14 +00:00
mach-o [lit] Fix a problem with spaces in the python path by adding quotes around it 2018-02-21 00:03:41 +00:00
wasm [WebAssembly] Add --export-all flag 2018-06-07 01:27:07 +00:00
CMakeLists.txt Add llvm-bcanalyzer as an LLD test dependency 2018-05-25 14:15:02 +00:00
lit.cfg.py Add Hexagon Support 2018-06-13 18:45:25 +00:00
lit.site.cfg.py.in [PDB] Resubmit "Support embedding natvis files in PDBs." 2018-03-23 19:57:25 +00:00