1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Update stub/src for recent changes.

This commit is contained in:
Markus F.X.J. Oberhumer 2016-09-25 23:28:15 +02:00
parent 676f860d7d
commit 3f4419b177
3 changed files with 6 additions and 4 deletions

View File

@ -29,11 +29,11 @@ include $(top_srcdir)/src/stub/Makefile
# // method-lzma
# ************************************************************************/
lzma_d_c%.S : tc_list = method-lzma arm-linux.elf default
lzma_d_c%.S : tc_list = method-lzma arm.v4a-linux.elf default
lzma_d_c%.S : tc_bfdname = elf32-littlearm
c := tc.method-lzma.gcc
$c = $(tc.arm-linux.elf.gcc)
$c = $(tc.arm.v4a-linux.elf.gcc)
# -fPIC not needed: no globals, no string constants, no &func.
# Omitting -fPIC enables general use of r10.
$c += -march=armv4

View File

@ -29,11 +29,11 @@ include $(top_srcdir)/src/stub/Makefile
# // method-lzma
# ************************************************************************/
lzma_d_c%.S : tc_list = method-lzma arm-linux.elf default
lzma_d_c%.S : tc_list = method-lzma arm.v4a-linux.elf default
lzma_d_c%.S : tc_bfdname = elf32-littlearm
c := tc.method-lzma.gcc
$c = $(tc.arm-linux.elf.gcc)
$c = $(tc.arm.v4a-linux.elf.gcc)
$c += -march=armv4t -mthumb
$c += -Os -fomit-frame-pointer
$c += -fno-unit-at-a-time

View File

@ -33,6 +33,8 @@
/*#define ACC_OS_FREESTANDING 1*/
#include "miniacc.h"
#define UPX_LZMA_COMPAT 1
#if 0
#undef _LZMA_IN_CB
#undef _LZMA_OUT_READ