Browse Source

Silence older GCC warning

* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
	GCC warning.
gdb-7.10-branch
H.J. Lu 11 years ago
parent
commit
7cc152be3e
  1. 5
      bfd/ChangeLog
  2. 3
      bfd/elf64-x86-64.c

5
bfd/ChangeLog

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

3
bfd/elf64-x86-64.c

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

Loading…
Cancel
Save