lkml.org 
[lkml]   [2021]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V5 14/50] x86/entry: Expose the address of .Lgs_change to entry64.c
On Wed, Nov 10, 2021 at 07:57:00PM +0800, Lai Jiangshan wrote:
> From: Lai Jiangshan <laijs@linux.alibaba.com>
>
> The address of .Lgs_change will be used in traps.c in later patch when
> some entry code is implemented in entry64.c. So the address of .Lgs_change
> is exposed to traps.c for preparation.
>
> The label .Lgs_change is still needed in ASM code for extable due to it
> can not use asm_load_gs_index_gs_change. Otherwise:
>
> warning: objtool: __ex_table+0x0: don't know how to handle
> non-section reloc symbol asm_load_gs_index_gs_change
>

I'm thinking commits:

24ff65257375 ("objtool: Teach get_alt_entry() about more relocation types")
4d8b35968bbf ("objtool: Remove reloc symbol type checks in get_alt_entry()")

Might have cured that.

\
 
 \ /
  Last update: 2021-11-18 21:14    [W:0.276 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site