From owner-freebsd-arch@FreeBSD.ORG Mon Jun 2 08:02:48 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2803437B401 for ; Mon, 2 Jun 2003 08:02:48 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B83E43F3F for ; Mon, 2 Jun 2003 08:02:47 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.9/8.12.9) with ESMTP id h52F2dVm088187; Mon, 2 Jun 2003 08:02:39 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.9/8.12.9/Submit) id h52F2aQN088186; Mon, 2 Jun 2003 08:02:36 -0700 (PDT) Date: Mon, 2 Jun 2003 08:02:36 -0700 From: "David O'Brien" To: Alexey Neyman Message-ID: <20030602150236.GE87972@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Alexey Neyman , arch@freebsd.org References: <200306020643.h526hGg8017066@repoman.freebsd.org> <200306021221.47700.alex.neyman@auriga.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306021221.47700.alex.neyman@auriga.ru> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.1-BETA Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 ... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: arch@freebsd.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:02:48 -0000 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.