Slow readelf for huge ARM binary
Dmitry Antipov
dantipov@nvidia.com
Wed Feb 11 15:23:00 GMT 2015
I have a huge ARM v5 EABI binary with > 6.5M entries in .symtab and > 1.4M entries
in .ARM.exidx tables. With such a binary, 'readelf -u' wastes an (almost) infinite
amount of time doing linear search in find_symbol_for_address. IMHO this should be
fixed with some more advanced stuff, probably the ordered subset of .symtab with
STT_FUNC objects; an attached patch illustrates this idea (ARM-only).
Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readelf_arm_unwind.patch
Type: text/x-diff
Size: 3711 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150211/25fd9bd5/attachment.bin>
More information about the Binutils
mailing list