h8300-elf-ld --relax, support for MOV instructions with addressing mode "register indirect with displacement"

nick clifton nickc@redhat.com
Tue Jan 29 09:04:00 GMT 2013


Hi Michael,

> The H8300 linker currently only relaxes MOV instructions with addressing
> modes "absolute address".
> MOV instructions with addressing mode "register indirect with
> displacement" can also be relaxed from 24/32bit displacement to 16 bit
> displacement.
> GCC often emits these instructions for switch encoding, table, array or
> struct accesses etc.
> I would like to add support for these and some testcases too. Is this OK ?

Certainly.  Please post any patches you create to the binutils mailing 
list for review.

Cheers
   Nick




More information about the Binutils mailing list