* elfcode.h (elf_set_section_contents): Support calling the backend
[binutils-gdb.git] / bfd / libelf.h
index 9eb93ec0d9ab3ffad7b91be6aac4d8cbae517d3f..ce22cc12089861053c76f6af33e584a0ee29878b 100644 (file)
@@ -149,6 +149,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 beginning processing needed for the ELF file
+     before building the ELF headers and computing file positions.  */
+  void (*elf_backend_begin_write_processing) PARAMS ((bfd *));
+
   /* A function to do any final processing needed for the ELF file
      before writing it out.  */
   void (*elf_backend_final_write_processing) PARAMS ((bfd *));