aboutsummaryrefslogtreecommitdiffstats
path: root/core/bios.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-06-19 13:44:25 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-06-19 14:26:19 +0100
commit9b8f1d3f3bfa72e8375c16137cc15eac579ed256 (patch)
tree5521ddefa88877ce3f5c4dc704edae2f4cdbce56 /core/bios.c
parentdb25b06af0a4be7231a120d53b24cc01e17ed315 (diff)
downloadsyslinux-9b8f1d3f3bfa72e8375c16137cc15eac579ed256.tar.gz
syslinux-9b8f1d3f3bfa72e8375c16137cc15eac579ed256.tar.xz
syslinux-9b8f1d3f3bfa72e8375c16137cc15eac579ed256.zip
efi: Mark global BIOS-only symbols as __weak
Unfortunately, there are still some references in generic code to symbols that only make sense under BIOS. Use the __weak tag to allow building for EFI without having to declare these symbols. Accessing these __weak symbols under EFI will generate an error at runtime, indicating to the user that they're executing a BIOS code path. The long-term solution is to move these BIOS-specific symbols into core/bios.c or somewhere equally BIOS-centric so that these symbols are no longer global. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'core/bios.c')
0 files changed, 0 insertions, 0 deletions