changeset: 2451:4e2a6c33d5fb
tag: ppc64le user: Thierry Fauck <tfauck@free.fr> date: Wed Jun 22 08:25:13 2016 -0400 summary: Add support for ppc64le statically linked binaries
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)
|
||||
assert len(odata) == pos, "unexpected strip_with_dump"
|
||||
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