From: Philip Herron <redbrain@gcc.gnu.org>
To: binutils@sourceware.org
Subject: Assembler as shared library
Date: Fri, 14 Feb 2014 14:09:00 -0000 [thread overview]
Message-ID: <CAEvRberVvei9Do9=PuN1kzVyh14yXHQaSWG-Cyua81R2yyz6qg@mail.gmail.com> (raw)
Hey all
I am working on the jit branch of GCC and investigating how it could
be possible to use binutils as a shared library to assmlble code.
Currently it calls as and ld to create a .so and using dlopen.
Reading "Most of these programs use BFD, the Binary File Descriptor
library, to do low-level manipulation. Many of them also use the
opcodes library to assemble and disassemble machine instructions."
But i can find any where to start to make a little mini assembler
using libopcodes.
--Phil
next reply other threads:[~2014-02-14 14:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-14 14:09 Philip Herron [this message]
2014-02-14 15:17 ` nick clifton
2014-02-14 17:06 ` Philip Herron
2014-02-17 16:54 ` Philip Herron
2014-02-18 21:58 ` David Malcolm
2014-02-19 14:07 ` Philip Herron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEvRberVvei9Do9=PuN1kzVyh14yXHQaSWG-Cyua81R2yyz6qg@mail.gmail.com' \
--to=redbrain@gcc.gnu.org \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).