Re: [PATCH] objtool: Fix switch-table detection

2018-02-08 Thread Josh Poimboeuf
On Thu, Feb 08, 2018 at 02:02:32PM +0100, Peter Zijlstra wrote: > > Linus reported that GCC-7.3 generated a switch-table construct that > confused objtool. It turns out that, in particular due to KASAN, it is > possible to have unrelated .rodata usage in between the .rodata setup > for the switch-

Re: [PATCH] objtool: Fix switch-table detection

2018-02-08 Thread Linus Torvalds
On Thu, Feb 8, 2018 at 5:02 AM, Peter Zijlstra wrote: > > Fix this by creating a 'jump-stack' which we can 'unwind' during > reversal, thereby skipping over much of the in-between code. I'm assuming this will come through the normal tip trees, since that's where objtool stuff generally comes from