[syslinux] mysteries of memdisk code
H. Peter Anvin
hpa at zytor.com
Wed Jun 18 08:53:24 PDT 2008
Loginov Alexander wrote:
>
> 1) _binary_memdisk_bin_start[], _binary_memdisk_bin_end[] and
> _binary_memdisk_bin_size[]; These variables are declared (as extern
> const chat in 'setup.c') but never defined in the code. Yet, it seems
> that somehow they are initialized with the size and start address of
> memdisk. How can it be?
>
GNU ld can convert a binary file to an object file (.o), and then it
automatically create those symbols assuming that the original file was
named memdisk.bin.
-hpa
More information about the Syslinux
mailing list