A question about /sys/kern/link_elf.c

Doug Rabson dfr at nlsystems.com
Tue May 3 02:18:18 PDT 2005


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 
linker would round up the size of the text segment to the next megabyte 
boundary.


More information about the freebsd-hackers mailing list