This is the mail archive of the
mailing list for the binutils project.
Re: Assembler as shared library
- From: Philip Herron <redbrain at gcc dot gnu dot org>
- To: nick clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org, jit at gcc dot gnu dot org
- Date: Fri, 14 Feb 2014 17:06:14 +0000
- Subject: Re: Assembler as shared library
- Authentication-results: sourceware.org; auth=none
- References: <CAEvRberVvei9Do9=PuN1kzVyh14yXHQaSWG-Cyua81R2yyz6qg at mail dot gmail dot com> <52FE329F dot 7010001 at redhat dot com>
Ah thanks! I have a github repo:
It now builds libasm.la which as is built off now and as seems to
work. So i think i have the first stages of this working. I am
#ifdefing out the main so far and need to make a libgas.h so we can
use this in David Malcoms jit.
On 14 February 2014 15:13, nick clifton <email@example.com> wrote:
> 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
> Essentially you will need to provide library routines that emulate what is
> done in gas/as.c:main().