[PATCH] D15779: [ELF] - Implemented optimization for R_X86_64_GOTPCREL relocation.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon May 23 06:18:45 PDT 2016


grimar updated this revision to Diff 58087.
grimar added a comment.

- Restored removed earlier by mistake a check of opcode for mov->lea conversion.
- Updated code and testcases to produce/relax R_X86_64_GOTPCRELX.


http://reviews.llvm.org/D15779

Files:
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/Target.cpp
  ELF/Target.h
  ELF/Writer.cpp
  test/ELF/Inputs/gotpc-relax-und-dso.s
  test/ELF/gotpc-relax-und-dso.s
  test/ELF/gotpc-relax.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15779.58087.patch
Type: text/x-patch
Size: 12685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160523/987979c2/attachment.bin>


More information about the llvm-commits mailing list