[PATCH] D13856: [ELF2] - Lazy relocation support for x86_64.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 01:54:58 PDT 2015


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

So thats final variant of lazy relocation support.
In compare with previous attemp there are 2 major changes:

1) This one does not break self-hosting.
2) DSO calls are working.  Everything what was needed was implemented (I believe).
3) Target has supportsLazyRelocations() method which can switch lazy relocs on/off (currently all targets are OFF except x64 which is ON). So no any other targets are affected now, but x64 now has lazy relocs and ability to turn it off !

http://reviews.llvm.org/D13856

Files:
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Symbols.h
  ELF/Target.cpp
  ELF/Target.h
  ELF/Writer.cpp
  test/elf2/dynamic-reloc-weak.s
  test/elf2/plt.s
  test/elf2/relocation.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13856.37726.patch
Type: text/x-patch
Size: 31340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151019/8f116f65/attachment.bin>


More information about the llvm-commits mailing list