Commit ef85fdba authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Fix the new kallsyms generation

Argh, missed one line in the generated assembly, which is kinda important.
parent 260b4179
...@@ -114,11 +114,11 @@ write_src(void) ...@@ -114,11 +114,11 @@ write_src(void)
printf(".globl kallsyms_num_syms\n"); printf(".globl kallsyms_num_syms\n");
printf("\t.align 8\n"); printf("\t.align 8\n");
printf("kallsyms_num_syms:\n");
printf("\t.long\t%d\n", valid); printf("\t.long\t%d\n", valid);
printf("\n"); printf("\n");
printf(".globl kallsyms_names\n"); printf(".globl kallsyms_names\n");
printf(".data\n");
printf("\t.align 8\n"); printf("\t.align 8\n");
printf("kallsyms_names:\n"); printf("kallsyms_names:\n");
for (i = 0, last_addr = 0; i < cnt; i++) { for (i = 0, last_addr = 0; i < cnt; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment