From ad9563d653f3fbd7a8e55d542cc5297657a78714 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Wed, 27 Feb 2008 17:06:06 +0000 Subject: * 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. --- bfd/elf-bfd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bfd/elf-bfd.h') diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 444b9a7..164cbde 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) -- cgit v1.1