This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: strange relocation enties (scattered data)
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: "Jan Hoogerbrugge" <hoogerbrugge at hotmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 21 Dec 2001 15:45:51 +0000
- Subject: Re: strange relocation enties (scattered data)
- References: <F64mCvoXM7e0C9guA8M0000c110@hotmail.com>
Hi Jan,
> I am porting binutils to an architecture where 32-bit absolute
> addresses are not stored in 32 consecutive bits in instruction
> memory but in 6 groups of a few bits.
Now that is a strange architecture.
> The distance between the bit groups varies per instruction. My
> question is how to relocate these addresses. I think that I need to
> add parameters to the relocation entries that describe how the 32
> bits are scattered in memory.
Or better yet make use of the 'special_function' field to provide your
own routines to handle the relocs for these instructions,
> Is this possible with BFD_ASSEMBLER?
Yes.
Cheers
Nick