diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-12-08 05:35:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:37 -0500 |
commit | aad094701c6355cb2b3d74a07ec0496f4a48c787 (patch) | |
tree | 00d5635dbd8ea74947f58528d71cb41f8ee0d3dc /scripts/kallsyms.c | |
parent | d93f7de8c5dfefb030a5e65d0857176879bf78e9 (diff) |
[PATCH] move kallsyms data to .rodata
Kallsyms data is never written to, so it can as well benefit from
CONFIG_DEBUG_RODATA.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/kallsyms.c')
-rw-r--r-- | scripts/kallsyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index f359b730c2c5..8b809b264d18 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c | |||
@@ -265,7 +265,7 @@ static void write_src(void) | |||
265 | printf("#define ALGN .align 4\n"); | 265 | printf("#define ALGN .align 4\n"); |
266 | printf("#endif\n"); | 266 | printf("#endif\n"); |
267 | 267 | ||
268 | printf(".data\n"); | 268 | printf("\t.section .rodata, \"a\"\n"); |
269 | 269 | ||
270 | /* Provide proper symbols relocatability by their '_text' | 270 | /* Provide proper symbols relocatability by their '_text' |
271 | * relativeness. The symbol names cannot be used to construct | 271 | * relativeness. The symbol names cannot be used to construct |