aboutsummaryrefslogtreecommitdiff
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
commit86033394008aa009b3382199efa24b0cfa749862 (patch)
treed69205614c88f833cf46f7f09efe75b8e65ada6f /bfd/elf32-mcore.c
parent30e28a0e4beb1fae729bf1fd8dcce9074e154b3c (diff)
downloadfsf-binutils-gdb-86033394008aa009b3382199efa24b0cfa749862.zip
fsf-binutils-gdb-86033394008aa009b3382199efa24b0cfa749862.tar.gz
fsf-binutils-gdb-86033394008aa009b3382199efa24b0cfa749862.tar.bz2
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 c8e66df..5963a9e 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