ld.info: H8/300
Go forward to i960
Go up to Machine Dependent
Go to the top op ld
`ld' and the H8/300
For the H8/300, `ld' can perform these global optimizations when you
specify the `--relax' command-line option.
_relaxing address modes_
`ld' finds all `jsr' and `jmp' instructions whose targets are
within eight bits, and turns them into eight-bit program-counter
relative `bsr' and `bra' instructions, respectively.
_synthesizing instructions_
`ld' finds all `mov.b' instructions which use the sixteen-bit
absolute address form, but refer to the top page of memory, and
changes them to use the eight-bit address form. (That is: the
linker turns `mov.b `@'AA:16' into `mov.b `@'AA:8' whenever the
address AA is in the top page of memory).
Created Wed Sep 1 16:42:38 2004 on bee with info_to_html version 0.9.6.