[Bug 192252] New: Various ELF parsers and support code should be unified

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 29 19:54:24 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192252

            Bug ID: 192252
           Summary: Various ELF parsers and support code should be unified
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: conrad.meyer at isilon.com

I count something like five different ELF implementations in base.

sys/kern/link_elf.c and link_elf_obj.c have tons of shareable code; sys/boot
has some degree of ELF parsing / interpretation; libexec/rtld-elf has yet
another implementation; usr.sbin/kldxref/ef.c is another version.

Almost all of these could benefit from fixes and implementations happening in
one place (e.g. GNU hash support, which is present in rtld-elf but none of the
others).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list