exclude shstrtab from reachability test

Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
Seth Jennings 2014-02-06 16:16:49 -06:00
parent 588b174ef1
commit 18aee7bdfe
1 changed files with 1 additions and 0 deletions

View File

@ -806,6 +806,7 @@ void kpatch_validate_reachability(struct kpatch_elf *kelf)
for_each_section(i, sec, &kelf->sections) for_each_section(i, sec, &kelf->sections)
if (sec->status != SAME && !sec->reachable && if (sec->status != SAME && !sec->reachable &&
strcmp(sec->name, ".shstrtab") &&
strcmp(sec->name, ".symtab") && strcmp(sec->name, ".symtab") &&
strcmp(sec->name, ".strtab")) strcmp(sec->name, ".strtab"))
DIFF_FATAL("unreachable changed section %s", DIFF_FATAL("unreachable changed section %s",