diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-05-25 14:31:37 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-05-25 14:31:37 +0000 |
commit | 5c33b91bbe169eb1605ba67ba1382a0524b6424a (patch) | |
tree | 1f9acfeadc0abfaa1b4375bb9030e7d8be013c37 /lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py | |
parent | 1f4381f810cd7fcb555ae9c28728eee2241caf8d (diff) | |
download | bcm5719-llvm-5c33b91bbe169eb1605ba67ba1382a0524b6424a.tar.gz bcm5719-llvm-5c33b91bbe169eb1605ba67ba1382a0524b6424a.zip |
[ELF] - Implemented optimization for R_X86_64_GOTPCREL relocation.
System V Application Binary Interface AMD64 Architecture Processor Supplement Draft Version 0.99.8
(https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r249.pdf, B.2 "B.2 Optimize GOTPCRELX Relocations")
introduces possible relaxations for R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX.
That patch implements the next relaxation:
mov foo@GOTPCREL(%rip), %reg => lea foo(%rip), %reg
and also opens door for implementing all other ones.
Implementation was suggested by Rafael Ávila de Espíndola with few additions and testcases by myself.
Differential revision: http://reviews.llvm.org/D15779
llvm-svn: 270705
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py')
0 files changed, 0 insertions, 0 deletions