The text da5835f0cc35, as FreeBSD 9.0-RELEASE shipped it.
return the number of sections in an ELF file
elf_getshdrnum(3) on FreeBSD now