aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1998-08-31 15:50:04 +0000
committerCatherine Moore <clm@redhat.com>1998-08-31 15:50:04 +0000
commitbb3b4377a4cd0eee77ccfce64218ef8e3a34492e (patch)
tree3d3777b9caad0bfdb95e0ba1e3cbf695365f97f5 /bfd/elf-bfd.h
parent4ff5d55a081fbb280b68d912bf3a4b5f26541b5c (diff)
downloadgdb-bb3b4377a4cd0eee77ccfce64218ef8e3a34492e.zip
gdb-bb3b4377a4cd0eee77ccfce64218ef8e3a34492e.tar.gz
gdb-bb3b4377a4cd0eee77ccfce64218ef8e3a34492e.tar.bz2
* Makefile.am: Add elf32-arm.c.
* Makefile.in: Rebuild. * elf-bfd.h: Add elf_backend_get_symbol_type. * elf.c (swap_out_syms): If defined, call elf_backend_get_symbol_type. * elf32-arm.c: Define elf_backend_get_symbol_type. (elf32_arm_get_symbol-type): New routine. (record_thumb_to_arm_glue): Change to use STT_ARM_TFUNC. (bfd_elf32_arm_process_before_allocation): Change to check for STT_ARM_TFUNC. (elf32_arm_final_link_relocate): Likewise. * elfxx-target.h: Add elf_backend_get_symbol_type.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 252f024..67a9875 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -313,6 +313,10 @@ struct elf_backend_data
elf_symbol_type *,
unsigned int));
+ /* A function to set the type of the info field. Processor-specific
+ types should be handled here. */
+ int (*elf_backend_get_symbol_type) PARAMS (( Elf_Internal_Sym *));
+
/* A function to do additional processing on the ELF section header
just before writing it out. This is used to set the flags and
type fields for some sections, or to actually write out data for