Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 20:40:11 +0400
From:      Alexey Neyman <alex.neyman@auriga.ru>
To:        "David O'Brien" <dev-null@NUXI.com>
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:  <200306022039.29859.alex.neyman@auriga.ru>
In-Reply-To: <20030602150236.GE87972@dragon.nuxi.com>
References:  <200306020643.h526hGg8017066@repoman.freebsd.org> <200306021221.47700.alex.neyman@auriga.ru> <20030602150236.GE87972@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Monday 02 June 2003 19:02, David O'Brien wrote:
DO>> BTW, I have a patch that strips the version information (more 
precisely,
DO>> .comment section, that contains $FreeBSD$ strings and a handful of
DO>> compiler versions "GCC: (GNU) 3.2.2 [FreeBSD] 20030205 (release)") 
into
DO>> a separate file and installs it under a separate name 
(${KMOD}.version
DO>> or kernel.version).
DO> 
DO> What's the problem with a large amount .comment section bits?  They
DO> should not be loaded into memory when an ELF file is loaded.  The 
only
DO> place it causes trouble is on the installation floppies when the 
size of
DO> the file on disk is an issue -- but we strip out the .comment 
section
DO> when building the floppy images.

Well, sorry for the noise. I just checked that 5.0-RELEASE floppies
contain the .comment section in the kernel. However, 5.1-BETA2 do not,
that is, such stripping was introduced somewhere in between... This,
of course, renders this patch useless.

Regards,
Alexey.

-- 
A quoi ca sert d'etre sur la terre
Si c'est pour faire nos vies a genoux?



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