diff options
-rw-r--r-- | bfd/libelf.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h index d43f135..eeac23b 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -383,9 +383,10 @@ struct elf_backend_data PARAMS ((bfd *, struct bfd_link_info *)); /* A function to do any final processing needed for the ELF file - before writing it out. */ + before writing it out. The LINKER argument is true if this BFD + was created by the ELF backend linker. */ void (*elf_backend_final_write_processing) - PARAMS ((bfd *, struct bfd_link_info *)); + PARAMS ((bfd *, boolean linker)); /* The swapping table to use when dealing with ECOFF information. Used for the MIPS ELF .mdebug section. */ @@ -461,6 +462,10 @@ struct elf_obj_tdata bfd_vma gp; /* The gp value (MIPS only, for now) */ int gp_size; /* The gp size (MIPS only, for now) */ + /* This is set to true if the object was created by the backend + linker. */ + boolean linker; + /* A mapping from external symbols to entries in the linker hash table, used when linking. This is indexed by the symbol index minus the sh_info field of the symbol table header. */ |