[prefix] Specify i486 architecture for LZMA decompressor

The decompressor uses the i486 "bswap" instruction, but does not
require any instructions that exist only on i586 or above.  Update the
".arch" directive to reflect the requirements of the code as
implemented.

Reported-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/373/head
Michael Brown 2021-05-12 10:09:33 +01:00
parent 866fa1ce76
commit 13c1abe10a
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
.text
.arch i586
.arch i486
.section ".prefix.lib", "ax", @progbits
#ifdef CODE16