提交 7c8a25b5 编写于 作者: J Jesper Nilsson

CRIS: Discard exit.text and .data at runtime

This allows us to handle references from __bug_table.
Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
上级 dcb313c2
...@@ -86,6 +86,16 @@ SECTIONS ...@@ -86,6 +86,16 @@ SECTIONS
} }
SECURITY_INIT SECURITY_INIT
/* .exit.text is discarded at runtime, not link time,
* to deal with references from __bug_table
*/
.exit.text : {
EXIT_TEXT
}
.exit.data : {
EXIT_DATA
}
#ifdef CONFIG_ETRAX_ARCH_V10 #ifdef CONFIG_ETRAX_ARCH_V10
#ifdef CONFIG_BLK_DEV_INITRD #ifdef CONFIG_BLK_DEV_INITRD
.init.ramfs : { .init.ramfs : {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册