diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 75dd8444b4..78d5e8dd4d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,15 @@ +2002-12-20 Kazu Hirata + + * coff-h8300.c: Fix comment typos. + * coffcode.h: Likewise. + * cpu-cris.c: Likewise. + * elf32-vax.c: Likewise. + * genlink.h: Likewise. + * linker.c: Likewise. + * som.c: Likewise. + * tekhex.c: Likewise. + * vms-misc.c: Likewise. + 2002-12-20 DJ Delorie * reloc.c: Add BFD_RELOC_XSTORMY16_12. diff --git a/bfd/coff-h8300.c b/bfd/coff-h8300.c index 5429076814..e21c5b5484 100644 --- a/bfd/coff-h8300.c +++ b/bfd/coff-h8300.c @@ -186,7 +186,7 @@ funcvec_hash_table_init (table, abfd, newfunc) } /* Create the derived linker hash table. We use a derived hash table - basically to hold "static" information during an h8/300 coff link + basically to hold "static" information during an H8/300 coff link without using static variables. */ static struct bfd_link_hash_table * diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 1b6ef0be20..36ae1a9807 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -3095,7 +3095,7 @@ coff_compute_section_file_positions (abfd) #ifdef RS6000COFF_C /* AIX loader checks the text section alignment of (vma - filepos) So even though the filepos may be aligned wrt the o_algntext, for - AIX executables, this check fails. This shows up when an native + AIX executables, this check fails. This shows up when a native AIX executable is stripped with gnu strip because the default vma of native is 0x10000150 but default for gnu is 0x10000140. Gnu stripped gnu excutable passes this check because the filepos is diff --git a/bfd/cpu-cris.c b/bfd/cpu-cris.c index e9f68abfcf..9e60ff062f 100644 --- a/bfd/cpu-cris.c +++ b/bfd/cpu-cris.c @@ -43,7 +43,7 @@ bfd_cris_arch = bfd_default_compatible, /* A default function for testing "machine" compatibility of two bfd_arch_info_type. */ - bfd_default_scan, /* Check if an bfd_arch_info_type is a + bfd_default_scan, /* Check if a bfd_arch_info_type is a match. */ NULL /* Pointer to next bfd_arch_info_type in the same family. */ diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index 20716fab52..a9e8b0b37e 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -783,7 +783,7 @@ elf_vax_check_relocs (abfd, info, sec, relocs) PC relative relocations we have entered for this symbol, so that we can discard them again if the symbol is later defined by a regular object. Note that this function is - only called if we are using an vaxelf linker hash table, + only called if we are using a vaxelf linker hash table, which means that h is really a pointer to an elf_vax_link_hash_entry. */ if ((ELF32_R_TYPE (rel->r_info) == R_VAX_PC8 diff --git a/bfd/genlink.h b/bfd/genlink.h index b6a9086b06..bcdc34b156 100644 --- a/bfd/genlink.h +++ b/bfd/genlink.h @@ -54,13 +54,13 @@ struct generic_link_hash_table struct bfd_link_hash_table root; }; -/* Look up an entry in an generic link hash table. */ +/* Look up an entry in a generic link hash table. */ #define _bfd_generic_link_hash_lookup(table, string, create, copy, follow) \ ((struct generic_link_hash_entry *) \ bfd_link_hash_lookup (&(table)->root, (string), (create), (copy), (follow))) -/* Traverse an generic link hash table. */ +/* Traverse a generic link hash table. */ #define _bfd_generic_link_hash_traverse(table, func, info) \ (bfd_link_hash_traverse \ diff --git a/bfd/linker.c b/bfd/linker.c index 7c097dc72f..918f4f8fd8 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -636,7 +636,7 @@ bfd_link_add_undef (table, h) table->undefs_tail = h; } -/* Routine to create an entry in an generic link hash table. */ +/* Routine to create an entry in a generic link hash table. */ struct bfd_hash_entry * _bfd_generic_link_hash_newfunc (entry, table, string) @@ -669,7 +669,7 @@ _bfd_generic_link_hash_newfunc (entry, table, string) return entry; } -/* Create an generic link hash table. */ +/* Create a generic link hash table. */ struct bfd_link_hash_table * _bfd_generic_link_hash_table_create (abfd) diff --git a/bfd/som.c b/bfd/som.c index 0bf44d8e8d..c6486c4116 100644 --- a/bfd/som.c +++ b/bfd/som.c @@ -5303,7 +5303,7 @@ bfd_som_attach_aux_hdr (abfd, type, string) return TRUE; } -/* Attach an compilation unit header to the BFD backend so that it may be +/* Attach a compilation unit header to the BFD backend so that it may be written into the object file. */ bfd_boolean diff --git a/bfd/tekhex.c b/bfd/tekhex.c index 033dce0cc2..77b471a2d7 100644 --- a/bfd/tekhex.c +++ b/bfd/tekhex.c @@ -471,7 +471,7 @@ first_phase (abfd, type, src) } } -/* Pass over an tekhex, calling one of the above functions on each +/* Pass over a tekhex, calling one of the above functions on each record. */ static void diff --git a/bfd/vms-misc.c b/bfd/vms-misc.c index de76fe5b61..86b84d7410 100644 --- a/bfd/vms-misc.c +++ b/bfd/vms-misc.c @@ -605,8 +605,8 @@ add_new_contents (abfd, section) return newptr; } -/* Save section data & offset to an vms_section structure - vms_section_table[] holds the vms_section chain */ +/* Save section data & offset to a vms_section structure + vms_section_table[] holds the vms_section chain. */ bfd_boolean _bfd_save_vms_section (abfd, section, data, offset, count)