[PATCH] D17857: [ELF] - DT_TEXTREL/DF_TEXTREL flags implemented.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 12:22:35 PST 2016
On 3 March 2016 at 15:11, George Rimar <grimar at accesssoftek.com> wrote:
> grimar added a comment.
>
> In http://reviews.llvm.org/D17857#367522, @rafael wrote:
>
>> Is this actually needed?
>>
>> It was noticed in freebsd because we were incorrectly creating text
>> relocations. Short of bugs, is it actually common to have relocations
>> pointing to text these days?
>>
>> Cheers,
>> Rafael
>
>
> Doesn't all R_*_RELATIVE relocations are doing that ? I think they are used still at least for some targets. But I dont know actually how much it is needed.
Depends on what they are relocating. On normal use they only relocate RW data.
Cheers,
Rafael
More information about the llvm-commits
mailing list