[PATCH 02/11] objtool: Detect infinite recursion

2016-03-08 Thread Josh Poimboeuf
I don't _think_ dead_end_function() can get into a recursive loop, but just in case, stop the loop and print a warning. Signed-off-by: Josh Poimboeuf --- tools/objtool/builtin-check.c | 45 +++ 1 file changed, 33 insertions(+), 12

[PATCH 02/11] objtool: Detect infinite recursion

2016-03-08 Thread Josh Poimboeuf
I don't _think_ dead_end_function() can get into a recursive loop, but just in case, stop the loop and print a warning. Signed-off-by: Josh Poimboeuf --- tools/objtool/builtin-check.c | 45 +++ 1 file changed, 33 insertions(+), 12 deletions(-) diff --git