diff options
author | Nick Clifton <nickc@redhat.com> | 1999-05-28 13:24:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-05-28 13:24:33 +0000 |
commit | 6b01a27c31968dc322fe418b57af4b5f220c349e (patch) | |
tree | b4509d626ba1ad8ec69af37ac384c834f752e31e /bfd/elf-bfd.h | |
parent | 33a254c38b02323b6482c96a8a5c8055803fa7cc (diff) | |
download | gdb-6b01a27c31968dc322fe418b57af4b5f220c349e.tar.gz |
Initialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Add ability for backends to process program and section headers after they
have been created.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 82ffe2add97..218780dae28 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -515,6 +515,12 @@ struct elf_backend_data PARAMS ((bfd *abfd, struct bfd_link_info *info, asection *o, const Elf_Internal_Rela *relocs)); + /* This function, if defined, is called after the ELF headers have + been created. This allows for things like the OS and ABI versions + to be changed. */ + void (*elf_backend_post_process_headers) + PARAMS ((bfd *, struct bfd_link_info *)); + /* 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; |