On 08/24/2017 05:18 AM, Jan Kratochvil wrote:
But the symbols take less space there as they are compressed. You
can check
how it looks like for Linux ELF binaries by:
rm -f /tmp/bash-debugdata{,.xz};objcopy --dump-section
.gnu_debugdata=/tmp/bash-debugdata.xz /bin/bash /dev/null;xz -dv
/tmp/bash-debugdata.xz;readelf -Wa /tmp/bash-debugdata|less
FWIW, elfutils can read .gnu_debugdata directly:
eu-readelf --elf-section -Wa /bin/bash