Re: [PATCH] objtool: Fix objtool fallthrough detection with function padding

2017-08-21 Thread Josh Poimboeuf
On Fri, Aug 11, 2017 at 12:24:15PM -0500, Josh Poimboeuf wrote: > When GCC adds NOP padding between functions, those NOPs aren't > associated with a function symbol, which breaks objtool's detection of a > function falling through to another function. Instead it shows > confusing errors like: > >

[PATCH] objtool: Fix objtool fallthrough detection with function padding

2017-08-11 Thread Josh Poimboeuf
When GCC adds NOP padding between functions, those NOPs aren't associated with a function symbol, which breaks objtool's detection of a function falling through to another function. Instead it shows confusing errors like: drivers/mtd/chips/cfi_util.o: warning: objtool: cfi_qry_mode_on()+0x8b: