Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms | Date | Tue, 13 Nov 2007 17:01:48 +0000 |
| |
David Howells <dhowells@redhat.com> wrote:
> > > +extern const unsigned long kallsyms_num_syms > > > +__nongpreldata __attribute__((weak));
Rather than using __nongpreldata, I should be able to say that it's in .rodata - which seems to be more correct anyway - and throw into a comment to say why.
I can't quite work out, though, how the kernel build stuff gets the datum into the kernel build. I can see there's a script, but I never see the output of the script crop up anywhere in the build tree:-/ GDB reports, though, that kallsyms_num_syms gets the right value.
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |