diff options
author | Fangrui Song <maskray@google.com> | 2018-06-13 23:29:28 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-06-13 23:29:28 +0000 |
commit | 4ff63648adf243678869daa5359cdfd6b822bc81 (patch) | |
tree | 654cc31bfbbc7c6988c1dd2de0387cfe637151ef /libcxx/test/std/containers/sequences/nothing_to_do.pass.cpp | |
parent | b8b248cf2e0fdd6b5449aaecb6b060b6050f6b72 (diff) | |
download | bcm5719-llvm-4ff63648adf243678869daa5359cdfd6b822bc81.tar.gz bcm5719-llvm-4ff63648adf243678869daa5359cdfd6b822bc81.zip |
[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
Diffstat (limited to 'libcxx/test/std/containers/sequences/nothing_to_do.pass.cpp')
0 files changed, 0 insertions, 0 deletions