Cleanup after Thierry Fauck changes for ppc64le.
We need a "UPX standard" compiler in order to re-compile the stubs for ppc64le; meanwhile use Thierry's "pre-compiled" stubs. Revert powerpc stubs to those produced by UPX standard powerpc.405-linux-gcc-3.4.5. Cleanup the workarounds that Thierry used because he lacked upx-stubtools 20130920. ARMv8 (64-bit) compiles but is incomplete and does not run yet. changed src/Makefile changed src/linker.cpp changed src/stub/Makefile changed src/stub/amd64-linux.elf-entry.h changed src/stub/arm64-darwin.macho-entry.h changed src/stub/arm64-darwin.macho-fold.h changed src/stub/powerpc-darwin.dylib-entry.h changed src/stub/powerpc-darwin.macho-entry.h changed src/stub/powerpc-darwin.macho-fold.h changed src/stub/powerpc-linux.elf-entry.h changed src/stub/powerpc-linux.elf-fold.h changed src/stub/powerpc-linux.kernel.vmlinux.h changed src/stub/scripts/xstrip.py changed src/stub/src/arch/arm/v8a/lzma_d.S changed src/stub/src/arch/arm/v8a/macros.S changed src/stub/src/arm64-darwin.macho-entry.S changed src/stub/tmp/arm64-darwin.macho-entry.bin.dump
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ void ElfLinker::init(const void *pdata_v, int plen)
|
||||
input = new upx_byte[inputlen + 1];
|
||||
memcpy(input, pdata, inputlen);
|
||||
}
|
||||
input[2 * inputlen] = 0; // NUL terminate
|
||||
input[inputlen] = 0; // NUL terminate
|
||||
|
||||
output = new upx_byte[inputlen];
|
||||
outputlen = 0;
|
||||
|
||||
Reference in New Issue
Block a user