diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-21 10:47:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-21 10:47:13 +0000 |
commit | a2818c5b2cdef94b598b063384290c080a821452 (patch) | |
tree | 9898fc997d9b3d9ab8bd0c440aee258fa0b9fdcf /ld | |
parent | 3a407787fa18bfc7eab7defb5632376cfcf6192c (diff) | |
download | binutils-redhat-a2818c5b2cdef94b598b063384290c080a821452.tar.gz |
Add more documentation about h8300 relaxation.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/ld.texinfo | 17 |
2 files changed, 23 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ebb10b5130..7a5e139338 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> + + * ld.texinfo (synthesizing on H8/300): Information about linker + relaxation support for bit manipulation instructions and system + control instructions is added. + 2004-04-21 Hans-Peter Nilsson <hp@axis.com> * NEWS: Mention change in DEFINED semantics. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 28dcf2e06a..0ba3af244e 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -4655,6 +4655,23 @@ page of memory, and changes them to use the eight-bit address form. (That is: the linker turns @samp{mov.b @code{@@}@var{aa}:16} into @samp{mov.b @code{@@}@var{aa}:8} whenever the address @var{aa} is in the top page of memory). + +@item bit manipulation instructions +@command{ld} finds all bit manipulation instructions like @code{band, bclr, +biand, bild, bior, bist, bixor, bld, bnot, bor, bset, bst, btst, bxor} +which use 32 bit and 16 bit absolute address form, but refer to the top +page of memory, and changes them to use the 8 bit address form. +(That is: the linker turns @samp{bset #xx:3,@code{@@}@var{aa}:32} into +@samp{bset #xx:3,@code{@@}@var{aa}:8} whenever the address @var{aa} is in +the top page of memory). + +@item system control instructions +@command{ld} finds all @code{ldc.w, stc.w} instrcutions which use the +32 bit absolute address form, but refer to the top page of memory, and +changes them to use 16 bit address form. +(That is: the linker turns @samp{ldc.w @code{@@}@var{aa}:32,ccr} into +@samp{ldc.w @code{@@}@var{aa}:16,ccr} whenever the address @var{aa} is in +the top page of memory). @end table @ifclear GENERIC |