Node:H8/300, Next:i960, Up:Machine Dependent
ldand the H8/300
For the H8/300,
ld can perform these global optimizations when
you specify the
--relax command-line option.
jmpinstructions whose targets are within eight bits, and turns them into eight-bit program-counter relative
mov.binstructions 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.bwhenever the address aa is in the top page of memory).