ping [was: Slow readelf for huge ARM binary]

Dmitry Antipov dantipov@nvidia.com
Thu Feb 19 15:30:00 GMT 2015


On 02/11/2015 06:22 PM, Dmitry Antipov wrote:

> 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).

also at https://sourceware.org/ml/binutils/2015-02/msg00157.html - any thoughts?
(Yes, this is not a top-priority issue, but waiting >3hrs for 'readelf -u' is not
an option in any case).

Dmitry



More information about the Binutils mailing list