aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-08-29 16:42:15 +0000
committerNick Clifton <nickc@redhat.com>2005-08-29 16:42:15 +0000
commitc9adbffeea78575099c20e1d558897975ebd359e (patch)
tree9bbfc97eec60570c16e0f5c0e1e173d1c261d45f /bfd/elfxx-mips.c
parent61e192bf782832eae169c64de3400c6523fa5880 (diff)
downloadgdb-c9adbffeea78575099c20e1d558897975ebd359e.zip
gdb-c9adbffeea78575099c20e1d558897975ebd359e.tar.gz
gdb-c9adbffeea78575099c20e1d558897975ebd359e.tar.bz2
(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
warning message.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 389c2af..28ada82 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -6942,7 +6942,7 @@ _bfd_mips_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
for (rel = relocs; rel < relend; ++rel)
{
const char *name;
- bfd_vma value;
+ bfd_vma value = 0;
reloc_howto_type *howto;
bfd_boolean require_jalx;
/* TRUE if the relocation is a RELA relocation, rather than a