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 | e6c51ed4dfc35cad59f92b1e364511385858401a (patch) | |
tree | 3240776f91249a08e427368fddd74ebe0f11e004 /bfd/elf-bfd.h | |
parent | 229cf42b3388829e250cfab927fbb116e6d946ae (diff) | |
download | gdb-e6c51ed4dfc35cad59f92b1e364511385858401a.zip gdb-e6c51ed4dfc35cad59f92b1e364511385858401a.tar.gz gdb-e6c51ed4dfc35cad59f92b1e364511385858401a.tar.bz2 |
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 82ffe2a..218780d 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; |