/* 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;
extern unsigned int _bfd_elf_symbol_section_index
(bfd *, elf_symbol_type *);
+extern asection *_bfd_elf_readonly_dynrelocs
+ (struct elf_link_hash_entry *);
+extern bfd_boolean _bfd_elf_maybe_set_textrel
+ (struct elf_link_hash_entry *, void *);
/* Large common section. */
extern asection _bfd_elf_large_com_section;