From 3255318a047df68f30a4514400fdfbfac114d36d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 Feb 2004 12:15:57 +0000 Subject: Add support for relaxing the 32bit ldc/stc instructions. --- bfd/ChangeLog | 5 +++++ bfd/coff-h8300.c | 4 ++-- bfd/elf32-h8300.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'bfd') 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 + + * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w. + * elf32-h8300.c: Likewise. + 2004-02-09 Christian Vogel Nick Clifton 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. */ -- cgit v1.2.3-65-gdbad