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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 12:01:04 PDT 2016


I added a comment on phab, but it is not sending an email.

Cheers,
Rafael


On 24 April 2016 at 07:24, Simon Atanasyan <simon at atanasyan.com> wrote:
> 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
>


More information about the llvm-commits mailing list