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:
parent
dcb313c23f
commit
7c8a25b544
@ -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 : {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user