From owner-freebsd-hackers@FreeBSD.ORG Tue May 3 11:41:59 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 974F416A4D0 for ; Tue, 3 May 2005 11:41:59 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1827E43D7D for ; Tue, 3 May 2005 11:41:59 +0000 (GMT) (envelope-from guomingyan@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1723320wri for ; Tue, 03 May 2005 04:41:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fSollhBTZVj9q5p6pzfHswTOEruQXffhDgjgjn/tTkUOLd9Xo6R+Iu9djRLqKzbUd1+X7uZUy0B2DK+WMwaneJfCAnY8fXoeqF42i1tIovmwp6EZmZ3BjW1Yevuk0QaoX13O0C+q6gd9d8y89xA1JLu4gf7ZhHFyXMeRTMFWu3Y= Received: by 10.54.3.48 with SMTP id 48mr1014691wrc; Tue, 03 May 2005 04:41:58 -0700 (PDT) Received: by 10.54.34.46 with HTTP; Tue, 3 May 2005 04:41:58 -0700 (PDT) Message-ID: <1fa17f810505030441763d96c9@mail.gmail.com> Date: Tue, 3 May 2005 19:41:58 +0800 From: prime To: freebsd-hackers@freebsd.org In-Reply-To: <20050502120044.9E08816A54D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050502120044.9E08816A54D@hub.freebsd.org> Subject: Re: A question about /sys/kern/link_elf.c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: prime 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 11:41:59 -0000 thanks for all your responses.I know that it is just conditional compiling construct,but I just can't understand the nested *test* of SPARSE_MAPPING( the 2nd "#ifdef ..." is nested in the 1st one). Thanks .I think I get it now. On Monday 02 May 2005 13:35, gerarra at 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=20 >linker would round up the size of the text segment to the next megabyte=20 >boundary.