aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-05-20 17:23:30 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-05-21 11:30:30 +0100
commit3d3f765a61f67acf86acee0fed0dc5fabfd8a6fd (patch)
tree0df479c39dedfb64b23f87c49491e6abd5a852b7 /com32/elflink/ldlinux
parentf7404e7c9d217903f5f040ca53e3fe7ffd0523be (diff)
downloadsyslinux-3d3f765a61f67acf86acee0fed0dc5fabfd8a6fd.tar.gz
syslinux-3d3f765a61f67acf86acee0fed0dc5fabfd8a6fd.tar.xz
syslinux-3d3f765a61f67acf86acee0fed0dc5fabfd8a6fd.zip
efi: shrink the size of syslinux.efi
syslinux.efi currently includes the .bss section of the ELF shared object, syslinux.so, as zero'd space in the file. This dramatically increases the size of syslinux.efi. Use the 'initialized_data_sz' field in the MSDOS/COFF header to differentiate the on-disk and in-memory file size, and to make the firmware loader zero the .bss for us. efi/wrapper now only copies upto the offset of the .bss section from syslinux.so when building syslinux.efi. With this change syslinux.efi shrinks from 2.4M to 168K. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux')
0 files changed, 0 insertions, 0 deletions