This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
comment typo fixes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Thu, 12 Dec 2002 20:53:51 +1030
- Subject: comment typo fixes
Applying mainline.
* 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.
Index: bfd/dwarf2.c
===================================================================
RCS file: /cvs/src/src/bfd/dwarf2.c,v
retrieving revision 1.41
diff -u -p -r1.41 dwarf2.c
--- bfd/dwarf2.c 30 Nov 2002 08:39:36 -0000 1.41
+++ bfd/dwarf2.c 12 Dec 2002 09:35:55 -0000
@@ -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
Index: bfd/elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.172
diff -u -p -r1.172 elf.c
--- bfd/elf.c 30 Nov 2002 08:39:37 -0000 1.172
+++ bfd/elf.c 12 Dec 2002 09:35:59 -0000
@@ -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;
}
Index: bfd/elf32-m32r.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-m32r.c,v
retrieving revision 1.30
diff -u -p -r1.30 elf32-m32r.c
--- bfd/elf32-m32r.c 30 Nov 2002 08:39:37 -0000 1.30
+++ bfd/elf32-m32r.c 12 Dec 2002 09:36:05 -0000
@@ -571,7 +571,7 @@ m32r_elf_lo16_reloc (input_bfd, reloc_en
/* 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
/* 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. */
Index: bfd/elf32-ppc.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-ppc.c,v
retrieving revision 1.58
diff -u -p -r1.58 elf32-ppc.c
--- bfd/elf32-ppc.c 3 Dec 2002 18:52:44 -0000 1.58
+++ bfd/elf32-ppc.c 12 Dec 2002 09:36:07 -0000
@@ -958,7 +958,7 @@ ppc_elf_howto_init ()
/* This function handles relaxing for the PPC with option --mpc860c0[=<n>].
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.
Index: bfd/elflink.h
===================================================================
RCS file: /cvs/src/src/bfd/elflink.h,v
retrieving revision 1.200
diff -u -p -r1.200 elflink.h
--- bfd/elflink.h 30 Nov 2002 08:39:39 -0000 1.200
+++ bfd/elflink.h 12 Dec 2002 09:36:15 -0000
@@ -8223,7 +8223,7 @@ elf_reloc_symbol_deleted_p (offset, cook
/* 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)
--
Alan Modra
IBM OzLabs - Linux Technology Centre