Fix AArch64 in the same way as other targets updated in 8170f7693bc0a9442c0aa28019792...
[binutils-gdb.git] / bfd / elfxx-sparc.h
index a20855a990f4920fe269ba3b2c78f83b54496c5a..bf8709be63e8af340fbeaf3ef19797fd3c2815fc 100644 (file)
@@ -1,5 +1,5 @@
 /* SPARC ELF specific backend routines.
-   Copyright 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2005-2017 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -46,9 +46,8 @@ struct _bfd_sparc_elf_link_hash_table
 {
   struct elf_link_hash_table elf;
 
-  /* Short-cuts to get to dynamic linker sections.  */
-  asection *sdynbss;
-  asection *srelbss;
+  /* Short-cut to get to dynamic linker sections.  */
+  asection *interp;
 
   union
   {
@@ -59,6 +58,10 @@ struct _bfd_sparc_elf_link_hash_table
   /* Small local sym cache.  */
   struct sym_cache sym_cache;
 
+  /* Used by local STT_GNU_IFUNC symbols.  */
+  htab_t loc_hash_table;
+  void *loc_hash_memory;
+
   /* True if the target system is VxWorks.  */
   int is_vxworks;
 
@@ -136,7 +139,11 @@ extern bfd_boolean _bfd_sparc_elf_finish_dynamic_symbol
    Elf_Internal_Sym *sym);
 extern bfd_boolean _bfd_sparc_elf_finish_dynamic_sections
   (bfd *, struct bfd_link_info *);
+extern bfd_boolean _bfd_sparc_elf_fixup_symbol
+  (struct bfd_link_info *, struct elf_link_hash_entry *);
 extern bfd_boolean _bfd_sparc_elf_object_p
   (bfd *);
 extern bfd_vma _bfd_sparc_elf_plt_sym_val
   (bfd_vma, const asection *, const arelent *);
+extern bfd_boolean _bfd_sparc_elf_merge_private_bfd_data
+  (bfd *, struct bfd_link_info *);