Subject: Re: CFLAGS
To: Alan Barrett <apb@cequrux.com>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 11/12/2007 11:18:56
--VdOwlNaOFKGAtAAV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 11, 2007 at 11:39:14AM +0200, Alan Barrett wrote:
> On Sat, 10 Nov 2007, Martin Husemann wrote:
> > On Sat, Nov 10, 2007 at 11:03:31AM -0500, der Mouse wrote:
> > > [..] and, unless and until the bootloader is improved to drop the
> > > debugging symbols, it's tens of megabytes of wired kernel memory.
> > According to objdump none of the .debug* sections are marked as LOAD.
>=20
> Does "none of the .debug* sections are marked as LOAD" imply "the
> bootloader already drops the debugging symbols, so it does not use
> tens of megabytes of wired kernel memory"?

That's the idea. The loading code still has to slog through the whole=20
file, but we shouldn't need kernel memory for the debug stuff.

Take care,

Bill

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFHOKcgWz+3JHUci9cRAvIkAJ47ASxn9GzJEyD0Zx0wkE5xWMPvJwCgiMGv
Vde4nEBCGoTeMQe97tO5Qk4=
=GajY
-----END PGP SIGNATURE-----

--VdOwlNaOFKGAtAAV--