diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-06-24 14:12:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-06-24 15:02:02 -0700 |
commit | 7cc152be3e6f24f2bdb9740157426dc115cdaa54 (patch) | |
tree | a229111b1a55fb0c552313669521eb5abaff75d3 /bfd/elf64-x86-64.c | |
parent | 32fad71f9e6cdf73fe3c10123b23f42397b83e7d (diff) | |
download | gdb-7cc152be3e6f24f2bdb9740157426dc115cdaa54.zip gdb-7cc152be3e6f24f2bdb9740157426dc115cdaa54.tar.gz gdb-7cc152be3e6f24f2bdb9740157426dc115cdaa54.tar.bz2 |
Silence older GCC warning
* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Silence older
GCC warning.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 3 |
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); |