From: Michael Brown Date: Wed, 12 May 2021 09:09:33 +0000 (+0100) Subject: [prefix] Specify i486 architecture for LZMA decompressor X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13c1abe10abd1c24307a6777b6cedfc5b46b088d;p=thirdparty%2Fipxe.git [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 Signed-off-by: Michael Brown --- diff --git a/src/arch/x86/prefix/unlzma.S b/src/arch/x86/prefix/unlzma.S index 956eeb24c..979f699ee 100644 --- a/src/arch/x86/prefix/unlzma.S +++ b/src/arch/x86/prefix/unlzma.S @@ -44,7 +44,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); */ .text - .arch i586 + .arch i486 .section ".prefix.lib", "ax", @progbits #ifdef CODE16