aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index e69234d..a979ad3 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -156,9 +156,13 @@ struct elf_link_hash_entry
/* Same, but tracks a procedure linkage table entry. */
union gotplt_union plt;
- /* Symbol size. */
+ /* Symbol size. NB: All fields starting from here are cleared by
+ _bfd_elf_link_hash_newfunc. */
bfd_size_type size;
+ /* Track dynamic relocs copied for this symbol. */
+ struct elf_dyn_relocs *dyn_relocs;
+
/* Symbol type (STT_NOTYPE, STT_OBJECT, etc.). */
unsigned int type : 8;