[PATCH] objtool: bump function name limit to 256 characters

From: Alexey Dobriyan
Date: Fri Sep 20 2019 - 14:25:10 EST


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

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

tools/objtool/elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/objtool/elf.c
+++ b/tools/objtool/elf.c
@@ -19,7 +19,7 @@
#include "elf.h"
#include "warn.h"

-#define MAX_NAME_LEN 128
+#define MAX_NAME_LEN 256

struct section *find_section_by_name(struct elf *elf, const char *name)
{