diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-12-06 20:14:19 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:19 -0500 |
commit | b65780e123ba9b762276482bbfb52836e4d41fd9 (patch) | |
tree | 735ac2dde1838e6977f0ad2ed2c7e2c65f6271ed /arch/i386 | |
parent | c65f38d911aa301cea109d38d40925750dd6c2da (diff) |
[PATCH] unwinder: move .eh_frame to RODATA
The .eh_frame section contents is never written to, so it can as well
benefit from CONFIG_DEBUG_RODATA.
Diff-ed against firstfloor tree.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/vmlinux.lds.S | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/i386/kernel/vmlinux.lds.S index 25581e87c60d..56e6ad5cb045 100644 --- a/arch/i386/kernel/vmlinux.lds.S +++ b/arch/i386/kernel/vmlinux.lds.S | |||
@@ -102,15 +102,6 @@ SECTIONS | |||
102 | _edata = .; /* End of data section */ | 102 | _edata = .; /* End of data section */ |
103 | } | 103 | } |
104 | 104 | ||
105 | #ifdef CONFIG_STACK_UNWIND | ||
106 | . = ALIGN(4); | ||
107 | .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { | ||
108 | __start_unwind = .; | ||
109 | *(.eh_frame) | ||
110 | __end_unwind = .; | ||
111 | } | ||
112 | #endif | ||
113 | |||
114 | . = ALIGN(THREAD_SIZE); /* init_task */ | 105 | . = ALIGN(THREAD_SIZE); /* init_task */ |
115 | .data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) { | 106 | .data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) { |
116 | *(.data.init_task) | 107 | *(.data.init_task) |