diff options
author | Nick Clifton <nickc@redhat.com> | 2006-03-02 09:38:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-03-02 09:38:57 +0000 |
commit | e970df31ca5085c0c9dfe8fce55ad17f6caef8b4 (patch) | |
tree | 8bced416792ae39d82bffa324c4131b84cbf3b19 /bfd | |
parent | a64ae7e0640900786fcb0d20c2c98372dd12a885 (diff) | |
download | gdb-e970df31ca5085c0c9dfe8fce55ad17f6caef8b4.zip gdb-e970df31ca5085c0c9dfe8fce55ad17f6caef8b4.tar.gz gdb-e970df31ca5085c0c9dfe8fce55ad17f6caef8b4.tar.bz2 |
Initialise 'gap'.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-m32c.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0136341..5f3191c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-m32c.c b/bfd/elf32-m32c.c index 8004795..2295a54 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 |