This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Assembler as shared library


Ah thanks! I have a github repo:

https://github.com/redbrain/binutils-gdb/tree/libasm

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 <nickc@redhat.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
> processing.
>
> Essentially you will need to provide library routines that emulate what is
> done in gas/as.c:main().
>
> Cheers
>   Nick
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]