aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.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/elfxx-target.h
parent2faca73a4ef891db004ed3a263aaf6a4ef205308 (diff)
downloadgdb-ad9563d653f3fbd7a8e55d542cc5297657a78714.zip
gdb-ad9563d653f3fbd7a8e55d542cc5297657a78714.tar.gz
gdb-ad9563d653f3fbd7a8e55d542cc5297657a78714.tar.bz2
* 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/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index 2e6be6d..148f5cb 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -482,6 +482,9 @@
#ifndef elf_backend_merge_symbol_attribute
#define elf_backend_merge_symbol_attribute NULL
#endif
+#ifndef elf_backend_get_target_dtag
+#define elf_backend_get_target_dtag NULL
+#endif
#ifndef elf_backend_ignore_undef_symbol
#define elf_backend_ignore_undef_symbol NULL
#endif
@@ -672,6 +675,7 @@ static struct elf_backend_data elfNN_bed =
elf_backend_hide_symbol,
elf_backend_fixup_symbol,
elf_backend_merge_symbol_attribute,
+ elf_backend_get_target_dtag,
elf_backend_ignore_undef_symbol,
elf_backend_emit_relocs,
elf_backend_count_relocs,