[PATCH 21/29] objtool: Support GCC 8's cold subfunctions

2018-06-03 Thread Greg Kroah-Hartman
From: Josh Poimboeuf commit 13810435b9a7014fb92eb715f77da488f3b65b99 upstream. GCC 8 moves a lot of unlikely code out of line to "cold" subfunctions in .text.unlikely. Properly detect the new subfunctions and treat them as extensions of the original functions. This fixes a bunch of warnings

[PATCH 21/29] objtool: Support GCC 8's cold subfunctions

2018-06-03 Thread Greg Kroah-Hartman
From: Josh Poimboeuf commit 13810435b9a7014fb92eb715f77da488f3b65b99 upstream. GCC 8 moves a lot of unlikely code out of line to "cold" subfunctions in .text.unlikely. Properly detect the new subfunctions and treat them as extensions of the original functions. This fixes a bunch of warnings