diff options
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 2 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ae7f91e7c34..5205548a236 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2017-05-08 H.J. Lu <hongjiu.lu@intel.com> + * elf32-i386.c (elf_i386_get_synthetic_symtab): Add missing + initializer to silence GCC 4.2. + * lf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise. + +2017-05-08 H.J. Lu <hongjiu.lu@intel.com> + * elf64-x86-64.c (PLT_ENTRY_SIZE): Renamed to ... (LAZY_PLT_ENTRY_SIZE): This. (NON_LAZY_PLT_ENTRY_SIZE): New. diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 0707b5a39c1..227cd25fb41 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -6053,7 +6053,7 @@ elf_i386_get_synthetic_symtab (bfd *abfd, { { ".plt", NULL, NULL, plt_unknown, 0, 0, 0 }, { ".plt.got", NULL, NULL, plt_non_lazy, 0, 0, 0 }, - { NULL, } + { NULL, NULL, NULL, plt_non_lazy, 0, 0, 0 } }; *ret = NULL; diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 6d699970c69..1fbba1b6e9c 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; |