aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-04-21 10:47:13 +0000
committerNick Clifton <nickc@redhat.com>2004-04-21 10:47:13 +0000
commit1502569cf9f47a0ce3357bff5379223fc5f43564 (patch)
tree721992e85c326e865791fd8c3d84fea86662b885 /ld/ld.texinfo
parentc894ddfb903ab4767962c4a1902efaac1b67dc33 (diff)
downloadgdb-1502569cf9f47a0ce3357bff5379223fc5f43564.zip
gdb-1502569cf9f47a0ce3357bff5379223fc5f43564.tar.gz
gdb-1502569cf9f47a0ce3357bff5379223fc5f43564.tar.bz2
Add more documentation about h8300 relaxation.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 28dcf2e..0ba3af2 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