Page MenuHomeFreeBSD

libelf: Use a red-black tree to manage sections
ClosedPublic

Authored by markj on May 28 2019, 3:29 PM.
Tags
None
Referenced Files
F172236661: D20443.id57997.diff
Thu, Sep 17, 3:19 AM
Unknown Object (File)
Sat, Sep 12, 4:00 PM
Unknown Object (File)
Sat, Sep 12, 4:00 PM
Unknown Object (File)
Sat, Sep 12, 3:57 PM
Unknown Object (File)
Fri, Sep 11, 6:39 AM
Unknown Object (File)
Thu, Sep 10, 9:56 PM
Unknown Object (File)
Wed, Sep 9, 10:24 PM
Unknown Object (File)
Wed, Sep 9, 1:12 PM
Subscribers

Details

Summary

The tree is indexed by section number. This speeds up elf_getscn(3),
which in turn helps other functions. For example, elf_strptr() needs to
look up .shstrtab, which is typically the last section.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 24559
Build 23345: arc lint + arc unit

Event Timeline

  • Remove unintentional change.

sys/tree.h works on all supported operating systems? (for upstreaming)

Overall LGTM

sys/tree.h works on all supported operating systems? (for upstreaming)

Yes, it comes with libbsd, which is already required for queue.h etc..

This revision is now accepted and ready to land.Jun 4 2019, 3:57 PM
This revision was automatically updated to reflect the committed changes.