[PATCH] D11612: [lld][ELF2] Apply relocations.

Michael Spencer bigcheesegs at gmail.com
Wed Jul 29 15:52:28 PDT 2015


Bigcheese created this revision.
Bigcheese added reviewers: rafael, ruiu.
Bigcheese added a subscriber: llvm-commits.

This is located in the Writer as opposed to SectionChunk so that the Writer can
do a single pass over the relocations and simultaneously generate GOT/PLT
entries which will be placed after the relocated SectionChunks.

Fully supporting linker scripts, which allow placement of the PLT and GOT
anywhere, will require a pre-layout pass to generate them.


http://reviews.llvm.org/D11612

Files:
  ELF/Chunks.cpp
  ELF/Chunks.h
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/SymbolTable.h
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/Writer.cpp
  ELF/Writer.h
  test/elf2/relocation.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11612.30961.patch
Type: text/x-patch
Size: 13596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150729/77fac3e6/attachment.bin>


More information about the llvm-commits mailing list