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]

Assembler as shared library


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


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