summaryrefslogtreecommitdiffstats
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2008-02-27 17:06:06 +0000
committerCatherine Moore <clm@redhat.com>2008-02-27 17:06:06 +0000
commitad9563d653f3fbd7a8e55d542cc5297657a78714 (patch)
tree1f1b63a6587a6481688e0977f4c357ec46f130db /bfd/elf-bfd.h
parent2faca73a4ef891db004ed3a263aaf6a4ef205308 (diff)
downloadppe42-binutils-ad9563d653f3fbd7a8e55d542cc5297657a78714.tar.gz
ppe42-binutils-ad9563d653f3fbd7a8e55d542cc5297657a78714.zip
* elf.c ( _bfd_elf_print_private_bfd_data): Call
elf_backend_get_target_dtag if defined. * elf32-mips.c (elf_backend_get_target_dtag): Define. * elf64-mips.c: Likewise. * elfn32-mips.c: Likewise. * elfxx-mips.c (_bfd_mips_elf_get_target_dtag): New. * elfxx-mips.h (_bfd_mips_elf_get_target_dtag): Declare. * elf-bfd.h (elf_backend_get_target_dtag): Add prototype. * elfxx-target.h (elf_backend_get_target_dtag): Add default. (elf_backend_data): Add elf_backend_get_target_dtag.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 444b9a775b..164cbde83e 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -993,6 +993,11 @@ struct elf_backend_data
(struct elf_link_hash_entry *, const Elf_Internal_Sym *, bfd_boolean,
bfd_boolean);
+ /* This function, if defined, will return a string containing the
+ name of a target-specific dynamic tag. */
+ char *(*elf_backend_get_target_dtag)
+ (bfd_vma);
+
/* Decide whether an undefined symbol is special and can be ignored.
This is the case for OPTIONAL symbols on IRIX. */
bfd_boolean (*elf_backend_ignore_undef_symbol)
OpenPOWER on IntegriCloud