aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-02-24 15:47:25 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-02-24 15:47:25 +0000
commit508c39462ab96fb67c48d04807c999759f5011a0 (patch)
tree3324af9fed7a793e0506e235ba6b35428c20654f /bfd/elfxx-target.h
parent62b3e31101ef2dfb96ee4652d5145e722b335e31 (diff)
downloadgdb-508c39462ab96fb67c48d04807c999759f5011a0.zip
gdb-508c39462ab96fb67c48d04807c999759f5011a0.tar.gz
gdb-508c39462ab96fb67c48d04807c999759f5011a0.tar.bz2
2006-02-24 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2218 * elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol. (_bfd_elf_link_hash_fixup_symbol): New. * elflink.c (_bfd_elf_link_hash_fixup_symbol): New. (_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if it isn't NULL. * elfxx-ia64.c (elf_backend_fixup_symbol): Defined. * elfxx-target.h (elf_backend_fixup_symbol): New. (elfNN_bed): Initialize elf_backend_fixup_symbol.
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 7fa5c77..503726d 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -420,6 +420,9 @@
#ifndef elf_backend_hide_symbol
#define elf_backend_hide_symbol _bfd_elf_link_hash_hide_symbol
#endif
+#ifndef elf_backend_fixup_symbol
+#define elf_backend_fixup_symbol NULL
+#endif
#ifndef elf_backend_merge_symbol_attribute
#define elf_backend_merge_symbol_attribute NULL
#endif
@@ -598,6 +601,7 @@ static const struct elf_backend_data elfNN_bed =
elf_backend_output_arch_syms,
elf_backend_copy_indirect_symbol,
elf_backend_hide_symbol,
+ elf_backend_fixup_symbol,
elf_backend_merge_symbol_attribute,
elf_backend_ignore_undef_symbol,
elf_backend_emit_relocs,