CRIS: Discard exit.text and .data at runtime

This allows us to handle references from __bug_table.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
Jesper Nilsson 2010-08-04 14:10:04 +02:00
parent dcb313c23f
commit 7c8a25b544

View File

@ -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 : {