NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/40311: No kernel symbols on tsarm

The following reply was made to PR port-evbarm/40311; it has been noted by 

From: Martin Husemann <>
Subject: Re: port-evbarm/40311: No kernel symbols on tsarm
Date: Fri, 2 Jan 2009 02:15:57 +0100

 On Thu, Jan 01, 2009 at 03:55:00AM +0000, wrote:
 > #if NKSYMS || defined(DDB) || defined(MODULAR)
 >         /* Firmware doesn't load symbols. */
 >         ksyms_addsyms_elf(0, NULL, NULL);
 > #endif
 I think it would be better to move the #ifdef SYMTAB_SPACE handling
 from ksyms_addsyms_elf() to ksyms_init(). Besides I do not understand how
 it even works with start == NULL.
 Calls that look like they add zero symbols from nowhere but instead perform
 deep magic are kinda evil.

Home | Main Index | Thread Index | Old Index