aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-target.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-06-10 00:05:51 +0000
committerJeff Law <law@redhat.com>1995-06-10 00:05:51 +0000
commit6167a840e59a21b814d8f14a2c2aebcb5fe52cda (patch)
tree0d5a42b851a04d789220e1ef4d55a5754cbff297 /bfd/elf64-target.h
parente431d135cfc579960b914df3d85aa68be936c44a (diff)
downloadgdb-6167a840e59a21b814d8f14a2c2aebcb5fe52cda.zip
gdb-6167a840e59a21b814d8f14a2c2aebcb5fe52cda.tar.gz
gdb-6167a840e59a21b814d8f14a2c2aebcb5fe52cda.tar.bz2
* targets.c: Add copy_private_symbol_data and link_split_section
to the target vector. * libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define. (_bfd_nolink_bfd_link_split_section): Likewise. (bfd_generic_link_split_section): Declare. * syms.c (bfd_copy_private_symbol_data): Define. * linker.c (bf_link_split_section): Likewise. * som.c (som_bfd_copy_private_symbol_data): New function (som_bfd_link_split_section): Likewise. * All other targets updated with default versions of new routines. * Take out my braindamaged bfd_true/bfd_false changes from earlier today. Replace with just: * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if compiling with g++-2.6 or later. * bfd-in2.h: Rebuilt.
Diffstat (limited to 'bfd/elf64-target.h')
-rw-r--r--bfd/elf64-target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf64-target.h b/bfd/elf64-target.h
index b5fbce0..e7177f2 100644
--- a/bfd/elf64-target.h
+++ b/bfd/elf64-target.h
@@ -40,6 +40,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define bfd_elf64_bfd_make_debug_symbol \
((asymbol *(*) PARAMS ((bfd *, void *, unsigned long))) bfd_nullvoidptr)
+#ifndef bfd_elf64_bfd_copy_private_symbol_data
+#define bfd_elf64_bfd_copy_private_symbol_data \
+ ((boolean (*) PARAMS ((bfd *, asymbol *, bfd *, asymbol *))) bfd_true)
+#endif
#ifndef bfd_elf64_bfd_copy_private_section_data
#define bfd_elf64_bfd_copy_private_section_data \
((boolean (*) PARAMS ((bfd *, asection *, bfd *, asection *))) bfd_true)
@@ -86,6 +90,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define bfd_elf64_bfd_final_link _bfd_generic_final_link
#endif
#endif /* ! defined (elf_backend_relocate_section) */
+#ifndef bfd_elf64_bfd_link_split_section
+#define bfd_elf64_bfd_link_split_section _bfd_generic_link_split_section
+#endif
#ifndef elf_info_to_howto_rel
#define elf_info_to_howto_rel 0