summaryrefslogtreecommitdiff
path: root/core/ldlinux-c.c
Commit message (Collapse)AuthorAgeFilesLines
* derivative_info: be sure not to dereference pointerssyslinux-6.02-pre9Matt Fleming2013-07-221-6/+6
| | | | | | | | | | | All the BIOS get_derivative_info() implementations are incorrect. They all dereference pointers to various deriviative-specific data objects instead of using the address of the objects. This broke chain loading on SYSLINUX because the ->partoffset field contained the dereferenced value of 'Hidden' rather than the address. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* ldlinux: fix definition of 'Hidden'Matt Fleming2013-06-191-1/+1
| | | | | | | | | and fix this compiler warning, core/ldlinux-c.c: In function ‘get_derivative_info’: core/ldlinux-c.c:18:22: warning: assignment makes pointer from integer without a cast [enabled by default] Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* efi: Turn on symbol export whitelistMatt Fleming2013-06-191-1/+1
| | | | | | | Reduce the default visibility of objects in efi/ as was done for BIOS in commit e4b3ce2dd82c ("Symbol export whitelist"). Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* Create derivative-specific filesMatt Fleming2012-09-041-0/+19
Instead of having derivative-specific code within the assembly files and guarded by %if SYSLINUX, etc move all the code to C files so that the correct get_derivative_info() function can be wired up at runtime. Signed-off-by: Matt Fleming <matt.fleming@intel.com>