objtool: bump function name limit to 256 characters
PATCH 1/1 objtool: bump function name limit to 256 characters
Fix the following warning:
net/core/devlink.o: warning: objtool: _ZL31devlink_nl_sb_tc_pool_bind_fillP7sk_buffP7devlinkP12devlink_portP10devlink_sbt20devlink_sb_pool_type15devlink_commandjji.constprop.0.cold(): parent function name exceeds maximum length of 128 characters
---
tools/objtool/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/elf.c +1 -1
@@ -19,7 +19,7 @@#include "elf.h" #include "warn.h" -#define MAX_NAME_LEN 128 +#define MAX_NAME_LEN 256struct section *find_section_by_name (struct elf *elf,const char *name) {
Quoted 3 lines · Alexey Dobriyan
Fix the following warning:
net/core/devlink.o: warning: objtool: _ZL31devlink_nl_sb_tc_pool_bind_fillP7sk_buffP7devlinkP12devlink_portP10devlink_sbt20devlink_sb_pool_type15devlink_commandjji.constprop.0.cold(): parent function name exceeds maximum length of 128 characters
Hm, since when do we have mangled symbols in the kernel?
Signature · 1 line
Josh
Quoted 6 lines · Josh Poimboeuf
Quoted 3 lines · Alexey Dobriyan
Fix the following warning:
net/core/devlink.o: warning: objtool: _ZL31devlink_nl_sb_tc_pool_bind_fillP7sk_buffP7devlinkP12devlink_portP10devlink_sbt20devlink_sb_pool_type15devlink_commandjji.constprop.0.cold(): parent function name exceeds maximum length of 128 charactersHm, since when do we have mangled symbols in the kernel?
We don't, yet :-)