[PATCH] D14621: [ELF2] - Implemented R_X86_64_GOTTPOFF relocation
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 14 11:05:57 PST 2015
> Problem here is that currently there are two places in code that looks very similiar:
>
> 1) Type = Body.isTLS() ? Target->getTlsGotReloc() : Target->getGotRefReloc();
> ...
> 2) unsigned GotReloc =
> Body->isTLS() ? Target->getTlsGotReloc() : Target->getGotReloc();
>
> But getGotRefReloc() and getGotReloc() are different calls. And it seems I cant just use the body argument to know which one relocation return for them in that places.
Fair enough.
More information about the llvm-commits
mailing list