Re: [PATCH] objtool: Remove redundant section name comparison

From: Josh Poimboeuf
Date: Tue Apr 14 2020 - 18:34:14 EST


On Sun, Apr 12, 2020 at 10:44:05PM +0800, Muchun Song wrote:
> If the prefix of section name is not '.rodata', the following
> function call can never return 0.
>
> strcmp(sec->name, C_JUMP_TABLE_SECTION)
>
> So the name comparison is pointless, just remove it.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks, added to the queue.

--
Josh