aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-17 09:44:19 +0000
committerAlan Modra <amodra@gmail.com>2001-08-17 09:44:19 +0000
commit5d964dfa3eeb841f9df66cf73e0b26a21edfa7fa (patch)
tree235f34c7d0d19bfe4a321960d6b7fab4cd361948
parent5e5728498608c34b5553bd84beeff56fd97e5705 (diff)
downloadgdb-5d964dfa3eeb841f9df66cf73e0b26a21edfa7fa.zip
gdb-5d964dfa3eeb841f9df66cf73e0b26a21edfa7fa.tar.gz
gdb-5d964dfa3eeb841f9df66cf73e0b26a21edfa7fa.tar.bz2
* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
prototype. * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-sparc.c3
-rw-r--r--bfd/nlm32-alpha.c2
3 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6f150a4..93d76d8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2001-08-17 Alan Modra <amodra@bigpond.net.au>
+ * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
+ prototype.
+ * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
+
* elf64-mips.c (UNUSED_RELOC): Define.
(mips_elf64_howto_table_rel): Use it.
(mips_elf64_howto_table_rela): Here too.
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 77e8861..c4248f7 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -63,6 +63,9 @@ static int sparc64_elf_get_symbol_type
static boolean sparc64_elf_add_symbol_hook
PARAMS ((bfd *, struct bfd_link_info *, const Elf_Internal_Sym *,
const char **, flagword *, asection **, bfd_vma *));
+static boolean sparc64_elf_output_arch_syms
+ PARAMS ((bfd *, struct bfd_link_info *, PTR,
+ boolean (*) (PTR, const char *, Elf_Internal_Sym *, asection *)));
static void sparc64_elf_symbol_processing
PARAMS ((bfd *, asymbol *));
diff --git a/bfd/nlm32-alpha.c b/bfd/nlm32-alpha.c
index 8bd872d..2684ffb 100644
--- a/bfd/nlm32-alpha.c
+++ b/bfd/nlm32-alpha.c
@@ -822,7 +822,7 @@ nlm_alpha_write_external (abfd, count, sym, relocs)
asymbol *sym;
struct reloc_and_sec *relocs;
{
- int i;
+ bfd_size_type i;
bfd_byte len;
unsigned char temp[NLM_TARGET_LONG_SIZE];
arelent r;