cvs commit: src/sys/conf kern.post.mk kmod.mk
jhb at freebsd.org
Fri Oct 28 08:46:02 PDT 2005
On Thursday 27 October 2005 04:29 pm, 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?)
amd64 uses link_elf_obj.c which loads raw .o files, not .so files.
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src