aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-06-25 00:43:15 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-06-25 00:43:15 +0000
commit332ce62bf3d6930f9cee56d151c7e365c13af59e (patch)
tree9734ca654a9f142140498a24838ced26fec9316d /bfd
parent487b39dfdd6cdfcac1124f2bcacd70a2da92f242 (diff)
downloadgdb-332ce62bf3d6930f9cee56d151c7e365c13af59e.zip
gdb-332ce62bf3d6930f9cee56d151c7e365c13af59e.tar.gz
gdb-332ce62bf3d6930f9cee56d151c7e365c13af59e.tar.bz2
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-i386.c1
-rw-r--r--bfd/elf64-x86-64.c1
3 files changed, 8 insertions, 0 deletions
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 <jan.kratochvil@redhat.com>
+
+ * 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 <rth@redhat.com>
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;