[lld] r266063 - Always create a .got on mips.

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 13:59:00 PDT 2016


On Tue, Apr 12, 2016 at 4:21 PM, Rafael Espindola via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: rafael
> Date: Tue Apr 12 08:21:13 2016
> New Revision: 266063
>
> URL: http://llvm.org/viewvc/llvm-project?rev=266063&view=rev
> Log:
> Always create a .got on mips.
>
> The _gp* family of symbols is defined as an offset in .got, and it is
> not at all clear what should happen when .got is not defined.

The .got section is not necessary when you link using '-r' command
line option. But now it is not the only problem related to MIPS in
this mode so let's for now leave this code as is.

-- 
Simon Atanasyan


More information about the llvm-commits mailing list