From f097c768604a2401f0e981f93c8afdc565c0b061 Mon Sep 17 00:00:00 2001 From: Ross Lagerwall Date: Fri, 13 Nov 2015 14:39:04 +0000 Subject: [PATCH] Add more sections to be bundleable --- common.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)) -- 2.39.5