mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d93f7de8c5
commit
aad094701c
2 changed files with 9 additions and 9 deletions
|
|
@ -265,7 +265,7 @@ static void write_src(void)
|
|||
printf("#define ALGN .align 4\n");
|
||||
printf("#endif\n");
|
||||
|
||||
printf(".data\n");
|
||||
printf("\t.section .rodata, \"a\"\n");
|
||||
|
||||
/* Provide proper symbols relocatability by their '_text'
|
||||
* relativeness. The symbol names cannot be used to construct
|
||||
|
|
|
|||
Loading…
Reference in a new issue