Re: [tip:x86/asm] objtool: Handle GCC stack pointer adjustment bug

2017-08-30 Thread Josh Poimboeuf
On Wed, Aug 30, 2017 at 04:39:42PM -0700, H. Peter Anvin wrote: > On 08/30/17 13:14, Josh Poimboeuf wrote: > > On Wed, Aug 30, 2017 at 12:23:24PM -0700, H. Peter Anvin wrote: > >> On 08/30/17 02:43, tip-bot for Josh Poimboeuf wrote: > >>> > >>> Those warnings are caused by an unusual GCC non-optimi

Re: [tip:x86/asm] objtool: Handle GCC stack pointer adjustment bug

2017-08-30 Thread H. Peter Anvin
On 08/30/17 13:14, Josh Poimboeuf wrote: > On Wed, Aug 30, 2017 at 12:23:24PM -0700, H. Peter Anvin wrote: >> On 08/30/17 02:43, tip-bot for Josh Poimboeuf wrote: >>> >>> Those warnings are caused by an unusual GCC non-optimization where it >>> uses an intermediate register to adjust the stack poin

Re: [tip:x86/asm] objtool: Handle GCC stack pointer adjustment bug

2017-08-30 Thread Josh Poimboeuf
On Wed, Aug 30, 2017 at 12:23:24PM -0700, H. Peter Anvin wrote: > On 08/30/17 02:43, tip-bot for Josh Poimboeuf wrote: > > > > Those warnings are caused by an unusual GCC non-optimization where it > > uses an intermediate register to adjust the stack pointer. It does: > > > > lea0x8(%rsp),

Re: [tip:x86/asm] objtool: Handle GCC stack pointer adjustment bug

2017-08-30 Thread H. Peter Anvin
On 08/30/17 02:43, tip-bot for Josh Poimboeuf wrote: > > Those warnings are caused by an unusual GCC non-optimization where it > uses an intermediate register to adjust the stack pointer. It does: > > lea0x8(%rsp), %rcx > ... > mov%rcx, %rsp > > Instead of the obvious: > > add

[tip:x86/asm] objtool: Handle GCC stack pointer adjustment bug

2017-08-30 Thread tip-bot for Josh Poimboeuf
Commit-ID: dd88a0a0c8615417fe6b4285769b5b772de87279 Gitweb: http://git.kernel.org/tip/dd88a0a0c8615417fe6b4285769b5b772de87279 Author: Josh Poimboeuf AuthorDate: Tue, 29 Aug 2017 12:51:03 -0500 Committer: Ingo Molnar CommitDate: Wed, 30 Aug 2017 10:48:41 +0200 objtool: Handle GCC stack