The reason is elf has no leading underscores, and a.out does...
I suppose we can say:
if any symbols in /proc/ksyms don't have leading underscores,
its elf
but we still can put symbols in there that are assembler...
The reason for this request is lsof tries to match the /zSystem.map
against /proc/ksyms and there is
namei and _namei...
marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001