summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-03-01 01:55:11 +0000
committerAlan Modra <amodra@gmail.com>2012-03-01 01:55:11 +0000
commit84abc003c24331f743854192587d4aeb801b75bf (patch)
treeb1eb7f9aaa5147ca6eb0c2d26371142bb1d5b2d8 /bfd
parentde8e3c00854ec418c5eef06dd79fd82aa78fcc4a (diff)
downloadbinutils-gdb-84abc003c24331f743854192587d4aeb801b75bf.tar.gz
* elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elfxx-tilegx.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 93eb6fb9bb6..019a05aee0a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elfxx-tilegx.c b/bfd/elfxx-tilegx.c
index 27e5179db43..c7fd60422c2 100644
--- a/bfd/elfxx-tilegx.c
+++ b/bfd/elfxx-tilegx.c
@@ -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)
{