Messages in this thread | | | Date | Tue, 14 Apr 2020 17:33:57 -0500 | From | Josh Poimboeuf <> | 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@bytedance.com>
Thanks, added to the queue.
-- Josh
| |