aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/bcj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/api/lzma/bcj.h')
-rw-r--r--src/liblzma/api/lzma/bcj.h41
1 files changed, 8 insertions, 33 deletions
diff --git a/src/liblzma/api/lzma/bcj.h b/src/liblzma/api/lzma/bcj.h
index 10719b88..b68b6bac 100644
--- a/src/liblzma/api/lzma/bcj.h
+++ b/src/liblzma/api/lzma/bcj.h
@@ -49,13 +49,14 @@
* Filter for SPARC binaries.
*/
-#define LZMA_FILTER_ARM64 LZMA_VLI_C(0x3FDB87B33B27000B)
- /**<
- * Filter for ARM64 binaries.
- *
- * \note In contrast to the other BCJ filters, this uses
- * its own options structure, lzma_options_arm64.
- */
+#define LZMA_FILTER_ARM64 LZMA_VLI_C(0x3FDB87B33B27010B)
+ /**<
+ * Filter for ARM64 binaries.
+ *
+ * \note THIS IS AN EXPERIMENTAL VERSION WHICH WILL
+ * STILL CHANGE! FILES CREATED WITH THIS
+ * WILL NOT BE SUPPORTED IN THE FUTURE!
+ */
/**
* \brief Options for BCJ filters (except ARM64)
@@ -95,29 +96,3 @@ typedef struct {
uint32_t start_offset;
} lzma_options_bcj;
-
-/**
- * \brief Options for the ARM64 filter
- *
- * This filter never changes the size of the data.
- * Specifying options is mandatory.
- */
-typedef struct {
- /**
- * \brief How wide range of relative addresses are converted
- *
- * The ARM64 BL instruction has 26-bit immediate field that encodes
- * a relative address as a multiple of four bytes, so the effective
- * range is 2^28 bytes (+/-128 MiB).
- *
- * If width is 28 bits (LZMA_ARM64_WIDTH_MAX), then all BL
- * instructions will be converted. This has a downside of some
- * false matches that make compression worse. The best value
- * depends on the input file and the differences can be significant;
- * with large executables the maximum value is sometimes the best.
- */
- uint32_t width;
-# define LZMA_ARM64_WIDTH_MIN 18
-# define LZMA_ARM64_WIDTH_MAX 28
-# define LZMA_ARM64_WIDTH_DEFAULT 26
-} lzma_options_arm64;