This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
bfd_perform_relocation() and split fields
- To: Eric DeVolder <devolder at evsx dot com>
- Subject: bfd_perform_relocation() and split fields
- From: Doug Evans <dje at transmeta dot com>
- Date: Tue, 16 Nov 1999 16:19:48 -0800 (PST)
- Cc: binutils at sourceware dot cygnus dot com
- References: <3831EF3D.2D22A255@evsx.com>
Eric DeVolder writes:
> I find myself in
> perhaps a rather unique situation in which I need a resolved relocation
> to appear in two non-contiguous fields within an instruction, i.e. the
> most-significant portion of the reloc appears in field A, and the
> least-significant portion of the reloc appears in field B, where other
> bits separate field A from field B.
> [...]
> Anybody else ever had to do this?
I would study how bfd/elf64-sparc.c handles the WDISP16 reloc and
go from there.
grep -i wdisp16 bfd/elf64-sparc.c