This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
h8300-elf-ld --relax, support for MOV instructions with addressing mode "register indirect with displacement"
- From: Michael Schewe <michael dot schewe at gmx dot net>
- To: prafulla dot thakare at kpitcummins dot com, nickc at redhat dot com
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 28 Jan 2013 21:56:33 +0100
- Subject: h8300-elf-ld --relax, support for MOV instructions with addressing mode "register indirect with displacement"
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 ?
Michael