* elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
authorAlan Modra <amodra@gmail.com>
Thu, 1 Mar 2012 01:55:11 +0000 (01:55 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 1 Mar 2012 01:55:11 +0000 (01:55 +0000)
bfd/ChangeLog
bfd/elfxx-tilegx.c

index 93eb6fb9bb619fbc01371c5c8bbec60a9db1914e..019a05aee0a4aaf0681c7c5e6fff5fecefddbee7 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-01  Alan Modra  <amodra@gmail.com>
+
+       * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
+
 2012-02-27  Alan Modra  <amodra@gmail.com>
 
        * elf32-sh.c (sh_elf_osec_to_segment): Check for elf flavour bfd
index 27e5179db433fd2b541420153e1de646a7d6564f..c7fd60422c25926670b8acdf7201d40d2087d6e0 100644 (file)
@@ -3230,7 +3230,7 @@ tilegx_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
              int dest_begin = is_pipe0 ? 0 : 31;
              int src_begin;
              const bfd_byte *insn;
-             const bfd_byte *mask;
+             const bfd_byte *mask = NULL;
 
              if (is_tls_le)
                {