Re: [PATCH v4 0/4] Introduce the initify gcc plugin

From: Emese Revfy
Date: Thu Jan 12 2017 - 16:43:08 EST


On Tue, 10 Jan 2017 17:09:31 -0800
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> WARNING: vmlinux.o(.text+0x1087e7): Section mismatch in reference from
> the function rebind_subsystems() to the variable
> .init.rodata.str:__func__.4400
> The function rebind_subsystems() references
> the variable __initconst __func__.4400.
> This is often because rebind_subsystems lacks a __initconst
> annotation or the annotation of __func__.4400 is wrong.

Thanks for the report, you can find the fix here:
https://github.com/ephox-gcc-plugins/initify/commit/25f34834e3373e067133bc5d39d42c50a3592d56

--
Emese