X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fkallsyms.c;h=8b809b264d18356ead4dc3012a2a091e3f423cb5;hb=8140a90ec180192b202af086e7a582e5937c5580;hp=f359b730c2c57572b46f47f7c344137c7b5f9c55;hpb=4522d58275f124105819723e24e912c8e5bf3cdd;p=linux-2.6 diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index f359b730c2..8b809b264d 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -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