[PATCH] RISC-V/objdump: Do not re-seacrh for mapping symbols when didn't find any.

Dmitry Bushev dmitry.bushev@syntacore.com
Fri Sep 13 14:52:27 GMT 2024


Hi,

I found a performance issue with mapping symbols in objdump. It is observable when disassembling large sections (10MB of code and 100k+ symbols) that does not contain any mapping symbols - it takes progressively more time to dump such sections than it takes alternative objdump implementations (like llvm-objdump). I suggest a simple fix for that.

Could you, please, review my patch?

With best regards,
Dmitry


More information about the Binutils mailing list