On Sat, Jan 13, 2018 at 8:51 AM, David Woodhouse <dw...@infradead.org> wrote: > On Sat, 2018-01-13 at 08:46 -0800, H.J. Lu wrote: >> >> >> +@item -mindirect-branch-register >> >> +@opindex -mindirect-branch-register >> >> +Force indirect call and jump via register. >> > >> > Again I think this option needs better documentation. It is not quite >> > clear to me why >> > it is needed at first place? >> > >> >> This is used by kernel to force__x86_indirect_thunk_reg. Do we >> need this info in GCC manual? > > I think I just answer the 'why' elsewhere. It's for CET compatibility.
This is mostly relevant to kernel. I will leave it as is. -- H.J.