summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/module.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-10-25 10:43:20 -0700
committerVineet Gupta <vgupta@synopsys.com>2016-10-28 10:10:28 -0700
commitd65283f7b695b5d04ca1ab58b6bb41f443b96286 (patch)
tree824d7100ed1c3aba300c8ae2d37c1725432e8563 /arch/arc/include/asm/module.h
parentf644e3688855902ad11549029098a62cbbc8f558 (diff)
downloadlinux-d65283f7b695b5d04ca1ab58b6bb41f443b96286.tar.bz2
ARC: module: elide loop to save reference to .eh_frame
The loop was really needed in .debug_frame regime where wanted make it as SH_ALLOC so that apply_relocate_add() would process it. That's not needed for .eh_frame, so we check this in apply_relocate_add() which gets called for each section. Note that we need to save reference to "section name strings" section in module_frob_arch_sections() since apply_relocate_add() doesn't get that Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/module.h')
-rw-r--r--arch/arc/include/asm/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/include/asm/module.h b/arch/arc/include/asm/module.h
index 518222bb3f8e..6e91d8b339c3 100644
--- a/arch/arc/include/asm/module.h
+++ b/arch/arc/include/asm/module.h
@@ -18,6 +18,7 @@
struct mod_arch_specific {
void *unw_info;
int unw_sec_idx;
+ const char *secstr;
};
#endif