./scripts/kallsysm.c question

From: Robin Getz
Date: Tue May 22 2007 - 14:18:11 EST


Sam:

I was noticing some issues with /proc/kallsyms generation on our platform,
which I noticed after a toolchain update (which I fixed)

However, I had a question in looking at the logic - it looks like the out
function puts out all symbols - even if they are in the _init section. My
question was should it?

I can see some issues if someone built a module against a function that was
marked as init - when the module loaded - the init code is gone, but the
symbol is still in the kernel - isn't it? a module would jump to where the
code use to be - which might be something else at the time.

-Robin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/