freebsd-skq/lib/libelf
kaiw 04e875d138 * Improve compatibility with existing application code by permitting the
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
2010-06-13 10:58:50 +00:00
..
_libelf.h Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
elf_begin.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_begin.c
elf_cntl.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_cntl.c
elf_data.c Correct a typo. 2007-03-19 03:52:20 +00:00
elf_end.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_end.c
elf_errmsg.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_errmsg.c Make the generated message from `elf_errmsg(-1)' a little more readable. 2006-12-09 16:27:15 +00:00
elf_errno.c
elf_fill.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_fill.c
elf_flag.c
elf_flagdata.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getarhdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getarhdr.c
elf_getarsym.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getarsym.c
elf_getbase.3 * Improve compatibility with existing application code by permitting the 2010-06-13 10:58:50 +00:00
elf_getbase.c * Improve compatibility with existing application code by permitting the 2010-06-13 10:58:50 +00:00
elf_getdata.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getident.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getident.c
elf_getphnum.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getscn.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getshnum.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_getshstrndx.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_hash.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_hash.c
elf_kind.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_kind.c
elf_memory.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_memory.c
elf_next.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_next.c
elf_phnum.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
elf_rand.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_rand.c
elf_rawfile.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_rawfile.c
elf_scn.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
elf_shnum.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
elf_shstrndx.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
elf_strptr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_strptr.c Relax the strict type check because gcc as distributed doesn't create 2008-05-23 07:35:36 +00:00
elf_types.m4 Use <osreldate.h> rather than the OS version reported by the kernel 2006-12-18 05:40:01 +00:00
elf_update.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_update.c Ensure that the section header table is written out in an order 2008-03-19 06:06:34 +00:00
elf_version.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
elf_version.c
elf.3 mdoc: fix parenthesis 2010-05-11 23:08:31 +00:00
gelf_cap.c Use <osreldate.h> rather than the OS version reported by the kernel 2006-12-18 05:40:01 +00:00
gelf_checksum.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_checksum.c
gelf_dyn.c
gelf_ehdr.c
gelf_fsize.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_fsize.c
gelf_getcap.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getclass.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getclass.c
gelf_getdyn.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getehdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getmove.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getphdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getrel.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getrela.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getshdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getsym.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getsyminfo.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_getsymshndx.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_move.c Use <osreldate.h> rather than the OS version reported by the kernel 2006-12-18 05:40:01 +00:00
gelf_newehdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_newphdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_phdr.c
gelf_rel.c Translate the r_info field of ELF relocation records when converting 2008-03-02 06:33:10 +00:00
gelf_rela.c Translate the r_info field of ELF relocation records when converting 2008-03-02 06:33:10 +00:00
gelf_shdr.c
gelf_sym.c
gelf_syminfo.c Use <osreldate.h> rather than the OS version reported by the kernel 2006-12-18 05:40:01 +00:00
gelf_symshndx.c
gelf_update_ehdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf_xlate.c
gelf_xlatetof.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
gelf.h Add GELF_* accessor macros. 2007-03-08 04:01:30 +00:00
libelf_align.c Change the alignment of the NOTE to match what gcc does. 2008-05-23 07:33:45 +00:00
libelf_allocate.c Fix a bug with the release of section's raw data. Both release loops 2007-02-21 08:14:22 +00:00
libelf_ar.c Bug fixes to ar(1) archive handling: 2007-03-27 04:40:57 +00:00
libelf_checksum.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
libelf_convert.m4 Fix some "in in" typos in comments. 2008-03-26 07:32:08 +00:00
libelf_data.c Add the case for SHT_AMD64_UNWIND. 2008-05-23 07:32:19 +00:00
libelf_ehdr.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
libelf_extended.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
libelf_fsize.m4 Use <osreldate.h> rather than the OS version reported by the kernel 2006-12-18 05:40:01 +00:00
libelf_msize.m4 Use <osreldate.h> rather than the OS version reported by the kernel 2006-12-18 05:40:01 +00:00
libelf_phdr.c Keep shadow copies of the e_shnum', e_phnum' and `e_shstrndx' 2006-12-25 02:22:22 +00:00
libelf_shdr.c
libelf_xlate.c - Allow source descriptors with no data to be used as arguments to the 2007-11-26 03:09:33 +00:00
libelf.c
libelf.h
Makefile Build lib/ with WARNS=6 by default. 2010-01-02 09:58:07 +00:00
README Add a README. 2009-01-05 05:14:26 +00:00
Version.map Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00

# $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/