aboutsummaryrefslogtreecommitdiff
path: root/bfd/libelf.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-08-25 01:15:07 +0000
committerKen Raeburn <raeburn@cygnus>1993-08-25 01:15:07 +0000
commite2a422b84ccaa359e7fcbe8142406f7eaf99e484 (patch)
tree236b444e439f689611e41b26e244e01007cdec4d /bfd/libelf.h
parent4346166b0776aaa239172faa744f4357be89f0f7 (diff)
downloadgdb-e2a422b84ccaa359e7fcbe8142406f7eaf99e484.zip
gdb-e2a422b84ccaa359e7fcbe8142406f7eaf99e484.tar.gz
gdb-e2a422b84ccaa359e7fcbe8142406f7eaf99e484.tar.bz2
Merged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELF
support. Compiles, not particularly well tested. See ChangeLog for details.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r--bfd/libelf.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h
index f5bc2c8..2dca4a4 100644
--- a/bfd/libelf.h
+++ b/bfd/libelf.h
@@ -95,7 +95,12 @@ struct elf_backend_data
the output BFD. If not, put a comment here explaining why. */
/* @@ Was pointer to elfNAME(symbol_type). This makes it size-
independent. */
- PTR global_sym;
+ void (*elf_backend_symbol_processing) PARAMS ((bfd *, asymbol *));
+ boolean (*elf_backend_symbol_table_processing) PARAMS ((bfd *, elf32_symbol_type *, int));
+ boolean (*elf_backend_section_processing) PARAMS ((bfd *, Elf32_Internal_Shdr *));
+ boolean (*elf_backend_section_from_shdr) PARAMS ((bfd *, Elf32_Internal_Shdr *, char *));
+ boolean (*elf_backend_fake_sections) PARAMS ((bfd *, Elf32_Internal_Shdr *, asection *));
+ boolean (*elf_backend_section_from_bfd_section) PARAMS ((bfd *, Elf32_Internal_Shdr *, asection *));
};
struct elf_sym_extra
@@ -193,6 +198,8 @@ extern bfd_reloc_status_type bfd_elf_generic_reloc PARAMS ((bfd *,
asection *,
bfd *));
extern boolean bfd_elf_mkobject PARAMS ((bfd *));
+extern Elf_Internal_Shdr *bfd_elf_find_section PARAMS ((bfd *, char *));
+
extern boolean bfd_elf32_write_object_contents PARAMS ((bfd *));
extern boolean bfd_elf64_write_object_contents PARAMS ((bfd *));