From 3caac319a9b5e299c3c1d23858201fc73fe8a6f8 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 9 Oct 2007 15:23:02 +0900 Subject: [PATCH] --- yaml --- r: 68303 b: refs/heads/master c: 63482aaadacbc7e125d672bf8d8f2d39c13a49ed h: refs/heads/master i: 68301: 2b1bc6f388b7088ba9569b2dd4c7bd04eaf0a998 68299: ccf6a997b8791d558e204f5a69f5b1271735b253 68295: a99fd01e9375ddf11a47b851baaa148224cca5af 68287: 0d30168edd036a91aa802c57d1b90909aae91342 v: v3 --- [refs] | 2 +- trunk/arch/sh/kernel/vmlinux.lds.S | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ac5ddde81aa4..c2850e7605ac 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3497337946415849a2e4473ec2e9f0d2a6624b23 +refs/heads/master: 63482aaadacbc7e125d672bf8d8f2d39c13a49ed diff --git a/trunk/arch/sh/kernel/vmlinux.lds.S b/trunk/arch/sh/kernel/vmlinux.lds.S index 3d16d6ef47e1..6d5abba2ee27 100644 --- a/trunk/arch/sh/kernel/vmlinux.lds.S +++ b/trunk/arch/sh/kernel/vmlinux.lds.S @@ -91,6 +91,11 @@ SECTIONS __con_initcall_end = .; SECURITY_INIT + /* .exit.text is discarded at runtime, not link time, to deal with + references from .rodata */ + .exit.text : { *(.exit.text) } + .exit.data : { *(.exit.data) } + #ifdef CONFIG_BLK_DEV_INITRD . = ALIGN(PAGE_SIZE);