aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog9
-rw-r--r--bfd/dwarf2.c2
-rw-r--r--bfd/elf.c2
-rw-r--r--bfd/elf32-m32r.c4
-rw-r--r--bfd/elf32-ppc.c2
-rw-r--r--bfd/elflink.h2
6 files changed, 15 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 89da4f2..463ed25 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,14 @@
2002-12-12 Alan Modra <amodra@bigpond.net.au>
+ * 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 <amodra@bigpond.net.au>
+
* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and
DT_RELSZ adjustment, not output section. Avoid writing tags when
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index bdf7f3f..e7077a1 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 b1128f2..45c7d75 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 8bfe91a..b53f50a 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 7cb4d86..7910601 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[=<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.
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 39deca0..ac3cd11 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)