From owner-freebsd-hackers@FreeBSD.ORG Tue May 3 09:18:18 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24A7516A4CE for ; Tue, 3 May 2005 09:18:18 +0000 (GMT) Received: from itchy.rabson.org (mailgate.nlsystems.com [80.177.232.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6FCE43D6A for ; Tue, 3 May 2005 09:18:14 +0000 (GMT) (envelope-from dfr@nlsystems.com) Received: from herring.rabson.org (herring [10.0.0.2]) by itchy.rabson.org (8.13.3/8.12.11) with ESMTP id j439I6k7028836; Tue, 3 May 2005 10:18:09 +0100 (BST) (envelope-from dfr@nlsystems.com) From: Doug Rabson To: freebsd-hackers@freebsd.org Date: Tue, 3 May 2005 10:18:05 +0100 User-Agent: KMail/1.8 References: <427195400000512D@ims3a.cp.tin.it> In-Reply-To: <427195400000512D@ims3a.cp.tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505031018.06023.dfr@nlsystems.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on itchy.rabson.org X-Virus-Scanned: ClamAV 0.83/865/Tue May 3 00:16:49 2005 on itchy.rabson.org X-Virus-Status: Clean cc: gerarra@tin.it Subject: Re: A question about /sys/kern/link_elf.c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 09:18:18 -0000 On Monday 02 May 2005 13:35, gerarra@tin.it wrote: > >There is a "#ifdef SPARSE_MAPPING" at line 701,and again a "#ifdef > >SPARSE_MAPPING" at line 713.I just can't understand the second > >one.Does it have any special mean ? > > > >thanks . > > It's just conditional compiling construct...however as you can see in > the tag "For whatever reason, SPARSE_MAPPING is not even a config > option, so this is dead code." It dates back to a tools problem that I had on the alpha where the linker would round up the size of the text segment to the next megabyte boundary.