Assembler as shared library
Philip Herron
redbrain@gcc.gnu.org
Fri Feb 14 14:09:00 GMT 2014
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
More information about the Binutils
mailing list