From 440a2eccb082dc13400c09e22308a58fef85146c Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Mon, 22 Jan 2024 23:33:39 +0800 Subject: liblzma: Add RISC-V BCJ filter. The new Filter ID is 0x0B. Thanks to Chien Wong for the initial version of the Filter, the xz CLI updates, and the Autotools build system modifications. Thanks to Igor Pavlov for his many contributions to the design of the filter. --- src/liblzma/api/lzma/bcj.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/liblzma/api') diff --git a/src/liblzma/api/lzma/bcj.h b/src/liblzma/api/lzma/bcj.h index 0c84e0cf..6c700c75 100644 --- a/src/liblzma/api/lzma/bcj.h +++ b/src/liblzma/api/lzma/bcj.h @@ -53,6 +53,11 @@ */ #define LZMA_FILTER_ARM64 LZMA_VLI_C(0x0A) +/** + * \brief Filter for RISC-V binaries + */ +#define LZMA_FILTER_RISCV LZMA_VLI_C(0x0B) + /** * \brief Options for BCJ filters -- cgit v1.2.3