[RFC] Additional V850 relocations
Momchil Velikov
velco@fadata.bg
Thu Jul 18 08:52:00 GMT 2002
Hi there,
I'm trying to get the V850 assembler/linker to correctly process insns
like these:
movhi hi(foo), r0, r10
ld.bu lo(foo)[r10], r10
For the second insn I need a relocation containing the low 16 bits of
an address, placed non-contiguously. The rellocation should not check
for overflow.
So, I've invented a new reloc R_V850_LO16_SPLIT, and came to the
following patch, which seems to work fine so far.
Is this the right way to go ?
~velco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 5094 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020718/34b8c1a5/attachment.bin>
More information about the Binutils
mailing list