This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
H8300S ld Relax
- To: binutils at sourceware dot cygnus dot com
- Subject: H8300S ld Relax
- From: Paul Clarke <paulc at senet dot com dot au>
- Date: Wed, 01 Mar 2000 07:44:55 +0000
I am using a recent binutils cvs source to make a linker for the H8300
family.
In particular the H8S family (HS82144 device). After adding the relax
option
to the linker script I noticed that bit operations were being relaxed
from 32
bits to 16bit addresses. But the addresses could be relaxed to 8 bit
mode.
A dig into the bfd sources shows that there is 32->16->8 relax mode for
move instructions but I could not determine which of the other relax
howto's
apply for the bit op case.
If anyone is familar with the h8300 bfd code would they mind either
adding
an 8 bit operation relax and/or throwing some more comments around the
code so that myself and others can follow whats going on. There seem to
be plenty of comments in the coff-h8300 about the following function
contains position references to the howto struct this must change, so I
guess that
the h8300 port is not regarded as a good reference design. What other
target(s)
would provide a better foundation for understanding relaxing or a
starting
point for a new h8300 relax function.
Thanks in advance
Paul