From 332ce62bf3d6930f9cee56d151c7e365c13af59e Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sat, 25 Jun 2011 00:43:15 +0000 Subject: [PATCH] bfd/ * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize PLT_EH_FRAME. * elf32-i386.c (elf_i386_link_hash_table): Likewise. --- bfd/ChangeLog | 6 ++++++ bfd/elf32-i386.c | 1 + bfd/elf64-x86-64.c | 1 + 3 files changed, 8 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c7a634f..b3ffc1b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2011-06-25 Jan Kratochvil + + * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize + PLT_EH_FRAME. + * elf32-i386.c (elf_i386_link_hash_table): Likewise. + 2011-06-24 Richard Henderson PR ld/12928 diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 581272f..f121c29 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -861,6 +861,7 @@ elf_i386_link_hash_table_create (bfd *abfd) ret->sdynbss = NULL; ret->srelbss = NULL; + ret->plt_eh_frame = NULL; ret->tls_ldm_got.refcount = 0; ret->next_tls_desc_index = 0; ret->sgotplt_jump_table_size = 0; diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 37349f9..9ae81bf 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -810,6 +810,7 @@ elf_x86_64_link_hash_table_create (bfd *abfd) ret->sdynbss = NULL; ret->srelbss = NULL; + ret->plt_eh_frame = NULL; ret->sym_cache.abfd = NULL; ret->tlsdesc_plt = 0; ret->tlsdesc_got = 0; -- 2.7.4