cvs commit: src/sys/conf kern.post.mk kmod.mk
Dag-Erling Smørgrav
des at des.no
Thu Oct 27 13:29:36 PDT 2005
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?)
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list