[PATCH] D19465: [ELF][MIPS] Move MIPS GOT header generation to the GotSection

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 04:24:54 PDT 2016


atanasyan created this revision.
atanasyan added reviewers: rafael, ruiu.
atanasyan added a subscriber: llvm-commits.
atanasyan set the repository for this revision to rL LLVM.
atanasyan added a project: lld.

MIPS is the only target requires GOT header. We already have MIPS specific code in the `GotSection` class, so move MIPS GOT header generation there and delete redundant stuff like `GotHeaderEntriesNum` field and `writeGotHeader` method.

Repository:
  rL LLVM

http://reviews.llvm.org/D19465

Files:
  ELF/OutputSections.cpp
  ELF/Target.cpp
  ELF/Target.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19465.54799.patch
Type: text/x-patch
Size: 6440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160424/78ddd767/attachment.bin>


More information about the llvm-commits mailing list