diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-01-17 16:16:31 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-01-17 16:16:31 -0800 |
commit | 5361540973da90c1dbde3b4c6c0dab46f997491e (patch) | |
tree | 5f295c1d5e218718751846960c50140299be7f0f /core/init.inc | |
parent | fcb4cdf5a161495b04a4939297ddc6d8b05cfa20 (diff) | |
download | syslinux-5361540973da90c1dbde3b4c6c0dab46f997491e.tar.gz |
core: switch LZO decompressor to "fast safe" version
Switch LZO decompressor to the "fast safe" version (and bump LZO
source to version 2.06). This allows us to use that decompressor for
module compression later without carrying another decompressor.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/init.inc')
-rw-r--r-- | core/init.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/init.inc b/core/init.inc index 5cb8e49a..ae0e6312 100644 --- a/core/init.inc +++ b/core/init.inc @@ -45,17 +45,17 @@ common_init: ; ; The code to decompress the PM code and initialize other segments. ; - extern _lzo1x_decompress_asm_fast + extern _lzo1x_decompress_asm_fast_safe section .textnr bits 32 pm_decompress: - push 0 ; Space for decompressed size + push __pm_code_len + 16 ; Space for decompressed size push esp ; Pointer to previous word push __pm_code_start ; Target address push dword [lzo_data_size] ; Compressed size push dword __pm_code_lma - call _lzo1x_decompress_asm_fast + call _lzo1x_decompress_asm_fast_safe add esp,16 pop RM_EAX ; Decompressed size |