From: Ross Lagerwall Date: Fri, 13 Nov 2015 14:39:04 +0000 (+0000) Subject: Add more sections to be bundleable X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f097c768604a2401f0e981f93c8afdc565c0b061;p=livepatch-build-tools.git Add more sections to be bundleable --- diff --git a/common.c b/common.c index 7062268..bc63955 100644 --- a/common.c +++ b/common.c @@ -133,6 +133,16 @@ static int is_bundleable(struct symbol *sym) !strcmp(sym->sec->name + 6, sym->name)) return 1; + if (sym->type == STT_OBJECT && + !strncmp(sym->sec->name, ".data.rel.", 10) && + !strcmp(sym->sec->name + 10, sym->name)) + return 1; + + if (sym->type == STT_OBJECT && + !strncmp(sym->sec->name, ".data.rel.local.", 16) && + !strcmp(sym->sec->name + 16, sym->name)) + return 1; + if (sym->type == STT_OBJECT && !strncmp(sym->sec->name, ".data.rel.ro.", 13) && !strcmp(sym->sec->name + 13, sym->name))