From 05f1aca3267e84f9f3fdda3af9bca36fe6f14260 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 16 Jan 2004 23:50:20 +0000 Subject: * coff-h8300.c: Fix comment typos. * elf32-h8300.c: Likewise. --- bfd/elf32-h8300.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bfd/elf32-h8300.c') diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c index e3529726e0..81d1da83e0 100644 --- a/bfd/elf32-h8300.c +++ b/bfd/elf32-h8300.c @@ -348,7 +348,7 @@ elf32_h8_final_link_relocate (unsigned long r_type, bfd *input_bfd, value += addend; /* HIT_DATA is the address for the first byte for the relocated - value. Subtract 1 so that we can manipulate the data in 32bit + value. Subtract 1 so that we can manipulate the data in 32-bit hunks. */ hit_data--; @@ -358,7 +358,7 @@ elf32_h8_final_link_relocate (unsigned long r_type, bfd *input_bfd, /* Retrieve the type byte for value from the section contents. */ value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000); - /* Now scribble it out in one 32bit hunk. */ + /* Now scribble it out in one 32-bit hunk. */ bfd_put_32 (input_bfd, value, hit_data); return bfd_reloc_ok; @@ -808,7 +808,7 @@ elf32_h8_relax_section (bfd *abfd, asection *sec, the linker is run. */ switch (ELF32_R_TYPE (irel->r_info)) { - /* Try to turn a 24 bit absolute branch/call into an 8 bit + /* Try to turn a 24-bit absolute branch/call into an 8-bit pc-relative branch/call. */ case R_H8_DIR24R8: { @@ -941,7 +941,7 @@ elf32_h8_relax_section (bfd *abfd, asection *sec, break; } - /* Try to turn a 16bit pc-relative branch into a 8bit pc-relative + /* Try to turn a 16-bit pc-relative branch into a 8-bit pc-relative branch. */ case R_H8_PCREL16: { @@ -1181,8 +1181,9 @@ elf32_h8_relax_section (bfd *abfd, asection *sec, /* Fall through. */ - /* This is a 24/32bit absolute address in a "mov" insn, which may - become a 16-bit absolute address if it is in the right range. */ + /* This is a 24-/32-bit absolute address in a "mov" insn, + which may become a 16-bit absolute address if it is in the + right range. */ case R_H8_DIR32A16: { bfd_vma value; -- cgit v1.2.1