I've tested with an i386 kernel. I'd rather not make those changes
conditional so I'll see if I can work out why the Atari kernel would
have problems. If no CTF section is found then ksyms should behave
exactly as it did before the change, just with an empty CTF section.
On 14/03/2010, at 3:40 AM, Izumi Tsutsui wrote:
I've made it conditional on options KDTRACE_HOOKS, so it will only
build when DTrace support is enabled.
Did you test a kernel?
Atari kernel doesn't boot with kern_ksyms.c rev 1.56 but works with
1.55.
Don't you have to also fix kern_ksyms.c to have some conditionals as
well?
---
Izumi Tsutsui