[PATCH 0/2] objtool: Fixes in .cold detection logic

From: Josh Poimboeuf
Date: Tue Nov 20 2018 - 12:53:25 EST


A couple of objtool fixes from Artem Savkov. Fix a double-free in an
error path, and a seg fault seen with -ffunction-sections.

Artem Savkov (2):
objtool: Fix double-free in .cold detection error path
objtool: Fix seg fault in .cold detection with -ffunction-sections

tools/objtool/elf.c | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)

--
2.17.2