mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
stub: update powerpc64le settings.
This commit is contained in:
parent
61089feee7
commit
695e515a65
|
@ -1359,7 +1359,9 @@ tc.ppc64le-linux.elf.gcc = powerpc64-linux-gcc-4.9.2 -m64 -mlittle-endian -nost
|
|||
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.ppc64le-linux.elf.ld = powerpc64-linux-ld-2.25 -b $(tc_bfdname)
|
||||
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)
|
||||
|
||||
ppc64le-linux.elf-entry.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c $< -o tmp/$T.bin
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
|
||||
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_SIZE 9851
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_ADLER32 0x75d95bd9
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_CRC32 0x3fcb6329
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_ADLER32 0x2a885bc3
|
||||
#define STUB_PPC64LE_DARWIN_DYLIB_ENTRY_CRC32 0x9d3b5811
|
||||
|
||||
unsigned char stub_ppc64le_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,176, 27, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0,152, 29, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0030 */ 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 64, 0, 22, 0, 19, 0,
|
||||
/* 0x0040 */ 166, 2, 72,124, 1, 0, 0, 72,236, 41, 0,124,166, 2,168,125,
|
||||
/* 0x0050 */ 8, 0, 7, 40, 92, 1,130, 64, 0, 0,166,248, 20, 26,132,124,
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
|
||||
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_SIZE 9187
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_ADLER32 0x9d5e4aa4
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_CRC32 0x5d78462f
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_ADLER32 0x8b1d4a8e
|
||||
#define STUB_PPC64LE_DARWIN_MACHO_ENTRY_CRC32 0x1d66b327
|
||||
|
||||
unsigned char stub_ppc64le_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, 24, 25, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0030 */ 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 64, 0, 22, 0, 19, 0,
|
||||
/* 0x0040 */ 1, 0, 0, 72,236, 41, 0,124,166, 2,168,125, 8, 0, 7, 40,
|
||||
/* 0x0050 */ 92, 1,130, 64, 0, 0,166,248, 20, 26,132,124, 0,128, 0, 60,
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
|
||||
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_SIZE 9657
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_ADLER32 0xbd87cf84
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_CRC32 0xcd1a5c42
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_ADLER32 0x20e0ce9f
|
||||
#define STUB_PPC64LE_LINUX_ELF_ENTRY_CRC32 0x65fa7f1a
|
||||
|
||||
unsigned char stub_ppc64le_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,248, 25, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 16, 28, 0, 0, 0, 0, 0, 0,
|
||||
/* 0x0030 */ 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 64, 0, 24, 0, 21, 0,
|
||||
/* 0x0040 */ 1, 0, 0, 72,236, 41, 0,124,166, 2,168,125, 8, 0, 7, 40,
|
||||
/* 0x0050 */ 92, 1,130, 64, 0, 0,166,248, 20, 26,132,124, 0,128, 0, 60,
|
||||
|
|
|
@ -30,7 +30,7 @@ include $(top_srcdir)/src/stub/Makefile
|
|||
# ************************************************************************/
|
||||
|
||||
lzma_d_c%.S : tc_list = method-lzma ppc64le-linux.elf default
|
||||
lzma_d_c%.S : tc_bfdname = elf64-ppc64le
|
||||
lzma_d_c%.S : tc_bfdname = elf64-powerpcle
|
||||
|
||||
c := tc.method-lzma.gcc
|
||||
$c = $(tc.ppc64le-linux.elf.gcc)
|
||||
|
@ -42,6 +42,7 @@ $c += -fwrapv
|
|||
$c += -DWITH_LZMA=$(UPX_LZMA_VERSION)
|
||||
$c += -I$(UPX_LZMADIR)
|
||||
$c += -I$(top_srcdir)/src
|
||||
$c += -Wno-error
|
||||
|
||||
lzma_d_c%.S : lzma_d_c.c
|
||||
$(call tc,gcc) $(PP_FLAGS) -c $< -o tmp/$T.o
|
||||
|
|
Loading…
Reference in New Issue
Block a user