[2/4, committed] Relocations for Nios II R2

Sandra Loosemore sandra@codesourcery.com
Thu Jul 2 00:03:00 GMT 2015


This patch adds support for Nios II R2 relocations.  A couple points to
note here:

(1) The R2 re-encodings of the R1 instruction set use the same
relocation names and numbers as R1 for instruction fields that retain 
the same size and semantics, but interpreted against the R2 encodings
with the new bit locations of the corresponding instruction fields.  We
implemented this using separate howto arrays for R1 and R2.

(2) The gap in the numbering between the common R1/R2 relocations and
R2-only relocations is deliberate, in case there is some need to add
more common relocations in the future.

Altera will be documenting the new R2 relocations when they publish the
revised ABI specification.

-Sandra

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-nios2r2-2.log
Type: text/x-log
Size: 1790 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150702/58e20667/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-nios2r2-2.patch
Type: text/x-patch
Size: 23685 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150702/58e20667/attachment-0001.bin>


More information about the Binutils mailing list