From 18aee7bdfe6d12a924a0ead6a0e98dc22b69eefb Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Thu, 6 Feb 2014 16:16:49 -0600 Subject: [PATCH] exclude shstrtab from reachability test Signed-off-by: Seth Jennings --- tools/create-diff-object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/create-diff-object.c b/tools/create-diff-object.c index bc1c959..499e30b 100644 --- a/tools/create-diff-object.c +++ b/tools/create-diff-object.c @@ -806,6 +806,7 @@ void kpatch_validate_reachability(struct kpatch_elf *kelf) for_each_section(i, sec, &kelf->sections) if (sec->status != SAME && !sec->reachable && + strcmp(sec->name, ".shstrtab") && strcmp(sec->name, ".symtab") && strcmp(sec->name, ".strtab")) DIFF_FATAL("unreachable changed section %s",