Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1448

ELF and DWARF tools ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.misty.com!news.iecc.com!.POSTED!nerds-end
From "John R. Levine" <johnl@iecc.com>
Newsgroups comp.compilers
Subject ELF and DWARF tools ?
Date 29 Dec 2014 00:42:03 -0500
Organization Compilers Central
Lines 18
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <14-12-005@comp.compilers> (permalink)
NNTP-Posting-Host news.iecc.com
Mime-Version 1.0
Content-Type TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Trace miucha.iecc.com 1419831778 63945 2001:470:1f07:1126:0:676f:7373:6970 (29 Dec 2014 05:42:58 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Mon, 29 Dec 2014 05:42:58 +0000 (UTC)
Keywords linker, question
Posted-Date 29 Dec 2014 00:42:57 EST
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref csiph.com comp.compilers:1448

Show key headers only | View raw


I am working on a project which involves building a compiler toolchain for
yet another architecture.  The obvious object format to use is ELF and
DWARF, and I'm trying to figure out the least painful way to do that.

One possibility is the GNU bfd/binutils route.  That's very complete, and
very large.  Another is libelf and libdwarf, which seem (from googlage) to
have good reputations.

Because I am a lazy programmer, I would like to do as much of the
prototyping as I can in python.  I see PyBFD which claims that it wraps
much of the BFD libraries.

Any suggestions?  Are there python wrappers for libelf or libdwarf?  How
hard is it to add a new architecture to BFD or libelf?

Signed,
Bitwhacked

Back to comp.compilers | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

ELF and DWARF tools ? "John R. Levine" <johnl@iecc.com> - 2014-12-29 00:42 -0500
  Re: ELF and DWARF tools ? C Bergström <cbergstrom@pathscale.com> - 2014-12-29 13:22 +0700
  Re: ELF and DWARF tools ? Hans Aberg <haberg-news@telia.com> - 2014-12-29 10:38 +0100
  Re: ELF and DWARF tools ? Walter Banks <walter@bytecraft.com> - 2014-12-29 08:05 -0500
    Re: ELF and DWARF tools ? Charles Chester <cc.63dw@gmail.com> - 2014-12-30 18:18 -0500

csiph-web