Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 19:41:58 +0800
From:      prime <guomingyan@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: A question about /sys/kern/link_elf.c
Message-ID:  <1fa17f810505030441763d96c9@mail.gmail.com>
In-Reply-To: <20050502120044.9E08816A54D@hub.freebsd.org>
References:  <20050502120044.9E08816A54D@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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