mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08: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…
Reference in New Issue
Block a user