summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-02-09 12:15:57 +0000
committerNick Clifton <nickc@redhat.com>2004-02-09 12:15:57 +0000
commit8c8a4ea65f3e896f6f28656ad40a235323223bdd (patch)
treef4e02fee5512559ed0be8b1ed329eec195afc82d /bfd
parent00a45f85a9055e61a63aff6a81edf8cdd3e1e1a0 (diff)
downloadgdb-8c8a4ea65f3e896f6f28656ad40a235323223bdd.tar.gz
Add support for relaxing the 32bit ldc/stc instructions.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-h8300.c4
-rw-r--r--bfd/elf32-h8300.c2
3 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cbd41d03c1c..81c80d3f2b2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-09 Anil Paranjpe <anilp1@KPITCummins.com>
+
+ * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w.
+ * elf32-h8300.c: Likewise.
+
2004-02-09 Christian Vogel <vogelchr@vogel.cx>
Nick Clifton <nickc@redhat.com>
diff --git a/bfd/coff-h8300.c b/bfd/coff-h8300.c
index bd798a64b65..e4d1399e31f 100644
--- a/bfd/coff-h8300.c
+++ b/bfd/coff-h8300.c
@@ -780,8 +780,8 @@ h8300_reloc16_extra_cases (bfd *abfd, struct bfd_link_info *link_info,
instructions:
"band", "bclr", "biand", "bild", "bior", "bist", "bixor",
- "bld", "bnot", "bor", "bset", "bst", "btst", "bxor", and
- "mov.[bwl]"
+ "bld", "bnot", "bor", "bset", "bst", "btst", "bxor", "ldc.w",
+ "stc.w" and "mov.[bwl]"
We may relax this into an 16-bit absolute address if it's in
the right range. */
diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c
index 1a176214f01..547adfaa935 100644
--- a/bfd/elf32-h8300.c
+++ b/bfd/elf32-h8300.c
@@ -1198,7 +1198,7 @@ elf32_h8_relax_section (bfd *abfd, asection *sec,
"band", "bclr", "biand", "bild", "bior", "bist",
"bixor", "bld", "bnot", "bor", "bset", "bst", "btst",
- "bxor", and "mov.[bwl]"
+ "bxor", "ldc.w", "stc.w" and "mov.[bwl]"
We may relax this into an 16-bit absolute address if it's
in the right range. */