Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 23:48:16 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        cvs-src@FreeBSD.org, "Bjoern A. Zeeb" <bz@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf kern.post.mk kmod.mk
Message-ID:  <20051027204816.GX68470@ip.net.ua>
In-Reply-To: <864q723dqt.fsf@xps.des.no>
References:  <200510271424.j9REOkr8091913@repoman.freebsd.org> <Pine.BSF.4.53.0510271714530.91525@e0-0.zab2.int.zabbadoz.net> <20051027174042.GK68470@ip.net.ua> <864q723dqt.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--JjNtGRvLZqzR8wa5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 27, 2005 at 10:29:30PM +0200, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru@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@.  These messages are harmless otherwise.
>=20
> Wouldn't it be cleaner (and potentially simpler) to fix this by making
> the kernel linker skip non-PT_LOAD sections?
>=20
> (I just peeked at sys/kern/link_elf.c and it looks to me like it
> *already* DTRT, so what exactly is the problem?)
>=20
sys/kern/link_elf_obj.c is what's used with current format module
objects on amd64.  Can you see a problem there?


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--JjNtGRvLZqzR8wa5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDYT0QqRfpzJluFF4RAp8AAKCJw+W1nlh3KVnnJI6riN6KGH4nNQCeM+E3
pKYI6fNEUti/EcbxxDTGTSc=
=FuJE
-----END PGP SIGNATURE-----

--JjNtGRvLZqzR8wa5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027204816.GX68470>