[Bug general/31763] eu-readelf -r is super slow at packed relocation processing
https://sourceware.org/bugzilla/show_bug.cgi?id=31763 --- Comment #2 from Mark Wielaard --- So the main issue is libdwfl/dwfl_module_addrsym.c which does a linear search through all symbol tables each and every time... -- You are receiving this mail because: You are on the CC list for the bug.
[Bug general/31763] eu-readelf -r is super slow at packed relocation processing
https://sourceware.org/bugzilla/show_bug.cgi?id=31763 --- Comment #3 from Adam Jackson --- -N works, not sure how I'd missed it in the docs, thank you. I'm not sure if there's a good way to cache the likely-negative-ness of the symbol lookup here. >From your example: > Relocation section [12] '.relr.dyn' at offset 0x4bc88 contains 750 entries: > +0x0044bcd0 <__frame_dummy_init_array_entry> * > +0x0044bcd8 <__do_global_dtors_aux_fini_array_entry> > +0x0044bce0 <__dso_handle> > +0x0044bd10 > +0x0044bd18 > +0x0044bd20 When you process 0x44bd10 you could look ahead to see that the next two have the same increment (of 0x8, though, why be picky), and probably they, and any more beyond with the same increment, would refer to offsets within a single symbol. I don't know if there's a good way to express that as a heuristic here though. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug general/31783] New: Add directory of C code examples to the elfutils source
https://sourceware.org/bugzilla/show_bug.cgi?id=31783 Bug ID: 31783 Summary: Add directory of C code examples to the elfutils source Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general Assignee: unassigned at sourceware dot org Reporter: amerey at redhat dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- It would be useful to have example C code demonstrating various uses of the elfutils libraries. We could include this in an examples/ directory in the elfutils source, similar to what systemtap does. One example that has been requested is to enumerate the DT_NEEDED of a given binary. -- You are receiving this mail because: You are on the CC list for the bug.