bfd_perform_relocation() and split fields

Doug Evans dje@transmeta.com
Tue Nov 16 16:19:00 GMT 1999


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


More information about the Binutils mailing list