[PATCH] objtool: fix dead end logic for recursive sibling calls

2018-05-06 Thread Josh Poimboeuf
Objtool has some crude logic for detecting static functions which never return (aka "dead ends"). This is necessary for being able to correctly follow GCC code flow when such functions are called. It's remotely possible for two functions to call each other via sibling calls. If they don't have

[PATCH] objtool: fix dead end logic for recursive sibling calls

2018-05-06 Thread Josh Poimboeuf
Objtool has some crude logic for detecting static functions which never return (aka "dead ends"). This is necessary for being able to correctly follow GCC code flow when such functions are called. It's remotely possible for two functions to call each other via sibling calls. If they don't have