mirror of https://github.com/ipxe/ipxe.git
Move .zinfo to libprefix.S; it doesn't belong with the decompression code.
parent
cb237819ca
commit
c94cdf2b7d
|
@ -87,7 +87,7 @@ install_block:
|
||||||
#if COMPRESS
|
#if COMPRESS
|
||||||
call decompress16
|
call decompress16
|
||||||
#else
|
#else
|
||||||
call nodecompress16
|
rep addr32 movsb
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Zero remaining space */
|
/* Zero remaining space */
|
||||||
|
@ -438,3 +438,31 @@ prot_call_vector:
|
||||||
.word 0
|
.word 0
|
||||||
.size prot_call_vector, . - prot_call_vector
|
.size prot_call_vector, . - prot_call_vector
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* File split information for the compressor */
|
||||||
|
#if COMPRESS
|
||||||
|
.section ".zinfo", "a"
|
||||||
|
.ascii "COPY"
|
||||||
|
.long _prefix_load_offset
|
||||||
|
.long _prefix_progbits_size
|
||||||
|
.long _max_align
|
||||||
|
.ascii "PACK"
|
||||||
|
.long _text16_load_offset
|
||||||
|
.long _text16_progbits_size
|
||||||
|
.long _max_align
|
||||||
|
.ascii "PACK"
|
||||||
|
.long _data16_load_offset
|
||||||
|
.long _data16_progbits_size
|
||||||
|
.long _max_align
|
||||||
|
.ascii "PACK"
|
||||||
|
.long _textdata_load_offset
|
||||||
|
.long _textdata_progbits_size
|
||||||
|
.long _max_align
|
||||||
|
#else /* COMPRESS */
|
||||||
|
.section ".zinfo", "a"
|
||||||
|
.ascii "COPY"
|
||||||
|
.long _prefix_load_offset
|
||||||
|
.long _load_size
|
||||||
|
.long _max_align
|
||||||
|
#endif /* COMPRESS */
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
/* Placeholder for decompress16 in non-compressed images */
|
|
||||||
|
|
||||||
.text
|
|
||||||
.arch i386
|
|
||||||
.section ".prefix.lib", "ax", @progbits
|
|
||||||
|
|
||||||
.code16
|
|
||||||
.globl nodecompress16
|
|
||||||
nodecompress16:
|
|
||||||
rep addr32 movsb
|
|
||||||
ret
|
|
||||||
|
|
||||||
/* File split information for the compressor */
|
|
||||||
.section ".zinfo", "a"
|
|
||||||
.ascii "COPY"
|
|
||||||
.long _prefix_load_offset
|
|
||||||
.long _load_size
|
|
||||||
.long _max_align
|
|
|
@ -180,23 +180,3 @@ decompr_end_n2b:
|
||||||
popl %ebx
|
popl %ebx
|
||||||
pop %xAX
|
pop %xAX
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
/* File split information for the compressor */
|
|
||||||
.section ".zinfo", "a"
|
|
||||||
.ascii "COPY"
|
|
||||||
.long _prefix_load_offset
|
|
||||||
.long _prefix_progbits_size
|
|
||||||
.long _max_align
|
|
||||||
.ascii "PACK"
|
|
||||||
.long _text16_load_offset
|
|
||||||
.long _text16_progbits_size
|
|
||||||
.long _max_align
|
|
||||||
.ascii "PACK"
|
|
||||||
.long _data16_load_offset
|
|
||||||
.long _data16_progbits_size
|
|
||||||
.long _max_align
|
|
||||||
.ascii "PACK"
|
|
||||||
.long _textdata_load_offset
|
|
||||||
.long _textdata_progbits_size
|
|
||||||
.long _max_align
|
|
||||||
|
|
Loading…
Reference in New Issue