lkml.org 
[lkml]   [2007]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] FRV: Fix the extern declaration of kallsyms_num_syms [try #2]
Date
Andrew Morton <akpm@linux-foundation.org> wrote:

> hm, OK, so it lines up with what scripts/kallsyms.c presently does.

I'm sure there's a way to pass the kallsyms_num_syms value directly by way of
the linker rather than consigning it to a bit of memory.

The immediately obvious way is to declare it to be at an address that it the
symbol count value, and then C can do "&kallsyms_num_syms" to get at it.
Horrible, I know, but I'm not sure it's worse than some of the other stuff we
do.

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/

\
 
 \ /
  Last update: 2007-11-15 23:59    [W:0.040 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site