diff options
author | Nick Clifton <nickc@redhat.com> | 1999-11-26 09:52:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-11-26 09:52:23 +0000 |
commit | 20cfcaae7be9de914b81b35ff98317e33695a60c (patch) | |
tree | 92d51a0aa3cb0b70310d6b2edb148dcfb335c354 /bfd/elf-bfd.h | |
parent | ba3d4249ed4eeb5feb360e3c4f53f01f5381de29 (diff) | |
download | gdb-20cfcaae7be9de914b81b35ff98317e33695a60c.zip gdb-20cfcaae7be9de914b81b35ff98317e33695a60c.tar.gz gdb-20cfcaae7be9de914b81b35ff98317e33695a60c.tar.bz2 |
Add support for target specific processing of ELF segments
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 8256b2f..2be74c1 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -388,6 +388,12 @@ struct elf_backend_data Elf32_Internal_Shdr *, char *)); + /* A function to handle unusual program segment types when creating BFD + sections from ELF program segments. */ + boolean (*elf_backend_section_from_phdr) PARAMS ((bfd *, + Elf32_Internal_Phdr *, + int)); + /* A function to set up the ELF section header for a BFD section in preparation for writing it out. This is where the flags and type fields are set for unusual sections. */ @@ -945,6 +951,8 @@ extern boolean bfd_elf_mkcorefile PARAMS ((bfd *)); extern Elf_Internal_Shdr *bfd_elf_find_section PARAMS ((bfd *, char *)); extern boolean _bfd_elf_make_section_from_shdr PARAMS ((bfd *abfd, Elf_Internal_Shdr *hdr, const char *name)); +extern boolean _bfd_elf_make_section_from_phdr + PARAMS ((bfd *abfd, Elf_Internal_Phdr *hdr, int index, const char *typename)); extern struct bfd_hash_entry *_bfd_elf_link_hash_newfunc PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *)); extern struct bfd_link_hash_table *_bfd_elf_link_hash_table_create |