summaryrefslogtreecommitdiff
path: root/bfd/elf32-mcore.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-03-01 20:39:07 +0000
committerNick Clifton <nickc@redhat.com>2000-03-01 20:39:07 +0000
commit008b54df77c92e3f9155b75c679d58697d2cd035 (patch)
tree23826576fe5bd852bd8cc088ef9cdef773557f7c /bfd/elf32-mcore.c
parent6b88944a7ac6b7c9115c050dcbed1455641bea34 (diff)
downloadgdb-008b54df77c92e3f9155b75c679d58697d2cd035.tar.gz
Fix building with --enable-targets=all
Diffstat (limited to 'bfd/elf32-mcore.c')
-rw-r--r--bfd/elf32-mcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-mcore.c b/bfd/elf32-mcore.c
index c8e66dfa183..5963a9eff6e 100644
--- a/bfd/elf32-mcore.c
+++ b/bfd/elf32-mcore.c
@@ -454,7 +454,7 @@ mcore_elf_relocate_section (output_bfd, info, input_bfd, input_section,
Elf_Internal_Sym * sym = (Elf_Internal_Sym *) 0;
unsigned long r_symndx;
struct elf_link_hash_entry * h = (struct elf_link_hash_entry *) 0;
- unsigned short oldinst;
+ unsigned short oldinst = 0;
/* Unknown relocation handling */
if ((unsigned) r_type >= (unsigned) R_MCORE_max