Date: Tue, 29 Jul 2014 20:09:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192253] New: [INCOMPLETE] [PATCH] Add GNU hash support to kernel link_elf, kldxref Message-ID: <bug-192253-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192253 Bug ID: 192253 Summary: [INCOMPLETE] [PATCH] Add GNU hash support to kernel link_elf, kldxref Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: conrad.meyer@isilon.com Created attachment 145127 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145127&action=edit (patch -p1 in src/ ; applies against recent-ish CURRENT) This incomplete patch ports r234841 (GNU hash for rtld-elf) to the kernel linker and kldxref ELF implementations. To finish the work, someone will have to port support to the bootloader as well (OR, switch '--hash-style=gnu' to '--hash-style=both' and eat the additional hash table bloat). We abandoned this route because it doesn't help very much on AMD64 (relocatable ELF object kmodules do not get any hash table) and we got 99.9% of the gains we wanted with the patch in bug 192249. Also, it is obnoxious how many different ELF implementations exist and most of them lack GNU hash support (bug 192252). Still, maybe this is useful to someone or other (embedded?) architectures where kernel modules are proper shared objects. Sponsored by: EMC / Isilon storage division -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192253-8>