* libelf.h (struct elf_backend_data): Added fields
[deliverable/binutils-gdb.git] / bfd / libelf.h
index 4d58293c53275e93ab121b8f1b72743fff60cba7..04db170d415127a41b65cd712fae77b33ee1e7c4 100644 (file)
@@ -93,6 +93,13 @@ struct elf_backend_data
   void (*elf_info_to_howto_rel) PARAMS ((bfd *, arelent *,
                                         Elf_Internal_Rel *));
 
+  /* A function to determine whether a symbol is global when
+     partitioning the symbol table into local and global symbols.
+     This should be NULL for most targets, in which case the correct
+     thing will be done.  MIPS ELF, at least on the Irix 5, has
+     special requirements.  */
+  boolean (*elf_backend_sym_is_global) PARAMS ((bfd *, asymbol *));
+
   /* The remaining functions are hooks which are called only if they
      are not NULL.  */
 
@@ -141,6 +148,10 @@ struct elf_backend_data
   boolean (*elf_backend_section_from_bfd_section)
     PARAMS ((bfd *, Elf32_Internal_Shdr *, asection *, int *retval));
 
+  /* A function to do any final processing needed for the ELF file
+     before writing it out.  */
+  void (*elf_backend_final_write_processing) PARAMS ((bfd *));
+
   /* The swapping table to use when dealing with ECOFF information.
      Used for the MIPS ELF .mdebug section.  */
   const struct ecoff_debug_swap *elf_backend_ecoff_debug_swap;
This page took 0.023699 seconds and 4 git commands to generate.