cvs commit: src/sys/conf kern.post.mk kmod.mk

Ruslan Ermilov ru at FreeBSD.org
Thu Oct 27 13:49:02 PDT 2005


On Thu, Oct 27, 2005 at 10:29:30PM +0200, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> > On Thu, Oct 27, 2005 at 05:15:28PM +0000, Bjoern A. Zeeb wrote:
> > > On Thu, 27 Oct 2005, Ruslan Ermilov wrote:
> > > >   Log:
> > > >   Installing debug modules was a bad idea -- I bogusly assumed that
> > > >   our kernel linker will only load PT_LOAD segments, apparently not.
> > > >   Instead, produce .dbg objects from .debug objects, and install
> > > >   them together with non-debug objects, as described in objcopy(1).
> > > is that because of this change?
> > Yes.  I sent a patch for kldxref(8) that fixes this for review to
> > amd64 at .  These messages are harmless otherwise.
> 
> Wouldn't it be cleaner (and potentially simpler) to fix this by making
> the kernel linker skip non-PT_LOAD sections?
> 
> (I just peeked at sys/kern/link_elf.c and it looks to me like it
> *already* DTRT, so what exactly is the problem?)
> 
sys/kern/link_elf_obj.c is what's used with current format module
objects on amd64.  Can you see a problem there?


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20051027/71e0c95c/attachment.bin


More information about the cvs-src mailing list