--- insight+dejagnu-20030830/bfd/coff-h8300.org.c 2003-07-11 20:29:40.000000000 +0530 +++ insight+dejagnu-20030830/bfd/coff-h8300.c 2003-09-01 14:33:52.000000000 +0530 @@ -154,7 +154,9 @@ funcvec_hash_newfunc (struct bfd_hash_en /* Bump the offset at which we store entries in the function vector. We'd like to bump up the size of the vectors section, but it's not easily available here. */ - if (bfd_get_mach (table->abfd) == bfd_mach_h8300) + if (bfd_get_mach (table->abfd) == bfd_mach_h8300 + || bfd_get_mach (table->abfd) == bfd_mach_h8300hn + || bfd_get_mach (table->abfd) == bfd_mach_h8300sn) table->offset += 2; else if (bfd_get_mach (table->abfd) == bfd_mach_h8300h || bfd_get_mach (table->abfd) == bfd_mach_h8300s) @@ -1124,7 +1126,9 @@ h8300_reloc16_extra_cases (bfd *abfd, st src_address++; /* Now create an entry in the function vector itself. */ - if (bfd_get_mach (input_section->owner) == bfd_mach_h8300) + if (bfd_get_mach (input_section->owner) == bfd_mach_h8300 + || bfd_get_mach (input_section->owner) == bfd_mach_h8300hn + || bfd_get_mach (input_section->owner) == bfd_mach_h8300sn) bfd_put_16 (abfd, bfd_coff_reloc16_get_value (reloc, link_info, @@ -1304,7 +1308,9 @@ h8300_bfd_link_add_symbols (bfd *abfd, s /* Bump the size of the vectors section. Each vector takes 2 bytes on the h8300 and 4 bytes on the h8300h. */ - if (bfd_get_mach (abfd) == bfd_mach_h8300) + if (bfd_get_mach (abfd) == bfd_mach_h8300 + || bfd_get_mach (abfd) == bfd_mach_h8300hn + || bfd_get_mach (abfd) == bfd_mach_h8300sn) htab->vectors_sec->_raw_size += 2; else if (bfd_get_mach (abfd) == bfd_mach_h8300h || bfd_get_mach (abfd) == bfd_mach_h8300s)