Initialise 'gap'.

This commit is contained in:
Nick Clifton 2006-03-02 09:38:57 +00:00
parent a64ae7e064
commit e970df31ca
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-03-02 Nick Clifton <nickc@redhat.com>
* elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
2006-03-02 Richard Sandiford <richard@codesourcery.com>
* elf32-i386.c (elf_i386_create_dynamic_sections): Use

View File

@ -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