This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

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


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



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