NetBSD/external/bsd/libelf/dist
yamt d76c56428e fall back to malloc+pread when stat+malloc doesn't seem to work.
it allows libelf work on /dev/ksyms.

XXX the name of the flag is a bit confusing and i think it's better to rename
MALLOCED to DATA_MALLOCED or such.  but i don't think it's worth increasing
the diff against the upstream for it.
2010-10-31 05:03:12 +00:00
..
_libelf.h fall back to malloc+pread when stat+malloc doesn't seem to work. 2010-10-31 05:03:12 +00:00
elf_begin.3
elf_begin.c fall back to malloc+pread when stat+malloc doesn't seem to work. 2010-10-31 05:03:12 +00:00
elf_cntl.3
elf_cntl.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_data.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
elf_end.3
elf_end.c fall back to malloc+pread when stat+malloc doesn't seem to work. 2010-10-31 05:03:12 +00:00
elf_errmsg.3
elf_errmsg.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_errno.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_fill.3
elf_fill.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_flag.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_flagdata.3
elf_getarhdr.3
elf_getarhdr.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_getarsym.3
elf_getarsym.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_getbase.3
elf_getbase.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_getdata.3 Mark up NULL. Join two sections describing same error. Remove trailing 2010-01-29 10:49:07 +00:00
elf_getident.3
elf_getident.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
elf_getphnum.3
elf_getscn.3
elf_getshnum.3
elf_getshstrndx.3
elf_hash.3
elf_hash.c Merge FreeBSD-8-0-RELEASE. All this does is remove the __RCSID() tags 2009-12-29 17:05:58 +00:00
elf_kind.3
elf_kind.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_memory.3
elf_memory.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_next.3
elf_next.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
elf_phnum.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_rand.3
elf_rand.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_rawfile.3
elf_rawfile.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_scn.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
elf_shnum.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_shstrndx.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf_strptr.3
elf_strptr.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
elf_types.m4 Centralize dependency on __FreeBSD_version into libelf.h, and generalize 2009-12-19 07:31:04 +00:00
elf_update.3
elf_update.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
elf_version.3
elf_version.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
elf.3 Do not use .Xo/.Xc to work around ancient roff limits. 2009-12-29 18:07:28 +00:00
gelf_cap.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_checksum.3
gelf_checksum.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
gelf_dyn.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_ehdr.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_fsize.3
gelf_fsize.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
gelf_getcap.3
gelf_getclass.3
gelf_getclass.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
gelf_getdyn.3
gelf_getehdr.3
gelf_getmove.3
gelf_getphdr.3
gelf_getrel.3
gelf_getrela.3
gelf_getshdr.3
gelf_getsym.3
gelf_getsyminfo.3
gelf_getsymshndx.3
gelf_move.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_newehdr.3
gelf_newphdr.3
gelf_phdr.c Merge FreeBSD-8-0-RELEASE. All this does is remove the __RCSID() tags 2009-12-29 17:05:58 +00:00
gelf_rel.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_rela.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_shdr.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_sym.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_syminfo.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_symshndx.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
gelf_update_ehdr.3
gelf_xlate.c Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to 2009-12-29 16:58:08 +00:00
gelf_xlatetof.3
gelf.3
gelf.h Centralize dependency on __FreeBSD_version into libelf.h, and generalize 2009-12-19 07:31:04 +00:00
libelf_align.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_allocate.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_ar.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_checksum.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_convert.m4 Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_data.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_ehdr.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_extended.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_fsize.m4 Don't need to include <osreldate.h> here. 2009-12-19 07:31:44 +00:00
libelf_msize.m4 Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_phdr.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_shdr.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf_xlate.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf.c Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
libelf.h Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
Makefile
README
Version.map

# $FreeBSD: src/lib/libelf/README,v 1.1.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
# $NetBSD: README,v 1.1.1.1 2009/12/19 05:43:41 thorpej Exp $

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/