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:
@@ -173,10 +173,10 @@ def do_file(fn):
|
||||
odata = None
|
||||
pos = idata.find("\0.symtab\0.strtab\0.shstrtab\0")
|
||||
if opts.with_dump:
|
||||
eh, odata = strip_with_dump(opts.with_dump, eh, idata)
|
||||
eh, odata = strip_with_dump(opts.with_dump, eh, idata)
|
||||
# assert len(odata) == pos, "unexpected strip_with_dump"
|
||||
else:
|
||||
if pos >= 0:
|
||||
if pos >= 0:
|
||||
odata = idata[:pos]
|
||||
|
||||
if eh and odata and not opts.dry_run:
|
||||
|
||||
Reference in New Issue
Block a user