diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-05-08 13:37:50 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-05-08 13:39:43 -0700 |
commit | dd9e66ee9549c872fad36a21d521b68b14429f38 (patch) | |
tree | 4c1c7382897f957fbefb2e46301fff084cae18e7 /bfd/elf64-x86-64.c | |
parent | 38b123494b38ae09168387c0502acd1f23c1b601 (diff) | |
download | gdb-dd9e66ee9549c872fad36a21d521b68b14429f38.zip gdb-dd9e66ee9549c872fad36a21d521b68b14429f38.tar.gz gdb-dd9e66ee9549c872fad36a21d521b68b14429f38.tar.bz2 |
Add missing initializer to silence GCC 4.2
Silence GCC 4.2:
elf64-x86-64.c: In function ‘elf_x86_64_get_synthetic_symtab’:
elf64-x86-64.c:6490: warning: missing initializer
elf64-x86-64.c:6490: warning: (near initialization for ‘plts[3].sec’)
* elf32-i386.c (elf_i386_get_synthetic_symtab): Add missing
initializer for GCC 4.2.
* lf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 6d69997..1fbba1b 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -6501,7 +6501,7 @@ elf_x86_64_get_synthetic_symtab (bfd *abfd, { ".plt", NULL, NULL, plt_unknown, 0, 0, 0, 0 }, { ".plt.got", NULL, NULL, plt_non_lazy, 0, 0, 0, 0 }, { ".plt.bnd", NULL, NULL, plt_bnd, 0, 0, 0, 0 }, - { NULL, } + { NULL, NULL, NULL, plt_non_lazy, 0, 0, 0, 0 } }; *ret = NULL; |