projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb313c
)
CRIS: Discard exit.text and .data at runtime
author
Jesper Nilsson
<jesper.nilsson@axis.com>
Wed, 4 Aug 2010 12:10:04 +0000
(14:10 +0200)
committer
Jesper Nilsson
<jesper.nilsson@axis.com>
Wed, 4 Aug 2010 12:10:04 +0000
(14:10 +0200)
This allows us to handle references from __bug_table.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/cris/kernel/vmlinux.lds.S
b/arch/cris/kernel/vmlinux.lds.S
index
9420511
..
789ad35
100644
(file)
--- a/
arch/cris/kernel/vmlinux.lds.S
+++ b/
arch/cris/kernel/vmlinux.lds.S
@@
-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 : {