This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [BFD] bfd_perform_relocation usage
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Stefan Beyer <beyer at cs dot man dot ac dot uk>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 19 Mar 2003 21:32:47 -0500
- Subject: Re: [BFD] bfd_perform_relocation usage
- References: <Pine.LNX.4.44.0303191743440.17877-100000@rpc05.cs.man.ac.uk>
On Wed, Mar 19, 2003 at 06:01:38PM +0000, Stefan Beyer wrote:
> Hello all!
>
> I checked the relevant archives and docs for this, but I cannot find
> anything:
>
> How exactly am I to use bfd_perform_relocation? I am having problems in
> figuring out what the arguments mean and what has to be done before
> calling it.
> I am trying to load an object file (.o) dynamically.
> (what DLD used to do for a.out, but for ELF)
> I have done this by hand for Intel, but need to port it to ARM and thought
> I should figure out BFD to make things easier.
This isn't an answer to your question, but I strongly, strongly suggest
that you link to a shared object (.so) before loading.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer