Silence older GCC warning

* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
	GCC warning.
This commit is contained in:
H.J. Lu 2015-06-24 14:12:15 -07:00
parent 32fad71f9e
commit 7cc152be3e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
GCC warning.
2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_allocate_dynrelocs): Always allocate

View File

@ -2972,6 +2972,9 @@ elf_x86_64_convert_mov_to_lea (bfd *abfd, asection *sec,
{
Elf_Internal_Sym *isym;
/* Silence older GCC warning. */
h = NULL;
isym = bfd_sym_from_r_symndx (&htab->sym_cache,
abfd, r_symndx);