mirror of
https://github.com/upx/upx.git
synced 2025-03-03 21:37:01 +00:00
debug info for shared library on stderr under "-D"
modified: p_lx_elf.cpp
This commit is contained in:
parent
46730315e3
commit
e61ada944d
@ -1774,6 +1774,10 @@ bool PackLinuxElf32::canPack()
|
||||
goto abandon;
|
||||
}
|
||||
xct_off = elf_get_offset_from_address(xct_va);
|
||||
if (opt->debug.debug_level) {
|
||||
fprintf(stderr, "shlib canPack: xct_va=%#lx xct_off=%lx\n",
|
||||
(long)xct_va, (long)xct_off);
|
||||
}
|
||||
goto proceed; // But proper packing depends on checking xct_va.
|
||||
}
|
||||
else
|
||||
@ -1934,6 +1938,10 @@ PackLinuxElf64::canPack()
|
||||
goto abandon;
|
||||
}
|
||||
xct_off = elf_get_offset_from_address(xct_va);
|
||||
if (opt->debug.debug_level) {
|
||||
fprintf(stderr, "shlib canPack: xct_va=%#lx xct_off=%lx\n",
|
||||
(long)xct_va, (long)xct_off);
|
||||
}
|
||||
goto proceed; // But proper packing depends on checking xct_va.
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user