This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bfd_perform_relocation() and split fields


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]