]> xenbits.xensource.com Git - livepatch-build-tools.git/commitdiff
Add more sections to be bundleable
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Fri, 13 Nov 2015 14:39:04 +0000 (14:39 +0000)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 20 Jan 2016 13:48:25 +0000 (13:48 +0000)
common.c

index 7062268e93e50150a920cf8d0def5d8ddc69d8c5..bc639550b419adc2d0029be312b2f6cf47a6ae10 100644 (file)
--- 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))