The Elf Tool Chain Project

Native BSD implementations of essential tools.

Note: This project is in the process of migrating to http://elftoolchain.sourceforge.net/.

Implementation Status

Native or POSIX mandated Tools

Tool

Description

Status

Owner

Repository Location

Comments

ar

Archiver

In CVS

kaiw

src/usr.bin/ar/

Done

as

Assembler

Needs to support all Tier-1/2 CPUs: i386, amd64, sparc64, arm, powerpc, ia64, mips

elfdump

Diagnostic tool

Patch

kaiw

Architecture independent.

ld

Link editor

Needs to support all Tier-1/2 CPUs.

nm

List symbols

hglee

//depot/user/hglee/projects/elftoolchain/src/usr.bin/nm/

ranlib

Generate archive symbol table

In CVS

kaiw

(see ar(1) above)

Done

size

List object sizes

Patch

samarunraj

//depot/user/samarunraj/elftoolchain/src/usr.bin/size/

strings

Extract printable strings

samarunraj

//depot/user/samarunraj/elftoolchain/src/usr.bin/strings/

strip

Discard symbols from objects

Patch

kaiw

//depot/user/kaiw/projects/bintools/src/usr.bin/elfcopy/

(Soc07 project)

GNU Tools

Tool

Description

Status

Owner

Repository Location

Comments

addr2line

Debug tool

elfcopy

Copy and translate between formats

Patch

kaiw

//depot/user/kaiw/projects/bintools/src/usr.bin/elfcopy/

Used by the ia64 build. (Soc07 project)

objdump

Display object information

Merge with elfdump? Used by the ia64 build

readelf

Display ELF information

samarunraj

Merge with elfdump?)

Libraries and API sets

API Set

Description

Status

Owner

Repository Location

Comments

libdwarf

A library for parsing DWARF debug information

jb

//depot/projects/dtrace/src/lib/libdwarf/

"pfgshield-freebsd" (email suppressed) notes that early versions of SGI's libdwarf library were released under a non-GPL'ed license.

"libmachinecode"

Machine/assembly code manipulation.

For use in an optimizing linker, debugger and assember. See the NJ Toolkit below.

Related Reading

ElfToolChain (last edited 2008-06-17 21:38:07 by localhost)