Re: [PATCH v4 11/15] x86, relocs: Ignore __typeid__ relocations

From: Sami Tolvanen
Date: Wed Oct 06 2021 - 12:18:08 EST


On Tue, Oct 5, 2021 at 8:31 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> On Thu, Sep 30, 2021 at 11:05:27AM -0700, Sami Tolvanen wrote:
> > From: Kees Cook <keescook@xxxxxxxxxxxx>
> >
> > The __typeid__* symbols aren't actually relocations, so they can be
> > ignored during relocation generation.
>
> Then what are they? It would be good to add that information here.

These relocations are for compiler-generated constants that it uses
for indirect call type checking. I think we can clarify this in the
next version.

Sami