diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-05-12 10:09:33 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-05-12 10:09:33 +0100 |
commit | 13c1abe10abd1c24307a6777b6cedfc5b46b088d (patch) | |
tree | f384419c11fe211239aa9ee1fb57abd5b3fddd28 | |
parent | 866fa1ce7639c93de8905cf16ab79b8086990728 (diff) | |
download | ipxe-13c1abe10abd1c24307a6777b6cedfc5b46b088d.tar.gz |
[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>
-rw-r--r-- | src/arch/x86/prefix/unlzma.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 |