aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/objtool/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c
index 7ec85d567598..f8cef271dfc7 100644
--- a/tools/objtool/elf.c
+++ b/tools/objtool/elf.c
@@ -301,7 +301,7 @@ static int read_symbols(struct elf *elf)
301 if (sym->type != STT_FUNC) 301 if (sym->type != STT_FUNC)
302 continue; 302 continue;
303 sym->pfunc = sym->cfunc = sym; 303 sym->pfunc = sym->cfunc = sym;
304 coldstr = strstr(sym->name, ".cold."); 304 coldstr = strstr(sym->name, ".cold");
305 if (!coldstr) 305 if (!coldstr)
306 continue; 306 continue;
307 307