https://sourceware.org/bugzilla/show_bug.cgi?id=28698
Bug ID: 28698
Summary: objdump is very slow in some cases
Product: binutils
Version: 2.38 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
If a .o file has any symbols with many sections, objdump can be very
slow. There are several causes.
1. There is
if (sorted_symcount > 1)
qsort (sorted_syms, sorted_symcount, sizeof (asymbol *), compare_symbols);
is called on each text section. On a .o file with 139815 symbols and
148096 sections, each qsort can take a long time to run.
2. find_symbol_for_address also takes time to run.
--
You are receiving this mail because:
You are on the CC list for the bug.