aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-h8300.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-04-03 06:55:06 +0000
committerJeff Law <law@redhat.com>2000-04-03 06:55:06 +0000
commit4259e8b62b59d93dd3ad279a1f876effa14cf77a (patch)
treee8e635396961a493cbb81a828e652854aa54d28f /bfd/coff-h8300.c
parent62a4b482f964b4fda217cd465f49764044491b3b (diff)
downloadgdb-4259e8b62b59d93dd3ad279a1f876effa14cf77a.zip
gdb-4259e8b62b59d93dd3ad279a1f876effa14cf77a.tar.gz
gdb-4259e8b62b59d93dd3ad279a1f876effa14cf77a.tar.bz2
* coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
the R_PCRWORD_B case.
Diffstat (limited to 'bfd/coff-h8300.c')
-rw-r--r--bfd/coff-h8300.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/coff-h8300.c b/bfd/coff-h8300.c
index 3d54f20..1a4bcdd 100644
--- a/bfd/coff-h8300.c
+++ b/bfd/coff-h8300.c
@@ -901,6 +901,10 @@ h8300_reloc16_extra_cases (abfd, link_info, link_order, reloc, data, src_ptr,
/* Write it. */
bfd_put_8 (abfd, tmp, data + dst_address - 2);
break;
+ case 0x5c:
+ /* bsr:16 -> bsr:8 */
+ bfd_put_8 (abfd, 0x55, data + dst_address - 2);
+ break;
default:
abort ();