Re: kallsyms __print_symbol prints first weak symbol encountered

From: Rusty Russell
Date: Tue Oct 30 2007 - 19:38:00 EST


On Wednesday 31 October 2007 04:49:02 Mathieu Desnoyers wrote:
> kallsyms returns the first symbol encountered, even though it is weak,
> when it should in fact return sys_ni_syscall.

Yes, it's an arbitrary choice, but preferring non-weak symbols would
definitely be a win.

Thanks!
Rusty.
-
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/