diff options
author | Alan Modra <amodra@gmail.com> | 2001-05-07 09:15:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-05-07 09:15:26 +0000 |
commit | 062e23589d2fdda4a6de3e540150a8df23671a36 (patch) | |
tree | 7f1c1ed8b3e518ce8e109e134af7d55f9b3cab6f /bfd/elflink.c | |
parent | ff88f59d5a07b674c669c08b64d047e501192b0c (diff) | |
download | gdb-062e23589d2fdda4a6de3e540150a8df23671a36.zip gdb-062e23589d2fdda4a6de3e540150a8df23671a36.tar.gz gdb-062e23589d2fdda4a6de3e540150a8df23671a36.tar.bz2 |
* 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 9b6a708..b971311 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. */ |