Open mkfs opened 11 years ago
I have created a library that wraps multiple installed version of binutils: https://github.com/mkfs/binutils_mgr
Integrating this with opdis will take some doing. The binutils_mgr library uses dlopen to load and register the various binutils versions specified by the user. This kinda conflicts with how opdis does things -- opdis was intended to be a front-end to whatever the installed binutils is.
Attempted to add support for a user-specified binutils dir on the command line. Unfortunately, this requires rewriting most of binutils-mgr, so I scrapped it. Requiring binutils-mgr is a possibility, but it will break OS X and Win32 builds (and probably FreeBSD as well), as I only bothered to write the dynamic linking code for Linux.
People using the opdis library can do the following:
Obviously, tools using BFD will have to load the appropriate libbfd shared library, call its bfd_init(), and usr its functions to create a struct bfd* for passing to opdis.
The binutils-mgr project can be used for this. Example forthcoming.
Add ARM support to Opdis.
This will require two enhancements:
Unfortunately, I cannot provide a target date for this. If I can work it in to the current project (deadline: June) I will, otherwise it will have to wait for summer.