Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 08:02:36 -0700
From:      "David O'Brien" <dev-null@NUXI.com>
To:        Alexey Neyman <alex.neyman@auriga.ru>
Cc:        arch@freebsd.org
Subject:   Re: cvs commit: src/sys/i386/i386 atomic.c autoconf.c bios.c busdma_machdep.c critical.c db_disasm.c db_interface.c db_trace.c dump_machdep.c elan-mmcr.c elf_machdep.c genassym.c i386-gdbstub.c i686_mem.c identcpu.c in_cksum.c initcpu.c k6_mem.c legacy.c ...
Message-ID:  <20030602150236.GE87972@dragon.nuxi.com>
In-Reply-To: <200306021221.47700.alex.neyman@auriga.ru>
References:  <200306020643.h526hGg8017066@repoman.freebsd.org> <200306021221.47700.alex.neyman@auriga.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 02, 2003 at 12:21:47PM +0400, Alexey Neyman wrote:
> Hi, there!
> 
> On Monday 02 June 2003 10:43, David E. O'Brien wrote:
> DE>   Modified files:
> DE>     sys/i386/i386        atomic.c autoconf.c bios.c 
> DE>                          busdma_machdep.c critical.c db_disasm.c 
> DE>                          db_interface.c db_trace.c dump_machdep.c 
> DE>                          elan-mmcr.c elf_machdep.c genassym.c 
> DE>                          i386-gdbstub.c i686_mem.c identcpu.c 
> DE>                          in_cksum.c initcpu.c k6_mem.c legacy.c 
> DE>                          machdep.c math_emulate.c mem.c mp_clock.c 
> DE>                          mp_machdep.c mpapic.c nexus.c perfmon.c 
> DE>                          pmap.c sys_machdep.c trap.c tsc.c vm86.c 
> DE>                          vm_machdep.c 
> DE>   Log:
> DE>   Use __FBSDID().
> 
> BTW, I have a patch that strips the version information (more precisely,
> .comment section, that contains $FreeBSD$ strings and a handful of
> compiler versions "GCC: (GNU) 3.2.2 [FreeBSD] 20030205 (release)") into
> a separate file and installs it under a separate name (${KMOD}.version
> or kernel.version).

What's the problem with a large amount .comment section bits?  They
should not be loaded into memory when an ELF file is loaded.  The only
place it causes trouble is on the installation floppies when the size of
the file on disk is an issue -- but we strip out the .comment section
when building the floppy images.



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