aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index fb22602..3022deb 100644
--- a/bfd/elf64-x86-64.c
+++ b/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);