Re: [PATCH] Module loader against 2.5.46: 9/9

Rusty Russell (rusty@rustcorp.com.au)
Sat, 09 Nov 2002 14:01:22 +1100


In message <20021108093516.A15440@flint.arm.linux.org.uk> you write:
> On Thu, Nov 07, 2002 at 10:08:24PM +1100, Rusty Russell wrote:
> > That explains it: I didn't think you were insane 8). Thanks, I'll
> > move it to some other name which just does the "add symbols to oops"
> > minimum.
>
> I doubt that we need all of the kallsyms data in the kernel as well (unless
> you're using kdb.)

Yes. From my IDE oops dumper experience, you can get the required
kernel symbols down to 70k w/o kdb (it's about 380k as stands). I
haven't made this optimization yet though.

> One of the things on my todo list is to look into a kallsyms replacement
> that allows cross-compilation (and actually allows kallsyms to work at
> all on ARM.)
>
> ARM requires the ELF architecture private flags to be set correctly to link
> two objects together. So there's two problems with the current setup:

Hmm, depends on state of module loader code. If it goes in, you'll
be getting a new one anyway which doesn't have this problem (I use $CC
to create kallsyms.o which gets linked in). Otherwise, yes.

Cheers,
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/