diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-05-07 09:15:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-05-07 09:15:26 +0000 |
commit | 1bc058df292de96ee85fe6b9d3ad08fa40e21461 (patch) | |
tree | 2890153fda3a332a4f592e79edcb24207309507f /bfd/elflink.c | |
parent | e3d2abc99b6341e2bcebe6fe80f9b7c177b27157 (diff) | |
download | binutils-redhat-1bc058df292de96ee85fe6b9d3ad08fa40e21461.tar.gz |
* ecoff.c (bfd_debug_section): Fix initialization.
* elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
is always a positive integer. Cast away sign mismatch.
* elf32-mips.c: Fix misleading comment and typo.
(_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use
correct data type.
* elflink.c: Fix typo.
(_bfd_elf_create_dynamic_sections): Remove superfluous initialization.
* ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 9b6a708363..b971311d15 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -108,7 +108,7 @@ _bfd_elf_create_dynamic_sections (abfd, info) flagword flags, pltflags; register asection *s; struct elf_backend_data *bed = get_elf_backend_data (abfd); - int ptralign = 0; + int ptralign; switch (bed->s->arch_size) { @@ -333,7 +333,7 @@ elf_link_renumber_hash_table_dynsyms (h, data) return true; } -/* Assign dynsym indicies. In a shared library we generate a section +/* Assign dynsym indices. In a shared library we generate a section symbol for each output section, which come first. Next come all of the back-end allocated local dynamic syms, followed by the rest of the global symbols. */ |