diff options
author | Alan Modra <amodra@gmail.com> | 2002-12-12 10:26:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-12-12 10:26:01 +0000 |
commit | ab3acfbe8d9b5c7eab7a3701ca9a0c23ae07acb0 (patch) | |
tree | d8c2ea5df3af09bdf679fe6647d5039e0597fc27 /bfd | |
parent | 6348e046b7477703914eafb99866a269c186c496 (diff) | |
download | gdb-ab3acfbe8d9b5c7eab7a3701ca9a0c23ae07acb0.zip gdb-ab3acfbe8d9b5c7eab7a3701ca9a0c23ae07acb0.tar.gz gdb-ab3acfbe8d9b5c7eab7a3701ca9a0c23ae07acb0.tar.bz2 |
Comment typo fixes.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/dwarf2.c | 2 | ||||
-rw-r--r-- | bfd/elf.c | 2 | ||||
-rw-r--r-- | bfd/elf32-m32r.c | 4 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 2 | ||||
-rw-r--r-- | bfd/elflink.h | 2 |
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 @@ -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) |