diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-12-07 02:14:19 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:19 +0100 |
commit | b65780e123ba9b762276482bbfb52836e4d41fd9 (patch) | |
tree | 735ac2dde1838e6977f0ad2ed2c7e2c65f6271ed /kernel/unwind.c | |
parent | [PATCH] unwinder: fully support linker generated .eh_frame_hdr section (diff) | |
download | linux-b65780e123ba9b762276482bbfb52836e4d41fd9.tar.xz linux-b65780e123ba9b762276482bbfb52836e4d41fd9.zip |
[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 'kernel/unwind.c')
-rw-r--r-- | kernel/unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/unwind.c b/kernel/unwind.c index 08645aa7c2d6..09c261329249 100644 --- a/kernel/unwind.c +++ b/kernel/unwind.c @@ -19,7 +19,7 @@ #include <asm/uaccess.h> #include <asm/unaligned.h> -extern char __start_unwind[], __end_unwind[]; +extern const char __start_unwind[], __end_unwind[]; extern const u8 __start_unwind_hdr[], __end_unwind_hdr[]; #define MAX_STACK_DEPTH 8 |