public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: nick clifton <nickc@redhat.com>
To: Philip Herron <redbrain@gcc.gnu.org>, binutils@sourceware.org
Subject: Re: Assembler as shared library
Date: Fri, 14 Feb 2014 15:17:00 -0000	[thread overview]
Message-ID: <52FE329F.7010001@redhat.com> (raw)
In-Reply-To: <CAEvRberVvei9Do9=PuN1kzVyh14yXHQaSWG-Cyua81R2yyz6qg@mail.gmail.com>

Hi Philip,

> But i can find any where to start to make a little mini assembler
> using libopcodes.

Take a look at gas/doc/internals.texi, especially the section on GAS 
processing.

Essentially you will need to provide library routines that emulate what 
is done in gas/as.c:main().

Cheers
   Nick


  reply	other threads:[~2014-02-14 15:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 14:09 Philip Herron
2014-02-14 15:17 ` nick clifton [this message]
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=52FE329F.7010001@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=redbrain@gcc.gnu.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).