Commit 7c8a25b5 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS: Discard exit.text and .data at runtime

This allows us to handle references from __bug_table.
Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
parent dcb313c2
......@@ -86,6 +86,16 @@ SECTIONS
}
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_BLK_DEV_INITRD
.init.ramfs : {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment