Deleted Added
full compact
arm.c (213700) arm.c (223935)
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file arm.c
4/// \brief Filter for ARM binaries
5///
6// Authors: Igor Pavlov
7// Lasse Collin
8//
9// This file has been put into the public domain.
10// You can do whatever you want with this file.
11//
12///////////////////////////////////////////////////////////////////////////////
13
14#include "simple_private.h"
15
16
17static size_t
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file arm.c
4/// \brief Filter for ARM binaries
5///
6// Authors: Igor Pavlov
7// Lasse Collin
8//
9// This file has been put into the public domain.
10// You can do whatever you want with this file.
11//
12///////////////////////////////////////////////////////////////////////////////
13
14#include "simple_private.h"
15
16
17static size_t
18arm_code(lzma_simple *simple lzma_attribute((unused)),
18arm_code(lzma_simple *simple lzma_attribute((__unused__)),
19 uint32_t now_pos, bool is_encoder,
20 uint8_t *buffer, size_t size)
21{
22 size_t i;
23 for (i = 0; i + 4 <= size; i += 4) {
24 if (buffer[i + 3] == 0xEB) {
25 uint32_t src = (buffer[i + 2] << 16)
26 | (buffer[i + 1] << 8)

--- 43 unchanged lines hidden ---
19 uint32_t now_pos, bool is_encoder,
20 uint8_t *buffer, size_t size)
21{
22 size_t i;
23 for (i = 0; i + 4 <= size; i += 4) {
24 if (buffer[i + 3] == 0xEB) {
25 uint32_t src = (buffer[i + 2] << 16)
26 | (buffer[i + 1] << 8)

--- 43 unchanged lines hidden ---