From: Alan Modra Date: Thu, 12 Dec 2002 10:26:01 +0000 (+0000) Subject: Comment typo fixes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab3acfbe8d9b5c7eab7a3701ca9a0c23ae07acb0;p=binutils-gdb.git Comment typo fixes. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 89da4f21d9f..463ed25cfd5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2002-12-12 Alan Modra + + * dwarf2.c (comp_unit_contains_address): Comment typo fix. + * elf.c (get_program_header_size): Likewise. + * elf32-m32r.c (m32r_elf_lo16_reloc): Likewise. + (m32r_elf_generic_reloc): Likewise. + * elf32-ppc.c (ppc_elf_howto_init): Likewise. + * elflink.h (elf_bfd_discard_info): Likewise. + 2002-12-12 Alan Modra * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index bdf7f3f230c..e7077a1b4c4 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1756,7 +1756,7 @@ comp_unit_contains_address (unit, addr) FUNCTIONNAME_PTR, and LINENUMBER_PTR, are pointers to the objects to be filled in. - Return TRUE of UNIT contains ADDR, and no errors were encountered; + Return TRUE if UNIT contains ADDR, and no errors were encountered; FALSE otherwise. */ static bfd_boolean diff --git a/bfd/elf.c b/bfd/elf.c index b1128f243a8..45c7d753cb3 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -4051,7 +4051,7 @@ get_program_header_size (abfd) { /* If we have a loadable interpreter section, we need a PT_INTERP segment. In this case, assume we also need a - PT_PHDR segment, although that may not be TRUE for all + PT_PHDR segment, although that may not be true for all targets. */ segs += 2; } diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index 8bfe91a1f76..b53f50a89af 100644 --- a/bfd/elf32-m32r.c +++ b/bfd/elf32-m32r.c @@ -571,7 +571,7 @@ m32r_elf_lo16_reloc (input_bfd, reloc_entry, symbol, data, /* Now do the LO16 reloc in the usual way. ??? It would be nice to call bfd_elf_generic_reloc here, - but we have partial_inplace == TRUE. bfd_elf_generic_reloc will + but we have partial_inplace set. bfd_elf_generic_reloc will pass the handling back to bfd_install_relocation which will install a section relative addend which is wrong. */ return m32r_elf_generic_reloc (input_bfd, reloc_entry, symbol, data, @@ -609,7 +609,7 @@ m32r_elf_generic_reloc (input_bfd, reloc_entry, symbol, data, /* Now do the reloc in the usual way. ??? It would be nice to call bfd_elf_generic_reloc here, - but we have partial_inplace == TRUE. bfd_elf_generic_reloc will + but we have partial_inplace set. bfd_elf_generic_reloc will pass the handling back to bfd_install_relocation which will install a section relative addend which is wrong. */ diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 7cb4d86312b..791060168fb 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -958,7 +958,7 @@ ppc_elf_howto_init () /* This function handles relaxing for the PPC with option --mpc860c0[=]. The MPC860, revision C0 or earlier contains a bug in the die. - If all of the following conditions are TRUE, the next instruction + If all of the following conditions are true, the next instruction to be executed *may* be treated as a no-op. 1/ A forward branch is executed. 2/ The branch is predicted as not taken. diff --git a/bfd/elflink.h b/bfd/elflink.h index 39deca0c2f2..ac3cd111e58 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -8223,7 +8223,7 @@ elf_reloc_symbol_deleted_p (offset, cookie) /* Discard unneeded references to discarded sections. Returns TRUE if any section's size was changed. */ /* This function assumes that the relocations are in sorted order, - which is TRUE for all known assemblers. */ + which is true for all known assemblers. */ bfd_boolean elf_bfd_discard_info (output_bfd, info)