aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-06-10 05:21:00 +0000
committerAlan Modra <amodra@gmail.com>2001-06-10 05:21:00 +0000
commit4e8a9624b8e07c195b8bd0f93b607ced5c11beb7 (patch)
treee82d3296fa22d4920773e409d6996e3d03e293df /bfd/elflink.h
parentc42644305ed1f9f3033efbf42a977e9e9099d7b0 (diff)
downloadfsf-binutils-gdb-4e8a9624b8e07c195b8bd0f93b607ced5c11beb7.zip
fsf-binutils-gdb-4e8a9624b8e07c195b8bd0f93b607ced5c11beb7.tar.gz
fsf-binutils-gdb-4e8a9624b8e07c195b8bd0f93b607ced5c11beb7.tar.bz2
* elflink.h: Whitespace changes.
(elf_link_read_relocs_from_section): Use "unsigned int" iterator rather than "unsigned char". (elf_link_output_relocs): Likewise. (elf_link_input_bfd): Likewise. (elf_reloc_link_order): LIkewise. * elf.c: s/CONST/const/. Whitespace changes. * elf32-mips.c: Formatting fix. * Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h. * Makefile.in: Regenerate. * po/Make-in: Remove trailing tab.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index db1c593..e1dee8d 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -121,7 +121,7 @@ is_global_data_symbol_definition (abfd, sym)
}
/* Search the symbol table of the archive element of the archive ABFD
- whoes archive map contains a mention of SYMDEF, and determine if
+ whose archive map contains a mention of SYMDEF, and determine if
the symbol is defined in this element. */
static boolean
elf_link_is_defined_archive_symbol (abfd, symdef)
@@ -2471,7 +2471,7 @@ elf_link_read_relocs_from_section (abfd, shdr, external_relocs,
* sizeof (Elf_Internal_Rel)));
for (; erel < erelend; erel++, irela += bed->s->int_rels_per_ext_rel)
{
- unsigned char i;
+ unsigned int i;
if (bed->s->swap_reloc_in)
(*bed->s->swap_reloc_in) (abfd, (bfd_byte *) erel, irel);
@@ -5484,7 +5484,7 @@ elf_link_output_relocs (output_bfd, input_section, input_rel_hdr,
erel = ((Elf_External_Rel *) output_rel_hdr->contents + *rel_countp);
for (; irela < irelaend; irela += bed->s->int_rels_per_ext_rel, erel++)
{
- unsigned char i;
+ unsigned int i;
for (i = 0; i < bed->s->int_rels_per_ext_rel; i++)
{
@@ -5840,7 +5840,7 @@ elf_link_input_bfd (finfo, input_bfd)
Elf_Internal_Rela *irelaend;
struct elf_link_hash_entry **rel_hash;
Elf_Internal_Shdr *input_rel_hdr;
- unsigned char next_erel;
+ unsigned int next_erel;
/* Adjust the reloc addresses and symbol indices. */
@@ -6162,7 +6162,7 @@ elf_reloc_link_order (output_bfd, info, output_section, link_order)
{
Elf_Internal_Rel *irel;
Elf_External_Rel *erel;
- unsigned char i;
+ unsigned int i;
irel = (Elf_Internal_Rel *) bfd_zmalloc (bed->s->int_rels_per_ext_rel
* sizeof (Elf_Internal_Rel));
@@ -6187,7 +6187,7 @@ elf_reloc_link_order (output_bfd, info, output_section, link_order)
{
Elf_Internal_Rela *irela;
Elf_External_Rela *erela;
- unsigned char i;
+ unsigned int i;
irela = (Elf_Internal_Rela *) bfd_zmalloc (bed->s->int_rels_per_ext_rel
* sizeof (Elf_Internal_Rela));