lkml.org 
[lkml]   [2020]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] objtool: Remove redundant section name comparison
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@bytedance.com>

Thanks, added to the queue.

--
Josh

\
 
 \ /
  Last update: 2020-04-15 00:35    [W:0.033 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site