mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
stub: rename ppc64le to powerpc64le.
This commit is contained in:
parent
a89f4bd4b8
commit
188f67cfca
|
@ -122,13 +122,13 @@ STUBS += powerpc-linux.elf-entry.h
|
|||
STUBS += powerpc-linux.elf-fold.h
|
||||
STUBS += powerpc-linux.kernel.vmlinux-head.h
|
||||
STUBS += powerpc-linux.kernel.vmlinux.h
|
||||
STUBS += ppc64le-darwin.dylib-entry.h
|
||||
STUBS += ppc64le-darwin.macho-entry.h
|
||||
STUBS += ppc64le-darwin.macho-fold.h
|
||||
STUBS += ppc64le-linux.elf-entry.h
|
||||
STUBS += ppc64le-linux.elf-fold.h
|
||||
STUBS += ppc64le-linux.kernel.vmlinux-head.h
|
||||
STUBS += ppc64le-linux.kernel.vmlinux.h
|
||||
STUBS += powerpc64le-darwin.dylib-entry.h
|
||||
STUBS += powerpc64le-darwin.macho-entry.h
|
||||
STUBS += powerpc64le-darwin.macho-fold.h
|
||||
STUBS += powerpc64le-linux.elf-entry.h
|
||||
STUBS += powerpc64le-linux.elf-fold.h
|
||||
STUBS += powerpc64le-linux.kernel.vmlinux-head.h
|
||||
STUBS += powerpc64le-linux.kernel.vmlinux.h
|
||||
STUBS += thumb-eabi-linux.shlib-init.h
|
||||
endif
|
||||
|
||||
|
@ -1308,28 +1308,28 @@ powerpc-linux.kernel.vmlinux-head.h : $(srcdir)/src/$$T.S
|
|||
|
||||
|
||||
# /***********************************************************************
|
||||
# // ppc64le-darwin.macho
|
||||
# // powerpc64le-darwin.macho
|
||||
# ************************************************************************/
|
||||
|
||||
# info: we use the tc settings from ppc64le-linux.elf
|
||||
ppc64le-darwin.macho%.h : tc_list = ppc64le-darwin.macho ppc64le-linux.elf default
|
||||
ppc64le-darwin.macho%.h : tc_bfdname = elf64-powerpcle
|
||||
# info: we use the tc settings from powerpc64le-linux.elf
|
||||
powerpc64le-darwin.macho%.h : tc_list = powerpc64le-darwin.macho powerpc64le-linux.elf default
|
||||
powerpc64le-darwin.macho%.h : tc_bfdname = elf64-powerpcle
|
||||
|
||||
tc.ppc64le-darwin.macho.ld = multiarch-ld-2.27 -b $(tc_bfdname)
|
||||
tc.powerpc64le-darwin.macho.ld = multiarch-ld-2.27 -b $(tc_bfdname)
|
||||
|
||||
ppc64le-darwin.macho-entry.h : $(srcdir)/src/$$T.S
|
||||
powerpc64le-darwin.macho-entry.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o tmp/$T.bin
|
||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
ppc64le-darwin.macho-fold.h : tmp/$$T.o tmp/ppc64le-darwin.macho-main.o
|
||||
powerpc64le-darwin.macho-fold.h : tmp/$$T.o tmp/powerpc64le-darwin.macho-main.o
|
||||
# FIXME: undefined reference to `_savegpr0_28' etc.
|
||||
$(call tc,ld) --no-warn-mismatch --strip-all --oformat binary -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin
|
||||
# echo "FIXME" > tmp/$T.bin
|
||||
chmod a-x tmp/$T.bin
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
tmp/ppc64le-darwin.macho-fold.o : $(srcdir)/src/$$T.S
|
||||
tmp/powerpc64le-darwin.macho-fold.o : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o $@
|
||||
$(call tc,f-objstrip,$@)
|
||||
|
||||
|
@ -1337,76 +1337,76 @@ tmp/ppc64le-darwin.macho-fold.o : $(srcdir)/src/$$T.S
|
|||
# only 3 times, so sharing the code of those routines saves almost nothing
|
||||
# (and we would have to write them ourselves.)
|
||||
# Besides, PowerPC has 31.5 registers (r0 cannot index), which is plenty.
|
||||
tmp/ppc64le-darwin.macho-main.o : $(srcdir)/src/$$T.c
|
||||
tmp/powerpc64le-darwin.macho-main.o : $(srcdir)/src/$$T.c
|
||||
$(call tc,gcc) -c -O $< -o $@
|
||||
$(call tc,f-objstrip,$@)
|
||||
|
||||
|
||||
# /***********************************************************************
|
||||
# // ppc64le-darwin.dylib
|
||||
# // powerpc64le-darwin.dylib
|
||||
# ************************************************************************/
|
||||
|
||||
# info: we use the tc settings from ppc64le-linux.elf
|
||||
ppc64le-darwin.dylib%.h : tc_list = ppc64le-linux.elf default
|
||||
ppc64le-darwin.dylib%.h : tc_bfdname = elf64-powerpcle
|
||||
# info: we use the tc settings from powerpc64le-linux.elf
|
||||
powerpc64le-darwin.dylib%.h : tc_list = powerpc64le-linux.elf default
|
||||
powerpc64le-darwin.dylib%.h : tc_bfdname = elf64-powerpcle
|
||||
|
||||
ppc64le-darwin.dylib-entry.h : $(srcdir)/src/$$T.S
|
||||
powerpc64le-darwin.dylib-entry.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o tmp/$T.bin
|
||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
|
||||
# /***********************************************************************
|
||||
# // ppc64le-linux.elf
|
||||
# // powerpc64le-linux.elf
|
||||
# ************************************************************************/
|
||||
|
||||
ppc64le-linux.elf%.h : tc_list = ppc64le-linux.elf default
|
||||
ppc64le-linux.elf%.h : tc_bfdname = elf64-powerpcle
|
||||
powerpc64le-linux.elf%.h : tc_list = powerpc64le-linux.elf default
|
||||
powerpc64le-linux.elf%.h : tc_bfdname = elf64-powerpcle
|
||||
|
||||
tc.ppc64le-linux.elf.gcc = powerpc64-linux-gcc-4.9.2 -m64 -mlittle-endian -nostdinc -MMD -MT $@
|
||||
tc.ppc64le-linux.elf.gcc += -fno-exceptions -fno-asynchronous-unwind-tables -fno-stack-protector
|
||||
tc.ppc64le-linux.elf.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
|
||||
tc.powerpc64le-linux.elf.gcc = powerpc64-linux-gcc-4.9.2 -m64 -mlittle-endian -nostdinc -MMD -MT $@
|
||||
tc.powerpc64le-linux.elf.gcc += -fno-exceptions -fno-asynchronous-unwind-tables -fno-stack-protector
|
||||
tc.powerpc64le-linux.elf.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
|
||||
|
||||
tc.ppc64le-linux.elf.ld = powerpc64-linux-ld-2.25 -b $(tc_bfdname)
|
||||
tc.ppc64le-linux.elf.objcopy = multiarch-objcopy-2.27 -F $(tc_bfdname)
|
||||
tc.ppc64le-linux.elf.objdump = multiarch-objdump-2.27 -b $(tc_bfdname)
|
||||
tc.powerpc64le-linux.elf.ld = powerpc64-linux-ld-2.25 -b $(tc_bfdname)
|
||||
tc.powerpc64le-linux.elf.objcopy = multiarch-objcopy-2.27 -F $(tc_bfdname)
|
||||
tc.powerpc64le-linux.elf.objdump = multiarch-objdump-2.27 -b $(tc_bfdname)
|
||||
|
||||
ppc64le-linux.elf-entry.h : $(srcdir)/src/$$T.S
|
||||
powerpc64le-linux.elf-entry.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o tmp/$T.bin
|
||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
ppc64le-linux.elf-fold.h : tmp/$$T.o tmp/ppc64le-linux.elf-main.o $(srcdir)/src/$$T.lds
|
||||
powerpc64le-linux.elf-fold.h : tmp/$$T.o tmp/powerpc64le-linux.elf-main.o $(srcdir)/src/$$T.lds
|
||||
$(call tc,ld) --strip-all -T $(srcdir)/src/$T.lds -Map tmp/$T.map $(filter %.o,$^) -o tmp/$T.bin
|
||||
$(call tc,f-objstrip,tmp/$T.bin)
|
||||
$(call tc,sstrip) tmp/$T.bin
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
tmp/ppc64le-linux.elf-fold.o : $(srcdir)/src/$$T.S
|
||||
tmp/powerpc64le-linux.elf-fold.o : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o $@
|
||||
$(call tc,f-objstrip,$@)
|
||||
|
||||
tmp/ppc64le-linux.elf-main.o : $(srcdir)/src/$$T.c
|
||||
tmp/powerpc64le-linux.elf-main.o : $(srcdir)/src/$$T.c
|
||||
$(call tc,gcc) -c -Os $< -o $@
|
||||
$(call tc,f-objstrip,$@)
|
||||
|
||||
|
||||
# /***********************************************************************
|
||||
# // ppc64le-linux.kernel.vmlinux
|
||||
# // ppc64le-linux.kernel.vmlinux-head
|
||||
# // powerpc64le-linux.kernel.vmlinux
|
||||
# // powerpc64le-linux.kernel.vmlinux-head
|
||||
# ************************************************************************/
|
||||
|
||||
ppc64le-linux.kernel.vmlinu%.h : tc_list = ppc64le-linux.kernel default
|
||||
ppc64le-linux.kernel.vmlinu%.h : tc_bfdname = elf64-powerpcle
|
||||
powerpc64le-linux.kernel.vmlinu%.h : tc_list = powerpc64le-linux.kernel default
|
||||
powerpc64le-linux.kernel.vmlinu%.h : tc_bfdname = elf64-powerpcle
|
||||
|
||||
tc.ppc64le-linux.kernel.gcc = $(tc.ppc64le-linux.elf.gcc)
|
||||
tc.powerpc64le-linux.kernel.gcc = $(tc.powerpc64le-linux.elf.gcc)
|
||||
|
||||
ppc64le-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
|
||||
powerpc64le-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.bin
|
||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||
$(call tc,bin2h-c) tmp/$T.bin $@
|
||||
|
||||
ppc64le-linux.kernel.vmlinux-head.h : $(srcdir)/src/$$T.S
|
||||
powerpc64le-linux.kernel.vmlinux-head.h : $(srcdir)/src/$$T.S
|
||||
$(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,bin2h) tmp/$T.bin $@
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-darwin.dylib-entry.h
|
||||
created from ppc64le-darwin.dylib-entry.bin, 9851 (0x267b) bytes
|
||||
/* powerpc64le-darwin.dylib-entry.h
|
||||
created from powerpc64le-darwin.dylib-entry.bin, 9851 (0x267b) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,11 +31,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_SIZE 9851
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_ADLER32 0x2a885bc3
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_CRC32 0x9d3b5811
|
||||
#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_SIZE 9851
|
||||
#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_ADLER32 0x2a885bc3
|
||||
#define STUB_POWERPC64LE_DARWIN_DYLIB_ENTRY_CRC32 0x9d3b5811
|
||||
|
||||
unsigned char stub_ppc64le_darwin_dylib_entry[9851] = {
|
||||
unsigned char stub_powerpc64le_darwin_dylib_entry[9851] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 1, 0, 21, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0,152, 29, 0, 0, 0, 0, 0, 0,
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-darwin.macho-entry.h
|
||||
created from ppc64le-darwin.macho-entry.bin, 9187 (0x23e3) bytes
|
||||
/* powerpc64le-darwin.macho-entry.h
|
||||
created from powerpc64le-darwin.macho-entry.bin, 9187 (0x23e3) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,11 +31,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_SIZE 9187
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_ADLER32 0x8b1d4a8e
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_CRC32 0x1d66b327
|
||||
#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_SIZE 9187
|
||||
#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_ADLER32 0x8b1d4a8e
|
||||
#define STUB_POWERPC64LE_DARWIN_MACHO_ENTRY_CRC32 0x1d66b327
|
||||
|
||||
unsigned char stub_ppc64le_darwin_macho_entry[9187] = {
|
||||
unsigned char stub_powerpc64le_darwin_macho_entry[9187] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 1, 0, 21, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0,
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-darwin.macho-fold.h
|
||||
created from ppc64le-darwin.macho-fold.bin, 6344 (0x18c8) bytes
|
||||
/* powerpc64le-darwin.macho-fold.h
|
||||
created from powerpc64le-darwin.macho-fold.bin, 6344 (0x18c8) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,11 +31,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_FOLD_SIZE 6344
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_FOLD_ADLER32 0xaa2e4fd4
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_FOLD_CRC32 0x06ae68ec
|
||||
#define STUB_POWERPC64LE_DARWIN_MACHO_FOLD_SIZE 6344
|
||||
#define STUB_POWERPC64LE_DARWIN_MACHO_FOLD_ADLER32 0xaa2e4fd4
|
||||
#define STUB_POWERPC64LE_DARWIN_MACHO_FOLD_CRC32 0x06ae68ec
|
||||
|
||||
unsigned char stub_ppc64le_darwin_macho_fold[6344] = {
|
||||
unsigned char stub_powerpc64le_darwin_macho_fold[6344] = {
|
||||
/* 0x0000 */ 105, 0, 0, 72,208, 0, 6, 40, 32, 0,194, 76,191,240,132, 84,
|
||||
/* 0x0010 */ 32, 0,194, 77, 16, 0, 0, 60, 64, 0, 4,124, 8, 0,128, 65,
|
||||
/* 0x0020 */ 120, 3, 4,124, 32, 1,165, 56,120, 27,103,124,252,255, 99, 56,
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-linux.elf-entry.h
|
||||
created from ppc64le-linux.elf-entry.bin, 9657 (0x25b9) bytes
|
||||
/* powerpc64le-linux.elf-entry.h
|
||||
created from powerpc64le-linux.elf-entry.bin, 9657 (0x25b9) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,11 +31,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_SIZE 9657
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_ADLER32 0x20e0ce9f
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_CRC32 0x65fa7f1a
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_SIZE 9657
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_ADLER32 0x20e0ce9f
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_ENTRY_CRC32 0x65fa7f1a
|
||||
|
||||
unsigned char stub_ppc64le_linux_elf_entry[9657] = {
|
||||
unsigned char stub_powerpc64le_linux_elf_entry[9657] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 1, 0, 21, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 16, 28, 0, 0, 0, 0, 0, 0,
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-linux.elf-fold.h
|
||||
created from ppc64le-linux.elf-fold.bin, 2379 (0x94b) bytes
|
||||
/* powerpc64le-linux.elf-fold.h
|
||||
created from powerpc64le-linux.elf-fold.bin, 2379 (0x94b) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,11 +31,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_LINUX_ELF_FOLD_SIZE 2379
|
||||
#define STUB_PPC64LE_LINUX_ELF_FOLD_ADLER32 0x1fa74a77
|
||||
#define STUB_PPC64LE_LINUX_ELF_FOLD_CRC32 0xc33ee113
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_SIZE 2379
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_ADLER32 0x1fa74a77
|
||||
#define STUB_POWERPC64LE_LINUX_ELF_FOLD_CRC32 0xc33ee113
|
||||
|
||||
unsigned char stub_ppc64le_linux_elf_fold[2379] = {
|
||||
unsigned char stub_powerpc64le_linux_elf_fold[2379] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 2, 0, 21, 0, 1, 0, 0, 0, 0, 9, 16, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-linux.kernel.vmlinux-head.h
|
||||
created from ppc64le-linux.kernel.vmlinux-head.bin, 8 (0x8) bytes
|
||||
/* powerpc64le-linux.kernel.vmlinux-head.h
|
||||
created from powerpc64le-linux.kernel.vmlinux-head.bin, 8 (0x8) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,10 +31,10 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_LINUX_KERNEL_VMLINUX_HEAD_SIZE 8
|
||||
#define STUB_PPC64LE_LINUX_KERNEL_VMLINUX_HEAD_ADLER32 0x0d7d0259
|
||||
#define STUB_PPC64LE_LINUX_KERNEL_VMLINUX_HEAD_CRC32 0xdfb1607d
|
||||
#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_HEAD_SIZE 8
|
||||
#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_HEAD_ADLER32 0x0d7d0259
|
||||
#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_HEAD_CRC32 0xdfb1607d
|
||||
|
||||
unsigned char stub_ppc64le_linux_kernel_vmlinux_head[8] = {
|
||||
unsigned char stub_powerpc64le_linux_kernel_vmlinux_head[8] = {
|
||||
/* 0x0000 */ 166, 2,232,127, 1, 0, 0, 72
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
/* ppc64le-linux.kernel.vmlinux.h
|
||||
created from ppc64le-linux.kernel.vmlinux.bin, 9824 (0x2660) bytes
|
||||
/* powerpc64le-linux.kernel.vmlinux.h
|
||||
created from powerpc64le-linux.kernel.vmlinux.bin, 9824 (0x2660) bytes
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
||||
|
@ -31,11 +31,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#define STUB_PPC64LE_LINUX_KERNEL_VMLINUX_SIZE 9824
|
||||
#define STUB_PPC64LE_LINUX_KERNEL_VMLINUX_ADLER32 0xfa8bc568
|
||||
#define STUB_PPC64LE_LINUX_KERNEL_VMLINUX_CRC32 0x0e1bf668
|
||||
#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_SIZE 9824
|
||||
#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_ADLER32 0xfa8bc568
|
||||
#define STUB_POWERPC64LE_LINUX_KERNEL_VMLINUX_CRC32 0x0e1bf668
|
||||
|
||||
unsigned char stub_ppc64le_linux_kernel_vmlinux[9824] = {
|
||||
unsigned char stub_powerpc64le_linux_kernel_vmlinux[9824] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0010 */ 1, 0, 21, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0,104, 25, 0, 0, 0, 0, 0, 0,
|
|
@ -29,11 +29,11 @@ include $(top_srcdir)/src/stub/Makefile
|
|||
# // method-lzma
|
||||
# ************************************************************************/
|
||||
|
||||
lzma_d_c%.S : tc_list = method-lzma ppc64le-linux.elf default
|
||||
lzma_d_c%.S : tc_list = method-lzma powerpc64le-linux.elf default
|
||||
lzma_d_c%.S : tc_bfdname = elf64-powerpcle
|
||||
|
||||
c := tc.method-lzma.gcc
|
||||
$c = $(tc.ppc64le-linux.elf.gcc)
|
||||
$c = $(tc.powerpc64le-linux.elf.gcc)
|
||||
$c += -mcpu=405 -fPIC
|
||||
$c += -Os -fomit-frame-pointer
|
||||
$c += -fno-unit-at-a-time
|
|
@ -1,3 +0,0 @@
|
|||
# convenience Makefile
|
||||
default %:
|
||||
$(MAKE) -C ../../.. $@
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ppc64le-darwin.dylib-entry.S -- program entry point & decompress (PowerPC32 dylib)
|
||||
* powerpc64le-darwin.dylib-entry.S -- program entry point & decompress (PowerPC32 dylib)
|
||||
*
|
||||
* This file is part of the UPX executable compressor.
|
||||
*
|
||||
|
@ -26,8 +26,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "arch/ppc64le/64/macros.S"
|
||||
#include "arch/ppc64le/64/ppc_regs.h"
|
||||
#include "arch/powerpc/64le/macros.S"
|
||||
#include "arch/powerpc/64le/ppc_regs.h"
|
||||
|
||||
/*************************************************************************
|
||||
// We have been CALLed as a subroutine from dyld; C-language rules apply.
|
||||
|
@ -60,15 +60,15 @@ SZ_DLINE=128 # size of data cache line in Apple G5
|
|||
#define disp a7
|
||||
|
||||
section NRV2E
|
||||
#include "arch/ppc64le/64/nrv2e_d.S"
|
||||
#include "arch/powerpc/64le/nrv2e_d.S"
|
||||
|
||||
section NRV2D
|
||||
#include "arch/ppc64le/64/nrv2d_d.S"
|
||||
#include "arch/powerpc/64le/nrv2d_d.S"
|
||||
|
||||
section NRV2B
|
||||
#include "arch/ppc64le/64/nrv2b_d.S"
|
||||
#include "arch/powerpc/64le/nrv2b_d.S"
|
||||
|
||||
#include "arch/ppc64le/64/lzma_d.S"
|
||||
#include "arch/powerpc/64le/lzma_d.S"
|
||||
|
||||
#undef off
|
||||
#undef len
|
||||
|
@ -341,7 +341,7 @@ get4:
|
|||
blr
|
||||
|
||||
unfilter:
|
||||
#include "arch/ppc64le/64/bxx.S"
|
||||
#include "arch/powerpc/64le/bxx.S"
|
||||
|
||||
main:
|
||||
b main2
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* ppc64le-darwin.macho-entry.S -- program entry point & decompressor (PowerPC32 Mach-o)
|
||||
* powerpc64le-darwin.macho-entry.S -- program entry point & decompressor (PowerPC32 Mach-o)
|
||||
*
|
||||
* This file is part of the UPX executable compressor.
|
||||
*
|
||||
|
@ -26,8 +26,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "arch/ppc64le/64/macros.S"
|
||||
#include "arch/ppc64le/64/ppc_regs.h"
|
||||
#include "arch/powerpc/64le/macros.S"
|
||||
#include "arch/powerpc/64le/ppc_regs.h"
|
||||
|
||||
section MACOS000
|
||||
_start: .globl _start
|
||||
|
@ -51,15 +51,15 @@ SZ_DLINE=128 # size of data cache line in Apple G5
|
|||
#define disp a7
|
||||
|
||||
section NRV2E
|
||||
#include "arch/ppc64le/64/nrv2e_d.S"
|
||||
#include "arch/powerpc/64le/nrv2e_d.S"
|
||||
|
||||
section NRV2D
|
||||
#include "arch/ppc64le/64/nrv2d_d.S"
|
||||
#include "arch/powerpc/64le/nrv2d_d.S"
|
||||
|
||||
section NRV2B
|
||||
#include "arch/ppc64le/64/nrv2b_d.S"
|
||||
#include "arch/powerpc/64le/nrv2b_d.S"
|
||||
|
||||
#include "arch/ppc64le/64/lzma_d.S"
|
||||
#include "arch/powerpc/64le/lzma_d.S"
|
||||
|
||||
section NRV_TAIL
|
||||
eof_nrv:
|
|
@ -1,4 +1,4 @@
|
|||
/* powerpc-darwin.macho-fold.S -- linkage to C code to process Mach-o binary
|
||||
/* powerpc-darwin.macho-fold.S -- linkage to C code to process Mach-o binary
|
||||
*
|
||||
* This file is part of the UPX executable compressor.
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
/* ppc64le-darwin.macho-main.c -- loader stub for Mach-o PowerPC64LE
|
||||
/* powerpc64le-darwin.macho-main.c -- loader stub for Mach-o PowerPC64LE
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* ppc64le-linux.elf-entry.S -- Linux program entry point & decompressor (Elf binary)
|
||||
/* powerpc64le-linux.elf-entry.S -- Linux program entry point & decompressor (Elf binary)
|
||||
*
|
||||
* This file is part of the UPX executable compressor.
|
||||
*
|
||||
|
@ -29,8 +29,8 @@
|
|||
* <jreiser@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#include "arch/ppc64le/64/macros.S"
|
||||
#include "arch/ppc64le/64/ppc_regs.h"
|
||||
#include "arch/powerpc/64le/macros.S"
|
||||
#include "arch/powerpc/64le/ppc_regs.h"
|
||||
|
||||
sz_b_info= 12
|
||||
sz_unc= 0
|
||||
|
@ -78,15 +78,15 @@ SZ_DLINE=128 # size of data cache line in Apple G5
|
|||
#define disp a7
|
||||
|
||||
section NRV2E
|
||||
#include "arch/ppc64le/64/nrv2e_d.S"
|
||||
#include "arch/powerpc/64le/nrv2e_d.S"
|
||||
|
||||
section NRV2D
|
||||
#include "arch/ppc64le/64/nrv2d_d.S"
|
||||
#include "arch/powerpc/64le/nrv2d_d.S"
|
||||
|
||||
section NRV2B
|
||||
#include "arch/ppc64le/64/nrv2b_d.S"
|
||||
#include "arch/powerpc/64le/nrv2b_d.S"
|
||||
|
||||
#include "arch/ppc64le/64/lzma_d.S"
|
||||
#include "arch/powerpc/64le/lzma_d.S"
|
||||
|
||||
section NRV_TAIL
|
||||
eof_nrv:
|
|
@ -1,4 +1,4 @@
|
|||
/* ppc64le-linux.elf-fold.S -- linkage to C code to process ELF binary
|
||||
/* powerpc64le-linux.elf-fold.S -- linkage to C code to process ELF binary
|
||||
*
|
||||
* This file is part of the UPX executable compressor.
|
||||
*
|
||||
|
@ -29,8 +29,8 @@
|
|||
* <jreiser@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#include "arch/ppc64le/64/macros.S"
|
||||
#include "arch/ppc64le/64/ppc_regs.h"
|
||||
#include "arch/powerpc/64le/macros.S"
|
||||
#include "arch/powerpc/64le/ppc_regs.h"
|
||||
|
||||
#define szElf64_Ehdr 0x40
|
||||
#define szElf64_Phdr 0x38
|
||||
|
@ -49,7 +49,7 @@ LINKAREA= 6*8 // (sp,pc,cr, xx,yy.zz) save area per calling convention
|
|||
*/
|
||||
fold_begin:
|
||||
call L90
|
||||
#include "arch/ppc64le/64/bxx.S"
|
||||
#include "arch/powerpc/64le/bxx.S"
|
||||
|
||||
/* The SysV convention for argument registers after execve is nice:
|
||||
a0= argc
|
|
@ -1,4 +1,4 @@
|
|||
/* ppc64le-linux.elf-fold.lds --
|
||||
/* powerpc64le-linux.elf-fold.lds --
|
||||
|
||||
This file is part of the UPX executable compressor.
|
||||
|
|
@ -30,8 +30,8 @@
|
|||
; <jreiser@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#include "arch/ppc64le/64/macros.S"
|
||||
#include "arch/ppc64le/64/ppc_regs.h"
|
||||
#include "arch/powerpc/64le/macros.S"
|
||||
#include "arch/powerpc/64le/ppc_regs.h"
|
||||
|
||||
// offsets in struct b_info
|
||||
sz_unc = 0
|
||||
|
@ -57,7 +57,7 @@ section LINUX020 // adjust return value
|
|||
|
||||
unfilter:
|
||||
//section ctok32.00
|
||||
#include "arch/ppc64le/64/bxx.S"
|
||||
#include "arch/powerpc/64le/bxx.S"
|
||||
|
||||
// ========== DECOMPRESSION
|
||||
|
||||
|
@ -82,13 +82,13 @@ SZ_DLINE=128 # size of data cache line in Apple G5
|
|||
|
||||
|
||||
section NRV2B
|
||||
#include "arch/ppc64le/64/nrv2b_d.S"
|
||||
#include "arch/powerpc/64le/nrv2b_d.S"
|
||||
|
||||
section NRV2D
|
||||
#include "arch/ppc64le/64/nrv2d_d.S"
|
||||
#include "arch/powerpc/64le/nrv2d_d.S"
|
||||
|
||||
section NRV2E
|
||||
#include "arch/ppc64le/64/nrv2e_d.S"
|
||||
#include "arch/powerpc/64le/nrv2e_d.S"
|
||||
|
||||
section NRV_TAIL
|
||||
eof_nrv:
|
||||
|
@ -140,7 +140,7 @@ cfl_ret:
|
|||
#undef disp
|
||||
|
||||
section LZMA
|
||||
#include "arch/ppc64le/64/lzma_d.S"
|
||||
#include "arch/powerpc/64le/lzma_d.S"
|
||||
|
||||
// ========== IDENT
|
||||
|
Loading…
Reference in New Issue
Block a user