elfutils-0.165

Introduction to elfutils

The elfutils package contains a set of utilities and libraries for handling ELF (Executable and Linkable Format) files.

This package is known to build and work properly using an LFS-7.9 platform.

Package Information

elfutils Dependencies

Optional

Valgrind-3.11.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/elfutils

Installation of elfutils

Install elfutils by running the following commands:

./configure --prefix=/usr --program-prefix="eu-" &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--program-prefix="eu-": This switch renames installed programs to avoid conflict with Binutils programs installed in LFS.

--enable-valgrind: Run all tests under valgrind.

Contents

Installed Programs: eu-addr2line, eu-ar, eu-elfcmp, eu-elfcompress, eu-elflint, eu-findtextrel, eu-ld, eu-make-debug-archive, eu-nm, eu-objdump, eu-ranlib, eu-readelf, eu-size, eu-stack, eu-strings, eu-strip, and eu-unstrip
Installed Libraries: libasm.{a,so}, libdw.{a,so}, libebl.a, libelf.{a,so}, and some for different architectures under /usr/lib/elfutils
Installed Directories: /usr/include/elfutils and /usr/lib/elfutils

Short Descriptions

eu-addr2line

convert addresses into file names and line numbers.

eu-ar

create, modify, and extract from archives.

eu-elfcmp

compare relevant parts of two ELF files for equality.

eu-elfcompress

compress or decompress sections in an ELF file.

eu-elflint

pedantic checking of ELF files compliance with gABI/psABI spec.

eu-findtextrel

locate source of text relocations in FILEs (a.out by default).

eu-ld

combine object and archive files.

eu-nm

list symbols from FILEs (a.out by default).

eu-objdump

show information from FILEs (a.out by default).

eu-ranlib

generate an index to speed access to archives.

eu-readelf

print information from ELF file in human-readable form.

eu-size

list section sizes of FILEs (a.out by default).

eu-stack

print a stack for each thread in a process or core file.

eu-strings

print the strings of printable characters in files.

eu-strip

discard symbols from object files.

eu-unstrip

combine stripped files with separate symbols and debug information.

Last updated on 2016-02-21 19:34:40 -0800