elf(3) mentions two deprecated functions: elf_getshnum(3) and elf_getsrstrndx(3). The patch below replaces them with references to elf_getshdrnum(3) and elf_getshdrstrndx(3) and it adds a paragraph about elf_getphdrnum(3).
-- Alex $ svn diff libelf/elf.3 Index: libelf/elf.3 =================================================================== --- libelf/elf.3 (revision 3616) +++ libelf/elf.3 (working copy) @@ -529,9 +529,11 @@ Compute checksum of an ELF object. .It Fn elf_getident Retrieve the identification bytes for an ELF object. -.It Fn elf_getshnum +.It Fn elf_getshdrnum Retrieve the number of sections in an ELF object. -.It Fn elf_getshstrndx +.It Fn elf_getphdrnum +Retrieve the number of program headers in an ELF object. +.It Fn elf_getshdrstrndx Retrieve the section index of the section name string table in an ELF object. .It Fn elf_hash ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Elftoolchain-developers mailing list Elftoolchain-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers