|Object File Extractions email@example.com (1995-07-20)|
|Re: Object File Extractions firstname.lastname@example.org (1995-07-28)|
|From:||email@example.com (Christopher Traynor)|
|Keywords:||linker, question, comment|
|Organization:||NETCOM On-line Communication Services (408 261-4700 guest)|
|Date:||Thu, 20 Jul 1995 15:55:42 GMT|
I've been looking at the BFD library in order to get an idea
how difficult it would be to extract a function or symbol from
an object file and write it out to another (new) object file.
Does anyone have any information that they can point me towards
so that I can get a handle on doing this? I read all the docs
and some of the code to be able to iterate over the symbols, but
I'm having trouble writing out the new object file when I want
to pull out an arbitrary function.
Also, if anyone knows of a source of good information on the
relocation entries, please pass that along too.
Thanks in advance...
[It'd be a pain. Don't forget you have to copy all of the external refs from
thecode you extract, too. -John]
Return to the
Search the comp.compilers archives again.