K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-01T18:41:26.650930Z K 7 svn:log V 638 Improve the Elf explorer API to make it easier to retrieve data: - Most of the time elfx_get_section_by_{name,addr}() is called, the caller is looking the same section as the last time, so cache it internally rather than have the caller pass in a hint. - Preload the symbol table and add an elfx_get_symbol_by_name() function that does what the name says. - Replace the elfx_get_data() macro with a function that takes care of the looking up which section the data is in, rather than have the caller look it up every time. This greatly simplifies the sysctl OID retrieval code. Approved by: mentor (gjb) (implicit) END