Re: [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Howells <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux