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 ...

Alexey Neyman alex.neyman at auriga.ru
Mon Jun 2 09:40:20 PDT 2003


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?



More information about the freebsd-arch mailing list