elfutils-0.167

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.10 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-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

converts addresses into file names and line numbers.

eu-ar

creates, modifies, and extracts from archives.

eu-elfcmp

compares relevant parts of two ELF files for equality.

eu-elfcompress

compresses or decompresses sections in an ELF file.

eu-elflint

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

eu-findtextrel

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

eu-nm

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

eu-objdump

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

eu-ranlib

generates an index to speed up access to archives.

eu-readelf

prints information from ELF files in human-readable form.

eu-size

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

eu-stack

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

eu-strings

prints the strings of printable characters in files.

eu-strip

discards symbols from object files.

eu-unstrip

combines stripped files with separate symbols and debug information.

Last updated on 2016-08-27 12:04:03 -0700