[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200414223357.tbc66fdok5nxb4if@treble>
Date: Tue, 14 Apr 2020 17:33:57 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Muchun Song <songmuchun@...edance.com>
Cc: peterz@...radead.org, mingo@...nel.org, tglx@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [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@...edance.com>
Thanks, added to the queue.
--
Josh
Powered by blists - more mailing lists