[PATCH] D28552: [ELF] - Ignore R_386_NONE.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 12:34:55 PST 2017


On Wed, Jan 11, 2017 at 11:00 AM, Davide Italiano via Phabricator <
reviews at reviews.llvm.org> wrote:

> davide added a comment.
>
> In https://reviews.llvm.org/D28552#643063, @ruiu wrote:
>
> > How does dtrace use that? I was thinking that the semantics of the
> relocation is pretty clear -- that is a relocation which doesn't change the
> target values.
>
>
> Then why you need to emit a reloc in the first place (if that reloc is de
> facto a nop)?
>
> See http://llvm.org/viewvc/llvm-project?rev=288485&view=rev for the
> dtrace use.
>

I think that's because of a similar reason why nop is useful in machine
instruction set.


>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D28552
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/d9cf4454/attachment.html>


More information about the llvm-commits mailing list