04e875d138
use of `elf_getbase()` on non-archive members. This change is needed for gcc LTO (-flto) to work properly. * Style fix: paranthesize returned values. * Document the current behaviour of `elf_getbase()`. Tested by: gerald, Steve Kargl (original patch) Obtained from: elftoolchain MFC after: 3 days
# $FreeBSD$ # $NetBSD$ libelf: a BSD-licensed implementation of the ELF(3)/GELF(3) API. Documentation: * Manual page elf.3 contains an overview of the library. Other manual pages document individual APIs in the library. * A tutorial "libelf by Example" is available at: http://people.freebsd.org/~jkoshy/download/libelf/article.html For ongoing development please see http://elftoolchain.sourceforge.net/