summaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-06-10 05:21:00 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-06-10 05:21:00 +0000
commit8316293c8f71494a9096e4d984a861efa3983e3e (patch)
tree30c43a24187d7845e0ac452faed624c678d68e2e /bfd/elflink.h
parenta8262b058cf8652655edc5e784ec8fc1b7261fb0 (diff)
downloadgdb-8316293c8f71494a9096e4d984a861efa3983e3e.tar.gz
* 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 db1c59375ff..e1dee8debe6 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));