Try to fix 32-bit PowerPC.

modified:   p_mach.cpp
	modified:   p_mach.h
	modified:   stub/Makefile
	new file:   stub/powerpc-darwin.macho-upxmain.exe
	new file:   stub/powerpc-darwin.macho-upxmain.h
	new file:   stub/src/powerpc-darwin.macho-upxsubr.S
This commit is contained in:
John Reiser
2016-11-06 17:59:16 -08:00
parent 7dc004acb3
commit e418af1ccd
6 changed files with 759 additions and 17 deletions
+4
View File
@@ -120,6 +120,7 @@ STUBS += mipsel.r3000-ps1.h
STUBS += powerpc-darwin.dylib-entry.h
STUBS += powerpc-darwin.macho-entry.h
STUBS += powerpc-darwin.macho-fold.h
STUBS += powerpc-darwin.macho-upxmain.h
STUBS += powerpc-linux.elf-entry.h
STUBS += powerpc-linux.elf-fold.h
STUBS += powerpc-linux.kernel.vmlinux-head.h
@@ -1216,6 +1217,9 @@ powerpc-darwin.macho-fold.h : tmp/$$T.o tmp/powerpc-darwin.macho-main.o
chmod a-x tmp/$T.bin
$(call tc,bin2h) tmp/$T.bin $@
powerpc-darwin.macho-upxmain.h: powerpc-darwin.macho-upxmain.exe
$(call tc,bin2h) $< $@
tmp/powerpc-darwin.macho-fold.o : $(srcdir)/src/$$T.S
$(call tc,gcc) -c $< -o $@
$(call tc,f-objstrip,$@)