summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/module.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/module.lds.h')
-rw-r--r--arch/arm64/include/asm/module.lds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/module.lds.h b/arch/arm64/include/asm/module.lds.h
index 094701ec5500..dbba4b7559aa 100644
--- a/arch/arm64/include/asm/module.lds.h
+++ b/arch/arm64/include/asm/module.lds.h
@@ -17,4 +17,12 @@ SECTIONS {
*/
.text.hot : { *(.text.hot) }
#endif
+
+#ifdef CONFIG_UNWIND_TABLES
+ /*
+ * Currently, we only use unwind info at module load time, so we can
+ * put it into the .init allocation.
+ */
+ .init.eh_frame : { *(.eh_frame) }
+#endif
}