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
commit6411b473f191088dafb03c3ebe958974a0ea7953 (patch)
tree003e87ba1459939f3a129b3f08bb15a40952d6cf /bfd/elf32-mcore.c
parent77f9ff74cdb7619352fd286b90fbd31293a58f2b (diff)
downloadbinutils-redhat-6411b473f191088dafb03c3ebe958974a0ea7953.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 c8e66dfa18..5963a9eff6 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