mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
stub: arm renaming.
This commit is contained in:
parent
10a0469221
commit
4aedb00e43
|
@ -76,8 +76,8 @@ STUBS += armeb-linux.kernel.vmlinux.h
|
||||||
STUBS += armel-eabi-linux.elf-entry.h
|
STUBS += armel-eabi-linux.elf-entry.h
|
||||||
STUBS += armel-eabi-linux.elf-fold.h
|
STUBS += armel-eabi-linux.elf-fold.h
|
||||||
STUBS += armel-eabi-linux.shlib-init.h
|
STUBS += armel-eabi-linux.shlib-init.h
|
||||||
STUBS += armel-linux.kernel.vmlinuz-head.h
|
STUBS += arm.v5a-linux.kernel.vmlinuz-head.h
|
||||||
STUBS += armel-linux.kernel.vmlinuz.h
|
STUBS += arm.v5a-linux.kernel.vmlinuz.h
|
||||||
STUBS += i086-dos16.com.h
|
STUBS += i086-dos16.com.h
|
||||||
STUBS += i086-dos16.exe.h
|
STUBS += i086-dos16.exe.h
|
||||||
STUBS += i086-dos16.sys.h
|
STUBS += i086-dos16.sys.h
|
||||||
|
@ -662,23 +662,23 @@ armel-eabi-linux.shlib%.h : $(srcdir)/src/$$T.S
|
||||||
|
|
||||||
|
|
||||||
# /***********************************************************************
|
# /***********************************************************************
|
||||||
# // armel-linux.kernel.vmlinuz (arm.v5a)
|
# // arm.v5a-linux.kernel.vmlinuz (arm.v5a)
|
||||||
# // armel-linux.kernel.vmlinuz-head (arm.v5a)
|
# // arm.v5a-linux.kernel.vmlinuz-head (arm.v5a)
|
||||||
# ************************************************************************/
|
# ************************************************************************/
|
||||||
#
|
#
|
||||||
armel-linux.kernel.vmlinu%.h : tc_list = armel-linux.kernel default
|
arm.v5a-linux.kernel.vmlinu%.h : tc_list = arm.v5a-linux.kernel default
|
||||||
armel-linux.kernel.vmlinu%.h : tc_bfdname = elf32-littlearm
|
arm.v5a-linux.kernel.vmlinu%.h : tc_bfdname = elf32-littlearm
|
||||||
|
|
||||||
tc.armel-linux.kernel.gcc = arm-linux-gcc-4.1.0 -march=armv5 -nostdinc -MMD -MT $@
|
tc.arm.v5a-linux.kernel.gcc = arm-linux-gcc-4.1.0 -march=armv5 -nostdinc -MMD -MT $@
|
||||||
tc.armel-linux.kernel.gcc += -fno-exceptions -fno-asynchronous-unwind-tables
|
tc.arm.v5a-linux.kernel.gcc += -fno-exceptions -fno-asynchronous-unwind-tables
|
||||||
tc.armel-linux.kernel.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
|
tc.arm.v5a-linux.kernel.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
|
||||||
|
|
||||||
armel-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
|
arm.v5a-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
|
||||||
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.bin
|
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.bin
|
||||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||||
$(call tc,bin2h-c) tmp/$T.bin $@
|
$(call tc,bin2h-c) tmp/$T.bin $@
|
||||||
|
|
||||||
armel-linux.kernel.vmlinuz-head.h : $(srcdir)/src/$$T.S
|
arm.v5a-linux.kernel.vmlinuz-head.h : $(srcdir)/src/$$T.S
|
||||||
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.o
|
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.o
|
||||||
$(call tc,objcopy) --output-target binary --only-section .text tmp/$T.o tmp/$T.bin
|
$(call tc,objcopy) --output-target binary --only-section .text tmp/$T.o tmp/$T.bin
|
||||||
$(call tc,bin2h) tmp/$T.bin $@
|
$(call tc,bin2h) tmp/$T.bin $@
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* armel-linux.kernel.vmlinuz-head.h
|
/* arm.v5a-linux.kernel.vmlinuz-head.h
|
||||||
created from armel-linux.kernel.vmlinuz-head.bin, 8 (0x8) bytes
|
created from arm.v5a-linux.kernel.vmlinuz-head.bin, 8 (0x8) bytes
|
||||||
|
|
||||||
This file is part of the UPX executable compressor.
|
This file is part of the UPX executable compressor.
|
||||||
|
|
||||||
|
@ -31,10 +31,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define STUB_ARMEL_LINUX_KERNEL_VMLINUZ_HEAD_SIZE 8
|
#define STUB_ARM_V5A_LINUX_KERNEL_VMLINUZ_HEAD_SIZE 8
|
||||||
#define STUB_ARMEL_LINUX_KERNEL_VMLINUZ_HEAD_ADLER32 0x17bb0637
|
#define STUB_ARM_V5A_LINUX_KERNEL_VMLINUZ_HEAD_ADLER32 0x17bb0637
|
||||||
#define STUB_ARMEL_LINUX_KERNEL_VMLINUZ_HEAD_CRC32 0xccc03eaa
|
#define STUB_ARM_V5A_LINUX_KERNEL_VMLINUZ_HEAD_CRC32 0xccc03eaa
|
||||||
|
|
||||||
unsigned char stub_armel_linux_kernel_vmlinuz_head[8] = {
|
unsigned char stub_arm_v5a_linux_kernel_vmlinuz_head[8] = {
|
||||||
/* 0x0000 */ 14,192,160,225,254,255,255,235
|
/* 0x0000 */ 14,192,160,225,254,255,255,235
|
||||||
};
|
};
|
|
@ -1,5 +1,5 @@
|
||||||
/* armel-linux.kernel.vmlinuz.h
|
/* arm.v5a-linux.kernel.vmlinuz.h
|
||||||
created from armel-linux.kernel.vmlinuz.bin, 15163 (0x3b3b) bytes
|
created from arm.v5a-linux.kernel.vmlinuz.bin, 15163 (0x3b3b) bytes
|
||||||
|
|
||||||
This file is part of the UPX executable compressor.
|
This file is part of the UPX executable compressor.
|
||||||
|
|
||||||
|
@ -31,11 +31,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define STUB_ARMEL_LINUX_KERNEL_VMLINUZ_SIZE 15163
|
#define STUB_ARM_V5A_LINUX_KERNEL_VMLINUZ_SIZE 15163
|
||||||
#define STUB_ARMEL_LINUX_KERNEL_VMLINUZ_ADLER32 0x690d3249
|
#define STUB_ARM_V5A_LINUX_KERNEL_VMLINUZ_ADLER32 0x690d3249
|
||||||
#define STUB_ARMEL_LINUX_KERNEL_VMLINUZ_CRC32 0x579d826c
|
#define STUB_ARM_V5A_LINUX_KERNEL_VMLINUZ_CRC32 0x579d826c
|
||||||
|
|
||||||
unsigned char stub_armel_linux_kernel_vmlinuz[15163] = {
|
unsigned char stub_arm_v5a_linux_kernel_vmlinuz[15163] = {
|
||||||
/* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 97, 0, 0, 0, 0, 0, 0, 0, 0,
|
/* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 97, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
/* 0x0010 */ 1, 0, 40, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
/* 0x0010 */ 1, 0, 40, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
/* 0x0020 */ 244, 18, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 40, 0,
|
/* 0x0020 */ 244, 18, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 40, 0,
|
Loading…
Reference in New Issue
Block a user