From: Nick Clifton Date: Thu, 2 Mar 2006 09:38:57 +0000 (+0000) Subject: Initialise 'gap'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e970df31ca5085c0c9dfe8fce55ad17f6caef8b4;p=binutils-gdb.git Initialise 'gap'. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0136341b57f..5f3191ced2e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2006-03-02 Nick Clifton + + * elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'. + 2006-03-02 Richard Sandiford * elf32-i386.c (elf_i386_create_dynamic_sections): Use diff --git a/bfd/elf32-m32c.c b/bfd/elf32-m32c.c index 8004795e3b1..2295a54613a 100644 --- a/bfd/elf32-m32c.c +++ b/bfd/elf32-m32c.c @@ -1532,6 +1532,7 @@ m32c_elf_relax_section /* Setting gap_size nonzero is the flag which means "something shrunk". */ gap_size = 0; + gap = NULL; new_type = ELF32_R_TYPE(srel->r_info); pc = sec->output_section->vma + sec->output_offset