Reset AIX vector function overrides for HP-UX.
authorNick Clifton <nickc@redhat.com>
Fri, 25 Jan 2002 16:41:37 +0000 (16:41 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 25 Jan 2002 16:41:37 +0000 (16:41 +0000)
bfd/ChangeLog
bfd/elfxx-ia64.c

index 04bcd07bac3ab8cdd76ca9ab5897aed0ccad77ee..01a2d101aa15e6c9515be516f5d28f385e462303 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-22  Steve Ellcey <sje@cup.hp.com>
+
+       * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX.
+
 2002-01-25  Philipp Thomas  <pthomas@suse.de>
 
        * coffgen.c (coff_print_symbol): Don't mark info message
index 6baf77866d9e73a3a222ee4fe05f057373ccadfe..7c4e1394ec3858f4da877cc9d5bc34d2dde25277 100644 (file)
@@ -4600,6 +4600,16 @@ elfNN_hpux_backend_section_from_bfd_section (abfd, sec, retval)
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME                 "elfNN-ia64-hpux-big"
 
+/* We need to undo the AIX specific functions.  */
+
+#undef  elf_backend_add_symbol_hook
+#define elf_backend_add_symbol_hook    elfNN_ia64_add_symbol_hook
+
+#undef  bfd_elfNN_bfd_link_add_symbols
+#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols
+
+/* These are HP-UX specific functions.  */
+
 #undef  elf_backend_post_process_headers
 #define elf_backend_post_process_headers elfNN_hpux_post_process_headers