diff options
author | Nick Clifton <nickc@redhat.com> | 2004-02-09 12:15:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-02-09 12:15:57 +0000 |
commit | 3255318a047df68f30a4514400fdfbfac114d36d (patch) | |
tree | c0a41f5082a27203f2aa357d95d6c4e6919cd5fa /bfd | |
parent | a8a3b3b21c1b0195b059191a55cc8c8a7703d858 (diff) | |
download | gdb-3255318a047df68f30a4514400fdfbfac114d36d.zip gdb-3255318a047df68f30a4514400fdfbfac114d36d.tar.gz gdb-3255318a047df68f30a4514400fdfbfac114d36d.tar.bz2 |
Add support for relaxing the 32bit ldc/stc instructions.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coff-h8300.c | 4 | ||||
-rw-r--r-- | bfd/elf32-h8300.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cbd41d0..81c80d3 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 bd798a6..e4d1399 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 1a17621..547adfa 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. */ |